bonobo-browser, part of gnome-base/libbonoboui-2.8.1 gives a segmentation fault, with a GLib-Critical warning on AMD64. On a setup with identical use flags etc, on X86, a dialog box appears with a list of components. (I only tried the command out of interest to see what it did!) Reproducible: Always Steps to Reproduce: 1.bonobo-browser 2. 3. Actual Results: rob@linux64 ~ $ bonobo-browser (bonobo-browser:24630): Bonobo-WARNING **: Unknown stock id 'gnome-stock-about' on /menu/Help/HelpAbout (bonobo-browser:24630): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed Segmentation fault Expected Results: Brought up the bonobo component browser in a window.
Created attachment 64889 [details] emerge.info (used for the whole system)
Created attachment 64890 [details] strace bonobo-browser Output from strace
http://forums.gentoo.org/viewtopic-p-2617594.html Shows that the problem is not unique. Rob.
get a backtrace with full debugging info please (http://www.gentoo.org/doc/en/bugzilla-howto.xml).
Created attachment 64896 [details] gdb output from bonobo-browser Followed the instructions as given, there is no difference between the output with USE="debug" and USE="debug" with -ggdb3 in the CFLAGS. Rob.
you should read it all, because the binaries are still stripped afaics. And you possible have to recompile some lower-level libs with debug output as well to get a more complete picture (glib/gtk+/etc.).
I did read it all, very carefully indeed... which is why I was surprised there was no difference between the two binaries... Now it is morning I will try again... and will include glib, both versions of gtk, and libbonoboui in my debug recompilation... Rob.
I will do the following. Is it sufficient to put all of the environment features ont he command line, or is it necessary to mess around with make.conf? Not a beginner and wanting to help, so if I have misunderstood something please let me know, but I did read it all! Rob. linux64 ~ # CFLAGS="-O2 -pipe -ggdb3" CXXFLAGS="-O2 -pipe -ggdb3" USE="debug" FEATURES="nostrip" emerge -vp glib gtk+ libbonobo libbonobo libglade libgnome libgnomecanvas gconf libxml2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/glib-2.6.3 +doc -hardened 0 kB [ebuild R ] x11-libs/gtk+-2.6.7 +doc +jpeg -static +tiff 0 kB [ebuild R ] gnome-base/libbonobo-2.8.1 +debug* +doc 0 kB [ebuild R ] gnome-base/libglade-2.5.0 +debug* +doc 0 kB [ebuild R ] gnome-base/libgnome-2.10.0 +debug* +doc 0 kB [ebuild R ] gnome-base/libgnomecanvas-2.10.0 +X +debug* +doc 0 kB [ebuild R ] gnome-base/gconf-2.10.0 +debug* +doc 0 kB [ebuild R ] dev-libs/libxml2-2.6.19 +ipv6 +python +readline 0 kB Total size of downloads: 0 kB linux64 ~ #
Correction to emerge line, to include libbonoboui linux64 ~ # CFLAGS="-O2 -pipe -ggdb3" CXXFLAGS="-O2 -pipe -ggdb3" USE="debug" FEATURES="nostrip" emerge -vp glib gtk+ libbonobo libbonoboui libglade libgnome libgnomecanvas gconf libxml2 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-libs/glib-2.6.3 +doc -hardened 0 kB [ebuild R ] x11-libs/gtk+-2.6.7 +doc +jpeg -static +tiff 0 kB [ebuild R ] gnome-base/libbonobo-2.8.1 +debug* +doc 0 kB [ebuild R ] gnome-base/libbonoboui-2.8.1 +debug* +doc 0 kB [ebuild R ] gnome-base/libglade-2.5.0 +debug* +doc 0 kB [ebuild R ] gnome-base/libgnome-2.10.0 +debug* +doc 0 kB [ebuild R ] gnome-base/libgnomecanvas-2.10.0 +X +debug* +doc 0 kB [ebuild R ] gnome-base/gconf-2.10.0 +debug* +doc 0 kB [ebuild R ] dev-libs/libxml2-2.6.19 +ipv6 +python +readline 0 kB Total size of downloads: 0 kB linux64 ~ #
Updated backtrace as requested following on from the above emerge command line. Hope this si more useful. Let me know if you require anything else. Rob. rob@linux64 ~ $ gdb --args /usr/bin/bonobo-browser GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/bonobo-browser (bonobo-browser:14287): Bonobo-WARNING **: Unknown stock id 'gnome-stock-about' on /menu/Help/HelpAbout (bonobo-browser:14287): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed Program received signal SIGSEGV, Segmentation fault. 0x000000349b068832 in free () from /lib/libc.so.6 (gdb) bt #0 0x000000349b068832 in free () from /lib/libc.so.6 #1 0x00000000004057ff in bonobo_browser_get_components_list (query=0x6d0de0 "
Updated backtrace as requested following on from the above emerge command line. Hope this si more useful. Let me know if you require anything else. Rob. rob@linux64 ~ $ gdb --args /usr/bin/bonobo-browser GNU gdb 6.3 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/bin/bonobo-browser (bonobo-browser:14287): Bonobo-WARNING **: Unknown stock id 'gnome-stock-about' on /menu/Help/HelpAbout (bonobo-browser:14287): GLib-CRITICAL **: g_strsplit: assertion `string != NULL' failed Program received signal SIGSEGV, Segmentation fault. 0x000000349b068832 in free () from /lib/libc.so.6 (gdb) bt #0 0x000000349b068832 in free () from /lib/libc.so.6 #1 0x00000000004057ff in bonobo_browser_get_components_list (query=0x6d0de0 "à\017m") at oaf-helper.c:287 #2 0x0000000000404a7d in component_list_show (comp_list=0x508cd0, query=0x406847 "_active || _active == FALSE") at component-list.c:507 #3 0x000000000040626c in bonobo_browser_create_window () at window.c:314 #4 0x0000000000403a47 in main (argc=1, argv=0x7fffff94fa58) at bonobo-browser.c:47 (gdb) quit The program is running. Exit anyway? (y or n) y rob@linux64 ~ $
i found an upstream bug with a working patch.. fixed in 2.10.1-r1 btw, this is not arch-specific, an easy workaround is: export LANG="C"
*** Bug 106666 has been marked as a duplicate of this bug. ***