Re: Requesting help with error in xml interface creation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,
        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.

Thank you for any help.

Sincerely
Pradeep



On 9/22/07, Donny Viszneki <donny.viszneki@xxxxxxxxx> wrote:
> More important than all the debugging information you've given us
> might simply be the version and build of the relevant libraries you're
> using. And the source code to reproduce the problem.
>
> On 9/21/07, Pradeep Chimakurthy <pchimakurthy@xxxxxxxxx> wrote:
> > Hi,
> >    I have been trying to run a simple example for libglade and it
> > fails to create the xml interface widget. I get a segmentation fault
> > in the gtk_widget_show function when it does
> >
> > g_return_if_fail (GTK_IS_WIDGET (widget));
> >
> > It goes through to the last child in the widget tree and then gives me
> > an error. I tried using the debug in glib but could not understand
> > what it meant. It fails only when i run a cross compiled version with
> > directfb backend. On the other hand if I run the example natively with
> > the x11 backend then it works. Please let me know as to how I can
> > further debug and identify the problem.
> >
> > Thank you
> > Pradeep
> >
> > ----------------------------------------------------------------------------------------------------------------------
> >  Exiting function gtk_dialog_build_children for GtkDialog
> > Checking for visible_id 519
> >  Returned from visible_id
> >  Going into gtk_widget_show
> > GLib-GObject-Message: GtkDialog::show(0) emitted (instance=0x42f000,
> > signal-node=0x427b58)
> > GLib-GObject-Message: GtkDialog::style-set(0) emitted
> > (instance=0x42f000, signal-node=0x4286d8)
> > GLib-GObject-Message: GtkVBox::notify(414) emitted (instance=0x437420,
> > signal-node=0x411f80)
> > GLib-GObject-Message: GtkHButtonBox::notify(504) emitted
> > (instance=0x439008, signal-node=0x411f80)
> > GLib-GObject-Message: GtkHButtonBox::notify(414) emitted
> > (instance=0x439008, signal-node=0x411f80)
> > GLib-GObject-Message: GtkDialog::notify(263) emitted
> > (instance=0x42f000, signal-node=0x411f80)
> > GLib-GObject-Message: GtkDialog::size-request(0) emitted
> > (instance=0x42f000, signal-node=0x4281f8)
> > GLib-GObject-Message: GtkVBox::style-set(0) emitted
> > (instance=0x437420, signal-node=0x4286d8)
> > GLib-GObject-Message: GtkVBox::notify(263) emitted (instance=0x437420,
> > signal-node=0x411f80)
> > GLib-GObject-Message: GtkVBox::size-request(0) emitted
> > (instance=0x437420, signal-node=0x4281f8)
> > GLib-GObject-Message: GtkHButtonBox::style-set(0) emitted
> > (instance=0x439008, signal-node=0x4286d8)
> > GLib-GObject-Message: GtkHButtonBox::notify(263) emitted
> > (instance=0x439008, signal-node=0x411f80)
> > GLib-GObject-Message: GtkHButtonBox::size-request(0) emitted
> > (instance=0x439008, signal-node=0x4281f8)
> > GLib-GObject-Message: GtkButton::style-set(0) emitted
> > (instance=0x43ec40, signal-node=0x4286d8)
> > GLib-GObject-Message: GtkButton::notify(263) emitted
> > (instance=0x43ec40, signal-node=0x411f80)
> > GLib-GObject-Message: GtkButton::size-request(0) emitted
> > (instance=0x43ec40, signal-node=0x4281f8)
> > GLib-GObject-Message: GtkAlignment::style-set(0) emitted
> > (instance=0x4124e0, signal-node=0x4286d8)
> > GLib-GObject-Message: GtkAlignment::notify(263) emitted
> > (instance=0x4124e0, signal-node=0x411f80)
> > GLib-GObject-Message: GtkAlignment::size-request(0) emitted
> > (instance=0x4124e0, signal-node=0x4281f8)
> > GLib-GObject-Message: GtkHBox::style-set(0) emitted
> > (instance=0x437470, signal-node=0x4286d8)
> > GLib-GObject-Message: GtkHBox::notify(263) emitted (instance=0x437470,
> > signal-node=0x411f80)
> > GLib-GObject-Message: GtkHBox::size-request(0) emitted
> > (instance=0x437470, signal-node=0x4281f8)
> > GLib-GObject-Message: GtkImage::style-set(0) emitted
> > (instance=0x412478, signal-node=0x4286d8)
> > GLib-GObject-Message: GtkImage::notify(263) emitted
> > (instance=0x412478, signal-node=0x411f80)
> > GLib-GObject-Message: GtkImage::size-request(0) emitted
> > (instance=0x412478, signal-node=0x4281f8)
> > (!) [  737:    0.000] --> Caught signal 11 (at 0x18ccf140, invalid address)
> > <--
> > -------------------------------------------------------------------------------------------------------------------
> > I also did an strace and ended up with
> >
> > --------------------------------------------------------------------------------------------------------------------
> > brk(0x465000)                           = 0x465000
> > open("/etc/gtk-2.0/gdk-pixbuf.loaders", O_RDONLY|O_LARGEFILE) = 10
> > fstat64(10, {st_mode=S_IFREG|0777, st_size=4096, ...}) = 0
> > read(10, "# GdkPixbuf Image Loader Modules"..., 1024) = 649
> > read(10, "", 1024)                      = 0
> > close(10)                               = 0
> > stat64("/.icons/hicolor", 0x3fffbf40)   = -1 ENOENT (No such file or
> > directory)
> > stat64("/usr/local/share/icons/hicolor/index.theme", 0x3fffbe80) = -1
> > ENOENT (No such file or directory)
> > stat64("/usr/share/icons/hicolor/index.theme", 0x3fffbe80) = -1 ENOENT
> > (No such file or directory)
> > stat64("/usr/local/share/pixmaps/hicolor/index.theme", 0x3fffbe80) =
> > -1 ENOENT (No such file or directory)
> > stat64("/usr/share/pixmaps/hicolor/index.theme", 0x3fffbe80) = -1
> > ENOENT (No such file or directory)
> > stat64("/usr/local/share/icons", 0x3fffc010) = -1 ENOENT (No such file
> > or directory)
> > stat64("/usr/share/icons", 0x3fffc010)  = -1 ENOENT (No such file or
> > directory)
> > stat64("/usr/local/share/pixmaps", 0x3fffc010) = -1 ENOENT (No such
> > file or directory)
> > stat64("/usr/share/pixmaps", 0x3fffc010) = -1 ENOENT (No such file or
> > directory)
> > gettimeofday({282, 663369}, NULL)       = 0
> > --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> > gettid()                                = 700
> > gettimeofday({282, 361407}, NULL)       = 0
> > write(2, "(!) [  700:    0.000] --> Caught"..., 42(!) [  700:
> > 0.000] --> Caught signal 11) = 42
> > write(2, " (at 0x18ccf190, invalid address"..., 38 (at 0x18ccf190,
> > invalid address) <--
> > ) = 38
> >
> > ------------------------------------------------------------------------------------------------------------------------
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list@xxxxxxxxx
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
>
>
> --
> http://www.socsurveys.org/
> http://blogger.socsurveys.org/
> http://del.icio.us/hdon
>
_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux