Bug 226712 - Amarok 2.2.2 crashes at track change
Summary: Amarok 2.2.2 crashes at track change
Status: RESOLVED DUPLICATE of bug 196320
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.2.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-13 19:51 UTC by Toby Meehan
Modified: 2010-02-13 20:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toby Meehan 2010-02-13 19:51:59 UTC
Application: amarok (2.2.2)
KDE Platform Version: 4.4.00 (KDE 4.4.0)
Qt Version: 4.6.1
Operating System: Linux 2.6.31-19-generic x86_64
Distribution: Ubuntu 9.10

-- Information about the crash:
Originally filed bug 223526.  Problem has surfaced again after the upgrade to Amarok 2.2.2 via the PPA package mentioned (although I'm now at KDE 4.4, not 4.3.4).  When playing an audio CD, every time it changes tracks, it plays about 1 second of the next track then halts.  No other applications are running.  When it reaches the end of the CD, I get the KDE Crash Handler.   I tried disabling the "fade out on stop" option with no effect.

I added the various debug packages to get a good backtrace report.  Then submitted as a likely duplicate to 198769, which then reported that this was a duplicate of 196320, so I read that bug report and it was Dragon player related.  It appears the commonality was that both used the Xine backend.


 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f5f39cbd810 (LWP 2924))]

Thread 16 (Thread 0x7f5f21814910 (LWP 2925)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f5f27b4bc91 in metronom_sync_loop (this=0x1235ac0) at metronom.c:870
#2  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f5f202cb910 (LWP 2926)):
[KCrash Handler]
#5  __pthread_mutex_lock (mutex=0x2c8) at pthread_mutex_lock.c:50
#6  0x00007f5f27b48921 in xine_close (stream=<value optimized out>) at xine.c:497
#7  0x00007f5f27db3597 in Phonon::Xine::XineStream::playbackFinished (this=0x123d650) at ../../xine/xinestream.cpp:786
#8  0x00007f5f27db4ed4 in Phonon::Xine::XineStream::event (this=0x123d650, ev=0x277c8d0) at ../../xine/xinestream.cpp:1050
#9  0x00007f5f37edefac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x00007f5f37ee559b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#11 0x00007f5f38f268ea in App::notify (this=0x2c8, receiver=0x7f5f37470390, event=0x7f5f202cba20) at /build/buildd/amarok-2.2.2/src/App.cpp:856
#12 0x00007f5f37564f3c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#13 0x00007f5f375676b7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#14 0x00007f5f3758e923 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007f5f3038dbce in g_main_dispatch (context=0x123c320) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#16 IA__g_main_context_dispatch (context=0x123c320) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#17 0x00007f5f30391598 in g_main_context_iterate (context=0x123c320, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#18 0x00007f5f303916c0 in IA__g_main_context_iteration (context=0x123c320, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#19 0x00007f5f3758e463 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007f5f37563862 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#21 0x00007f5f37563c3c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f5f3746dd29 in QThread::exec() () from /usr/lib/libQtCore.so.4
#23 0x00007f5f27da7570 in Phonon::Xine::XineThread::run (this=0x1180ed0) at ../../xine/xinethread.cpp:143
#24 0x00007f5f37470745 in ?? () from /usr/lib/libQtCore.so.4
#25 0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#26 0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#27 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 14 (Thread 0x7f5f1f8c0910 (LWP 2929)):
#0  0x00007f5f36c32abb in read () from /lib/libc.so.6
#1  0x00007f5f281d2ad5 in ?? () from /usr/lib/libasound.so.2
#2  0x00007f5f281cd818 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007f5f281d7589 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f5f1f8c6d04 in ao_alsa_handle_event_thread (data=<value optimized out>) at audio_alsa_out.c:175
#5  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 13 (Thread 0x7f5f1f0bf910 (LWP 2930)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f27b5c983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f5f1e4b3910 (LWP 2931)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f27b5c983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 11 (Thread 0x7f5f1dc1a910 (LWP 2932)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f27b5c983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f5f1d419910 (LWP 2933)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f27b5c983 in fifo_peek_int (this_gen=<value optimized out>) at audio_out.c:348
#2  fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f5f1758e910 (LWP 2935)):
#0  0xffffffffff60014a in ?? ()
#1  0x00007f5f1758dc30 in ?? ()
#2  0x00007fff971d1782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 0x7f5f0e152910 (LWP 2936)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f374716fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5f343d0096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f5f343d274b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f5f343d2764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f5f343d0bff in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f5f343d1058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f5f37470745 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f5f0d150910 (LWP 2939)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f374716fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5f343d0096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f5f343d274b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f5f343d0bff in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f5f343d1058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#6  0x00007f5f37470745 in ?? () from /usr/lib/libQtCore.so.4
#7  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f5f0c94f910 (LWP 2940)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f374716fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5f343d0096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f5f343d274b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f5f343d2764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f5f343d2764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f5f343d0bff in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f5f343d1058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007f5f37470745 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f5f0c14e910 (LWP 2941)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f374716fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5f343d0096 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f5f343d274b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f5f343d2764 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f5f343d2764 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f5f343d2764 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f5f343d0bff in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f5f343d1058 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007f5f37470745 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f5f08d0b910 (LWP 2953)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f33020396 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007f5f330203d9 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f5ef8782910 (LWP 2989)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f5f374716fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f5f383e3c1e in ?? () from /usr/lib/libQtGui.so.4
#3  0x00007f5f37470745 in ?? () from /usr/lib/libQtCore.so.4
#4  0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#5  0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f5ef7b98910 (LWP 2990)):
#0  0x00007f5f36c343c3 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f5f3039137c in g_main_context_poll (context=0x26579b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2904
#2  g_main_context_iterate (context=0x26579b0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2586
#3  0x00007f5f303916c0 in IA__g_main_context_iteration (context=0x26579b0, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#4  0x00007f5f3758e4b6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f5f37563862 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f5f37563c3c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#7  0x00007f5f3746dd29 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x00007f5f37544098 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f5f37470745 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f5f34d6aa04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f5f36c4080d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5f39cbd810 (LWP 2924)):
#0  0x00007f5f36c32abb in read () from /lib/libc.so.6
#1  0x00007f5f30390a43 in read (context=0x10bd920, max_priority=2147483647, fds=0x2010400, n_fds=6) at /usr/include/bits/unistd.h:45
#2  IA__g_main_context_check (context=0x10bd920, max_priority=2147483647, fds=0x2010400, n_fds=6) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2421
#3  0x00007f5f30391290 in g_main_context_iterate (context=0x10bd920, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>)
    at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2588
#4  0x00007f5f303916c0 in IA__g_main_context_iteration (context=0x10bd920, may_block=1) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2654
#5  0x00007f5f3758e463 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f5f37f8e7ee in ?? () from /usr/lib/libQtGui.so.4
#7  0x00007f5f37563862 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#8  0x00007f5f37563c3c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#9  0x00007f5f3756797b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#10 0x000000000040a254 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/amarok-2.2.2/src/main.cpp:235
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 198769.

Possible duplicates by query: bug 225819, bug 225612, bug 224931, bug 214867, bug 214762.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-02-13 20:57:31 UTC
No, bug 196320 is Phonon related, both Dragonplayer and Amarok use Phonon to play sound. This is exactly the same duplicate as before, sorry.

What puzzles me that from your description you were playing a CD, but the backtrace says you were actually playing a stream... If it were related to you changing tracks in a CD, the backtrace should look like the one in bug 207579

*** This bug has been marked as a duplicate of bug 196320 ***