Bug 454021 - xmms segfault when opening xosd config
xmms segfault when opening xosd config
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: xosd (Show other bugs)
8
All Linux
low Severity low
: ---
: ---
Assigned To: Kevin Fenzi
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-03 16:21 EDT by Stefan Jensen
Modified: 2008-11-24 13:37 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-11-24 13:37:23 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Backtrace of xmms segfaulting (18.92 KB, text/plain)
2008-07-03 16:21 EDT, Stefan Jensen
no flags Details
gdb output running gdb xmms (5.56 KB, text/plain)
2008-11-18 01:27 EST, Stefan Jensen
no flags Details

  None (edit)
Description Stefan Jensen 2008-07-03 16:21:26 EDT
Description of problem:

xmms deqfaults, when i try to open the xosd plugin config dialog

Version-Release number of selected component (if applicable):

xmms-xosd-2.2.14-10.fc8
xmms-faad2-2.0-21.20050131.lvn8
xmms-crossfade-0.3.12-2
xmms-acme-0.4.3-8
xmms-1.2.10-36.fc7
bluecurve-xmms-skin-1.0.0-1.fc8
xmms-cdread-0.14-12.fc6
xmms-speex-0.9.1-11
xmms-libs-1.2.10-36.fc7
xmms-musepack-1.2-5.fc8
xmms-mp3-1.2.10-5.lvn6
xmms-flac-1.1.4-3.fc8
xmms-modplug-2.05-11.fc8


How reproducible:

Always

Steps to Reproduce:
1. start xmms
2. go to options/settings/plugins 
3. select "On Screen Display 2.2.14"
4. click "configure"
  
Actual results:

xmms segfault

Expected results:

opening configuration dialog for OSD

Additional info:

Please see attachment
Comment 1 Stefan Jensen 2008-07-03 16:21:26 EDT
Created attachment 310959 [details]
Backtrace of xmms segfaulting
Comment 2 Michael Schwendt 2008-11-16 07:31:42 EST
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
Comment 3 Stefan Jensen 2008-11-18 01:26:08 EST
ok, i installed the packages and run xmms with gdb. Please see the attached file with the output from gdb. 

best regards
Comment 4 Stefan Jensen 2008-11-18 01:27:28 EST
Created attachment 323851 [details]
gdb output running gdb xmms
Comment 5 Michael Schwendt 2008-11-18 04:45:14 EST
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_*
Comment 6 Stefan Jensen 2008-11-18 11:44:07 EST
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
Comment 7 Michael Schwendt 2008-11-18 13:01:47 EST
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
Comment 8 Kevin Fenzi 2008-11-19 13:13:27 EST
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?
Comment 9 Michael Schwendt 2008-11-19 15:12:44 EST
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.
Comment 10 Stefan Jensen 2008-11-20 09:30:53 EST
(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
Comment 11 Michael Schwendt 2008-11-20 12:16:30 EST
Well, that's the way you break Gtk+ 1.x in libgdk_pixbuf.so.2
Comment 12 Kevin Fenzi 2008-11-23 20:41:01 EST
So, if you remove the ld.so.conf.d/gtk-2.0.conf file and restart, does everything work?
Comment 13 Stefan Jensen 2008-11-24 07:01:16 EST
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
Comment 14 Michael Schwendt 2008-11-24 07:13:45 EST
Ignore it, or enhance the /usr/bin/xmms script to unset $GTK_MODULES
Comment 15 Kevin Fenzi 2008-11-24 13:37:23 EST
I'm going to go ahead and close this now. 
If you spot anything further, please file a new bug.

Note You need to log in before you can comment on or make changes to this bug.