Bug 454021
Summary: | xmms segfault when opening xosd config | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Stefan Jensen <sjensen> | ||||||
Component: | xosd | Assignee: | Kevin Fenzi <kevin> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | 8 | CC: | bugs.michael, kevin | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2008-11-24 18:37:23 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Stefan Jensen
2008-07-03 20:21:26 UTC
Created attachment 310959 [details]
Backtrace of xmms segfaulting
Cannot reproduce. Backtrace is not helpful as it lacks details and points into pulseaudio-libs instead of xmms/xmms-xosd. Please install the missing debuginfo packages. As root run: debuginfo-install pulseaudio-libs xmms-xosd xmms Then capture another backtrace. Find more about that at: http://fedoraproject.org/wiki/StackTraces ok, i installed the packages and run xmms with gdb. Please see the attached file with the output from gdb. best regards Created attachment 323851 [details]
gdb output running gdb xmms
That's a crash in gtk2 (libgdk_pixbuf-2.0.so.0) whereas xmms and xmms-xosd use gtk+ 1. Please show the output of ldd /usr/lib/xmms/General/libxmms_osd.so|grep pix and ls -la /usr/lib/libgdk_* Ok, here we go: $ ldd /usr/lib/xmms/General/libxmms_osd.so|grep pix libgdk_pixbuf.so.2 => /usr/lib/libgdk_pixbuf.so.2 (0x00119000) $ ls -la /usr/lib/libgdk_* lrwxrwxrwx 1 root root 29 17. Jun 18:47 /usr/lib/libgdk_pixbuf-2.0.so -> libgdk_pixbuf-2.0.so.0.1200.8 lrwxrwxrwx 1 root root 29 15. Apr 2008 /usr/lib/libgdk_pixbuf-2.0.so.0 -> libgdk_pixbuf-2.0.so.0.1200.8 -rwxr-xr-x 1 root root 117124 7. Apr 2008 /usr/lib/libgdk_pixbuf-2.0.so.0.1200.8 lrwxrwxrwx 1 root root 22 23. Nov 2007 /usr/lib/libgdk_pixbuf.so.2 -> libgdk_pixbuf.so.2.0.0 -rwxr-xr-x 1 root root 90868 22. Aug 2007 /usr/lib/libgdk_pixbuf.so.2.0.0 lrwxrwxrwx 1 root root 34 17. Jun 18:47 /usr/lib/libgdk_pixbuf_xlib-2.0.so -> libgdk_pixbuf_xlib-2.0.so.0.1200.8 lrwxrwxrwx 1 root root 34 15. Apr 2008 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0 -> libgdk_pixbuf_xlib-2.0.so.0.1200.8 -rwxr-xr-x 1 root root 65412 7. Apr 2008 /usr/lib/libgdk_pixbuf_xlib-2.0.so.0.1200.8 lrwxrwxrwx 1 root root 27 23. Nov 2007 /usr/lib/libgdk_pixbuf_xlib.so.2 -> libgdk_pixbuf_xlib.so.2.0.0 -rwxr-xr-x 1 root root 130552 22. Aug 2007 /usr/lib/libgdk_pixbuf_xlib.so.2.0.0 Reassigning to xosd, which is the right component for xmms-xosd. Kevin, seen this before? Quick summary. xmms-xosd backtrace from comment 4 crashes in gtk2's gdk_pixbuf instead of gtk+ 1's gdk-pixbuf lib that was built with. As if it were preloaded. 0x001cdde1 in gdk_pixbuf_new_from_file () from /usr/lib/libgdk_pixbuf-2.0.so.0 Very strange. No, I have not seen this... I don't have a f8 machine handy, but I guess I can install a virtual. Can you duplicate this? or is the reporter the only one seeing it? Stefan: do you have any LD_PRELOAD set? output of 'env | grep -i ld' ? Do you see the same thing if you make a new user and login and use it as that user? No, can't reproduce it -- only if I preload. ;-) Noticed the following in the attached memory map, though: 0027f000-0028d000 r-xp 00000000 fd:00 7798785 /usr/lib/gtk-2.0/modules/libgnomebreakpad.so [...] 002a2000-002f5000 r-xp 00000000 fd:00 14682600 /usr/lib/bug-buddy/libbreakpad.so.0.0.0 [...] 002f6000-00312000 r-xp 00000000 fd:00 13674951 /usr/lib/libgdk_pixbuf-2.0.so.0.1200.8 bug-buddy! And preloading bug-buddy's libgnomebreakpad is one way to crash xmms-xosd, of course. Just that bug-buddy here is not active and not loaded either when starting xmms: $ echo $GTK_MODULES gnomebreakpad $ xmms Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": libgnomebreakpad.so: cannot open shared object file: No such file or directory Something else may be necessary to preload it. (In reply to comment #8) > Stefan: do you have any LD_PRELOAD set? output of 'env | grep -i ld' ? No, none LD_PRELOAD Variables set. > Do you see the same thing if you make a new user and login and use it as that > user? Yes. > 0027f000-0028d000 r-xp 00000000 fd:00 7798785 > /usr/lib/gtk-2.0/modules/libgnomebreakpad.so Upps! This reminds me of a little change, that i've done long time ago. I added the following to "gtk-2.0.conf", because of various complains from applications about "libgnomegreakpad.so" not found. $ cat /etc/ld.so.conf.d/gtk-2.0.conf # /usr/lib/gtk-2.0/modules /usr/lib64/gtk-2.0/modules best regards Well, that's the way you break Gtk+ 1.x in libgdk_pixbuf.so.2 So, if you remove the ld.so.conf.d/gtk-2.0.conf file and restart, does everything work? Hi,... yes, i removed the lines, run "ldconfig" again and xmms/xosd works ok. But with this, the following error came back: Gtk-WARNING **: Failed to load module "libgnomebreakpad.so": libgnomebreakpad.so: cannot open shared object file: No such file or directory How can i avoid this? greetings Ignore it, or enhance the /usr/bin/xmms script to unset $GTK_MODULES I'm going to go ahead and close this now. If you spot anything further, please file a new bug. |