xmms2d crashes

Bug #212566 reported by Pico
14
Affects Status Importance Assigned to Milestone
xmms2 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: xmms2-core

xmms2d random crashes on Ubuntu hardy.
Version: 0.2DrJekyll-4ubuntu4

xmms2d crashes when the some of the following commands are issued from the xmms2 client:
jump command, to jump to a specific song
mlib searchadd command, to add songs from the media library.

I will attach a backtrace of the crash below.

Please let me know if any other information is required.
Thanks

Related branches

Revision history for this message
Pico (picog) wrote : backtrace

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb4b10b90 (LWP 6239)]
0xb7e43540 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
(gdb) where
#0 0xb7e43540 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#1 0x08069822 in xmms_ipc_broadcast_cb (object=0x80b1f30, arg=0xb4b0fd98, userdata=0xc) at ../src/xmms/ipc.c:696
#2 0x08058352 in xmms_object_emit (object=0x80b1f30, signalid=12, data=0xb4b0fd98) at ../src/xmms/object.c:179
#3 0x08058a2c in xmms_object_emit_f (object=0x80b1f30, signalid=12, type=XMMS_OBJECT_CMD_ARG_DICT) at ../src/xmms/object.c:424
#4 0x080631a8 in xmms_collection_changed_msg_send (colldag=0x80b1f30, dict=0x80ed400) at ../src/xmms/collection.c:168
#5 0x08062168 in xmms_playlist_changed_msg_send (playlist=0x80a98c0, dict=0x80ed428) at ../src/xmms/playlist.c:1634
#6 0x08060f12 in xmms_playlist_add_entry_unlocked (playlist=0x80a98c0, plname=0x80ec3e0 "_active", plcoll=0x80b41a8, file=929, err=0xb4b100a8)
    at ../src/xmms/playlist.c:1089
#7 0x08060e3e in xmms_playlist_add_entry (playlist=0x80a98c0, plname=0x80ec3e0 "_active", file=929, err=0xb4b100a8) at ../src/xmms/playlist.c:1064
#8 0x08060d8e in xmms_playlist_add_collection (playlist=0x80a98c0, plname=0x80ec3e0 "_active", coll=0x80ea848, order=0x0, err=0xb4b100a8)
    at ../src/xmms/playlist.c:1038
#9 0x0805dfc9 in __int_xmms_cmd_add_coll (object=0x80a98c0, arg=0xb4b10074) at ../src/xmms/playlist.c:80
#10 0x08058b33 in xmms_object_cmd_call (object=0x80a98c0, cmdid=11, arg=0xb4b10074) at ../src/xmms/object.c:468
#11 0x080687e2 in process_msg (client=0x80eb4f8, ipc=0x80a8890, msg=0x80eb698) at ../src/xmms/ipc.c:324
#12 0x08068b12 in xmms_ipc_client_read_cb (iochan=0x80eb488, cond=G_IO_IN, data=0x80eb4f8) at ../src/xmms/ipc.c:379
#13 0xb7f3bbcd in ?? () from /usr/lib/libglib-2.0.so.0
#14 0x080eb488 in ?? ()
#15 0x00000001 in ?? ()
#16 0x080eb4f8 in ?? ()
#17 0xb7f7e688 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0xb4b1024c in ?? ()
#19 0x080eb650 in ?? ()
#20 0xb4b10268 in ?? ()
#21 0xb7f07bd8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
Backtrace stopped: frame did not save the PC

Revision history for this message
mehturt (mehturt) wrote :

