Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 101017
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: AMD64 Project <amd64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: rob shelton <rob.on.linux@ntlworld.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge.info emerge.info (used for the whole system) text/plain rob shelton 2005-08-01 12:20 0000 2.95 KB Details
bonobo.strace strace bonobo-browser text/plain rob shelton 2005-08-01 12:22 0000 277.84 KB Details
bonobo.gdb gdb output from bonobo-browser text/plain rob shelton 2005-08-01 14:10 0000 1.21 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 101017 depends on: Show dependency tree
Bug 101017 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-01 12:19 0000
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.

------- Comment #1 From rob shelton 2005-08-01 12:20:25 0000 -------
Created an attachment (id=64889) [details]
emerge.info (used for the whole system)

------- Comment #2 From rob shelton 2005-08-01 12:22:12 0000 -------
Created an attachment (id=64890) [details]
strace bonobo-browser

Output from strace

------- Comment #3 From rob shelton 2005-08-01 12:23:58 0000 -------
http://forums.gentoo.org/viewtopic-p-2617594.html

Shows that the problem is not unique.
Rob.

------- Comment #4 From foser (RETIRED) 2005-08-01 13:47:38 0000 -------
get a backtrace with full debugging info please
(http://www.gentoo.org/doc/en/bugzilla-howto.xml).

------- Comment #5 From rob shelton 2005-08-01 14:10:43 0000 -------
Created an attachment (id=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.

------- Comment #6 From foser (RETIRED) 2005-08-01 14:14:32 0000 -------
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.).

------- Comment #7 From rob shelton 2005-08-01 23:24:32 0000 -------
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.

------- Comment #8 From rob shelton 2005-08-01 23:29:55 0000 -------
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 ~ #

------- Comment #9 From rob shelton 2005-08-01 23:31:00 0000 -------
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 ~ #       

------- Comment #10 From rob shelton 2005-08-02 00:13:35 0000 -------
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
"

------- Comment #11 From rob shelton 2005-08-02 00:13:35 0000 -------
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 ~ $

------- Comment #12 From Simon Stelling (RETIRED) 2005-09-08 06:29:40 0000 -------
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"

------- Comment #13 From Leonardo Boshell (RETIRED) 2005-09-20 11:15:04 0000 -------
*** Bug 106666 has been marked as a duplicate of this bug. ***

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug