Re: Requesting help with error in xml interface creation
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-list gnome org
- Subject: Re: Requesting help with error in xml interface creation
- Date: Sun, 23 Sep 2007 09:49:14 +0200
On Sat, Sep 22, 2007 at 11:43:00PM -0700, Pradeep Chimakurthy wrote:
> I rebuilt everything on a different machine and when i ran the
> debugger I could get a trace of the problem.
>
> Program received signal SIGSEGV, Segmentation fault.
> find_image_offset (cache=0x8ae1158, icon_name=0x5a8a3a "gtk-ok",
> directory=0x5a1dfd "16") at gtkiconcache.c:224
>
> #0 find_image_offset (cache=0x8ae1158, icon_name=0x5a8a3a "gtk-ok",
> directory=0x5a1dfd "16") at gtkiconcache.c:224
> #1 0x0044402a in _gtk_icon_cache_get_icon_flags (cache=0x8ae1158,
> icon_name=0x5a8a3a "gtk-ok", directory=0x5a1dfd "16") at gtkiconcache.c:269
> #2 0x0044ab66 in theme_dir_get_icon_suffix (dir=0x40199900,
> icon_name=0x5a8a3a "gtk-ok", has_icon_file=0x0) at gtkicontheme.c:1885
> #3 0x0044ac0a in theme_lookup_icon (theme=0x8ae7438,
> icon_name=0x5a8a3a "gtk-ok", size=20, allow_svg=0, use_builtin=4)
> at gtkicontheme.c:1948
> #4 0x00449f24 in gtk_icon_theme_lookup_icon (icon_theme=0x8ae7940,
> icon_name=0x5a8a3a "gtk-ok", size=20, flags=GTK_ICON_LOOKUP_USE_BUILTIN)
> at gtkicontheme.c:1289
> #5 0x0044a191 in gtk_icon_theme_load_icon (icon_theme=0x8aab8a0,
> icon_name=0x5a8a3a "gtk-ok", size=20, flags=GTK_ICON_LOOKUP_USE_BUILTIN,
> error=0xbfff5174) at gtkicontheme.c:1406
> #6 0x00446fb5 in render_icon_name_pixbuf (icon_source=0x8ae4c60,
> style=0x8ace450, direction=GTK_TEXT_DIR_LTR, state=GTK_STATE_NORMAL,
> size=GTK_ICON_SIZE_BUTTON, widget=0x8abc160, detail=0x0)
> at gtkiconfactory.c:1463
>
>
> I could not find any icons in any of the installed directories. Is
> there anything i have to do after running make install to seperately
> copy the icons as I am cross compiling ? Also do I have to copy
> anything into the pixmaps directory.
Normally, the build process generates gtkbuiltincache.h
containing all the built-in icons -- and this is compiled
directly into Gtk+. Hwoever, this is not possible when
cross-compiling (gtk-update-icon-cache cannot be run on the
build system), which I suspect is the source of your
problems. I don't how to fix it though, I don't cross-compile
Gtk+.
Yeti
--
http://gwyddion.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]