I see this as well, backtrace:
#0 0x00007f8173344423 in pthread_mutex_lock () from /lib/libpthread.so.0
#1 0x0000000000422379 in ?? ()
#2 0x00000000004128eb in xmms_object_emit ()
#3 0x000000000041320f in xmms_object_emit_f ()
#4 0x000000000041c5ba in xmms_collection_changed_msg_send ()
#5 0x000000000041b80d in xmms_playlist_changed_msg_send ()
#6 0x000000000041a761 in xmms_playlist_add_entry_unlocked ()
#7 0x000000000041a6b0 in xmms_playlist_add_entry ()
#8 0x0000000000446d53 in ?? ()
#9 0x0000000000447238 in xmms_medialib_add_recursive ()
#10 0x000000000041a539 in ?? ()
#11 0x00000000004189b7 in ?? ()
#12 0x000000000041330f in xmms_object_cmd_call ()
#13 0x000000000042132a in ?? ()
#14 0x00000000004216a5 in ?? ()
#15 0x00007f817400f262 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#16 0x00007f8174012516 in ?? () from /usr/lib/libglib-2.0.so.0
#17 0x00007f81740127d7 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#18 0x00000000004218cf in ?? ()
#19 0x00007f8174035054 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007f81733423f7 in start_thread () from /lib/libpthread.so.0
#21 0x00007f81730b1b2d in clone () from /lib/libc.so.6
#22 0x0000000000000000 in ?? ()

Revision history for this message
Walter (wdoekes) wrote :

I can confirm this with similar backtraces
I got the crash on `xmms2 addpls`.

The patch provided at the following url fixes it:
http://bugs.xmms2.xmms.se/view.php?id=1839

/w

Revision history for this message
Benjamin Drung (bdrung) wrote :

Please try to reproduce this with the latest version of xmms2. If you use Hardy and do not want to compile the newest version, you can use the package from my PPA: https://launchpad.net/~bdrung/+archive

Revision history for this message
mehturt (mehturt) wrote :

Ben, with your packages xmms2d no longer crashes on my system.

Revision history for this message
Walter (wdoekes) wrote :

Indeed.. the patch I told that fixed it, hardly did. It made it usable at most. With your version, I haven't got it to crash yet. Thanks.

Revision history for this message
Pico (picog) wrote :

Ben, I can't get your package to crash either.
With the previous version it crashed almost every time.
Thanks!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xmms2 - 0.5DrLecter-2ubuntu1

---------------
xmms2 (0.5DrLecter-2ubuntu1) intrepid; urgency=low

  * Merge from debian unstable (LP: #241098), remaining changes:
    + debian/control:
      + Update Maintainer field
      + add lpia to xmms2-plugin-alsa supported architectures
      + Added liba52-0.7.4-dev to build depends
    + debian/rules: Added patch, patch-stamp and unpatch
    + changed 01_gcc4.3.patch:
      + src/include/xmmsclient/xmmsclient++/helpers.h: Added #include <climits>
  * New upstream relase fixes LP: #212566, #222341

xmms2 (0.5DrLecter-2) unstable; urgency=medium

  * Make wma playback work with the latest libavcodec.
    + Cherry-pick fae1d0: Move ALAC hack from avcodec to mp4 to make
      avcodec more general.
    + Cherry-pick be6f8e: Fix wma file playing with newer libavcodec.

xmms2 (0.5DrLecter-1) unstable; urgency=low

  * New upstream release.
    + Remove the xmms2-plugin-gnomevfs package. The plugin has been
      removed upstream.
    + Remove the xmms2-plugin-avformat package. xmms2-plugin-asf replaces
      it.
    + Add xmms2-plugin-karaoke.
    + Add xmms2-plugin-airplay.
    + Add xmms2-plugin-speex.
    + Add xmms2-plugin-gme.
    + Add xmms2-plugin-gvfs.
    + Rename library packages to reflect SONAME changes.
  * Bump Standards-Version to 3.8.0 (no changes required).
  * Update COPYING and debian/copyright.
    + Cherry-pick 615391: Add license for src/plugin/sid/md5.* to COPYING.
    + Cherry-pick 58a583: Mention the GPLed faad plugin in COPYING.

 -- Benjamin Drung <email address hidden> Fri, 04 Jul 2008 16:23:34 +0200

Changed in xmms2:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.