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