GNOME Bugzilla – Bug 169021
gnome-volume-control segmentation fault
Last modified: 2005-03-04 19:02:54 UTC
Steps to reproduce: I'm unable to launch gnome-volume-control 2.9.92 (same behaviour with 2.9.91 and 2.9.90 AFAIR). Running it from a terminal simply gives a segmentation fault (small backtrace attached but no symbols). Stack trace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1222739808 (LWP 9502)] 0xb7c65666 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) thread apply all bt
+ Trace 56356
Thread 1 (Thread -1222739808 (LWP 9502))
Other information: I'm running an uptodate Ubuntu Hoary on a x86 platform.
Can you get me a backtrace with debug symbols? If I know on which line number (and possibly in which statement) it crashes, it'll be a lot easier to fix...
I'll try to rebuild the Ubuntu package with the debugging symbols enabled but I'm not sure how to do this. I know it's possible with deb packages but can't remember how (if you have any hint).
I did a: DEB_BUILD_OPTIONS=nostrip fakeroot apt-get source --build gnome-media and here's the trace: joaquim@ubuntu:/usr/src$ gdb /usr/bin/gnome-volume-control GNU gdb 6.3-debian 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 "i386-linux"...Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) run Starting program: /usr/bin/gnome-volume-control [Thread debugging using libthread_db enabled] [New Thread -1222743904 (LWP 25101)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1222743904 (LWP 25101)] 0xb7c64666 in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0 (gdb) thread apply all bt
+ Trace 56384
Thread 1 (Thread -1222743904 (LWP 25101))
*** Bug 169106 has been marked as a duplicate of this bug. ***
Hi, this backtrace isn't good enough, it's still stripped for some reason. Try installing from source or so, or ask for help online on some IRC channel or so.
I really don't have any time for this right now. If anyone on the list has any idea how to get those debugging symbols show up with a debian packaging system, let me now. Otherwise that's pretty much all I can do right now. Sorry
Created attachment 38241 [details] [review] Partial solution This patch pretty much explains where the problem is and even makes g-v-c not crash. However, this is definitely not the solution - just a pointer to the problem.
Created attachment 38243 [details] [review] proposed patch This may be the actual fix...
Yes, this fixes the problem, thanks!
Thanks, applied (with permission from the release team).