Version: 2.3.2 (using KDE 4.5.2) OS: Linux Amarok frequently crashes on my computer, openSUSE 11.3 with KDE 4.5.2. When playing through a playlist, it crashes when starting the next song. At certain times, I've thought it was related to a particular album or song, while at other times I can't reproduce it at all. Some days it's worse than others, crashing on literally every other song, while on other days it will play for an hour without crashing. The auto-generated backtraces are ranked by the Dr.Konqi bug wizard as 1 star/not very useful. So I followed the debugging steps and ran it under gdb, with the --nofork --debug options. One factor I've found a bit bizarre is that Amarok is about ten times less likely to crash with gdb. (Could this be a packaging problem?) There are still some ?? symbols in this backtrace (related to "libavcodec" and some others), so I'm not sure it will be enough to solve the problem. Still, I hope someone will be able to instruct me on how to further debug this problem. Backtrace from gdb: [New Thread 0x967ffb70 (LWP 12130)] amarok: END__: void Playlist::PrettyListView::scrollToActiveTrack() - Took 0.0023s amarok: END__: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() - Took 0.0024s amarok: END__: virtual void Playlist::Actions::engineNewTrackPlaying() - Took 0.0034s Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x98147b70 (LWP 11113)] 0xaf86bbef in ?? () from /usr/lib/libavcodec.so.52 (gdb) thread apply all backtrace Thread 68 (Thread 0x967ffb70 (LWP 12130)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5ea3272 in __old__fxstat64 () from /lib/libc.so.6 #2 0xaffdd30c in file_plugin_get_length () from /usr/lib/xine/plugins/1.29/xineplug_inp_file.so #3 0xb00e9f04 in cache_plugin_get_length () from /usr/lib/libxine.so.1 #4 0xa31f3892 in asf_send_buffer_nodefrag () from /usr/lib/xine/plugins/1.29/xineplug_dmx_asf.so #5 0xa31f5d01 in asf_parse_packet_payload () from /usr/lib/xine/plugins/1.29/xineplug_dmx_asf.so #6 0xa31f7f04 in demux_asf_send_chunk () from /usr/lib/xine/plugins/1.29/xineplug_dmx_asf.so #7 0xb00e0299 in demux_loop () from /usr/lib/libxine.so.1 #8 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #9 0xb5eb546e in clone () from /lib/libc.so.6 Thread 35 (Thread 0x957fdb70 (LWP 11145)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb60bf710 in wait (this=0x8d10f38, mutex=0x8d1af60, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0x8d10f38, mutex=0x8d1af60, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0xb560a24a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8d10f20, th=0x9359928) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365 #6 0xb560d307 in waitForAvailableJob (this=0x8d1b040, th=0x9359928) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:356 #7 ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x9359928) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x9359928, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x9359928) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #10 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x9359928, previous=0x98a87e8) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #11 0xb560a744 in ThreadWeaver::ThreadRunHelper::run (this=0x957fd314, parent=0x8d10f20, th=0x9359928) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87 ---Type <return> to continue, or q <return> to quit--- #12 0xb560a7fa in ThreadWeaver::Thread::run (this=0x9359928) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142 #13 0xb60bf04f in QThreadPrivate::start (arg=0x9359928) at thread/qthread_unix.cpp:248 #14 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #15 0xb5eb546e in clone () from /lib/libc.so.6 Thread 34 (Thread 0x93ae7b70 (LWP 11140)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb60bf710 in wait (this=0x8d10f38, mutex=0x8d1af60, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0x8d10f38, mutex=0x8d1af60, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0xb560a24a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8d10f20, th=0x8c04940) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365 #6 0xb560d307 in waitForAvailableJob (this=0x8d1b040, th=0x8c04940) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:356 #7 ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8c04940) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8c04940, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8c04940) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #10 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8c04940, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #11 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8c04940) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #12 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8c04940, previous=0x94d4010) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #13 0xb560a744 in ThreadWeaver::ThreadRunHelper::run (this=0x93ae7314, parent=0x8d10f20, th=0x8c04940) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87 #14 0xb560a7fa in ThreadWeaver::Thread::run (this=0x8c04940) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142 #15 0xb60bf04f in QThreadPrivate::start (arg=0x8c04940) at thread/qthread_unix.cpp:248 #16 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #17 0xb5eb546e in clone () from /lib/libc.so.6 Thread 28 (Thread 0x97946b70 (LWP 11114)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb00db27c in listener_loop () from /usr/lib/libxine.so.1 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 27 (Thread 0x98147b70 (LWP 11113)): #0 0xaf86bbef in ?? () from /usr/lib/libavcodec.so.52 #1 0xaf8376d4 in ?? () from /usr/lib/libavcodec.so.52 #2 0xaf838ea9 in ?? () from /usr/lib/libavcodec.so.52 #3 0xaf7d96c1 in avcodec_decode_audio2 () from /usr/lib/libavcodec.so.52 #4 0xaff4e002 in ff_audio_decode_data () from /usr/lib/xine/plugins/1.29/xineplug_decode_ff.so #5 0xb00d132d in audio_decoder_loop () from /usr/lib/libxine.so.1 #6 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #7 0xb5eb546e in clone () from /lib/libc.so.6 Thread 26 (Thread 0x98b15b70 (LWP 11112)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb00c93a4 in fifo_buffer_get () from /usr/lib/libxine.so.1 #4 0xb00cfa25 in video_decoder_loop () from /usr/lib/libxine.so.1 #5 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #6 0xb5eb546e in clone () from /lib/libc.so.6 Thread 25 (Thread 0x996ffb70 (LWP 11111)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec32a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb00d3c41 in video_out_loop () from /usr/lib/libxine.so.1 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 24 (Thread 0x9ab1ab70 (LWP 11090)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb39be1f7 in ?? () from /usr/lib/libQtWebKit.so.4 #4 0xb39be23f in ?? () from /usr/lib/libQtWebKit.so.4 #5 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #6 0xb5eb546e in clone () from /lib/libc.so.6 Thread 23 (Thread 0x9b336b70 (LWP 11089)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb60bf710 in wait (this=0x8d10f38, mutex=0x8d1af60, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0x8d10f38, mutex=0x8d1af60, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0xb560a24a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8d10f20, th=0x905e648) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365 #6 0xb560d307 in waitForAvailableJob (this=0x8d1b040, th=0x905e648) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:356 #7 ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x905e648) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x905e648, previous=0x9934758) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0xb560a744 in ThreadWeaver::ThreadRunHelper::run (this=0x9b336314, parent=0x8d10f20, th=0x905e648) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87 #10 0xb560a7fa in ThreadWeaver::Thread::run (this=0x905e648) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142 #11 0xb60bf04f in QThreadPrivate::start (arg=0x905e648) at thread/qthread_unix.cpp:248 #12 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #13 0xb5eb546e in clone () from /lib/libc.so.6 Thread 22 (Thread 0xa30beb70 (LWP 11084)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb5471fa7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb55591a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304 #4 0xb5471fef in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb55591a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438 #5 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #6 0xb5eb546e in clone () from /lib/libc.so.6 Thread 21 (Thread 0xa3a84b70 (LWP 11082)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eae0b1 in select () from /lib/libc.so.6 #2 0xb6198538 in QProcessManager::run (this=0xb62d6888) at io/qprocess_unix.cpp:245 #3 0xb60bf04f in QThreadPrivate::start (arg=0xb62d6888) at thread/qthread_unix.cpp:248 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 20 (Thread 0xa4285b70 (LWP 11081)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb60bf710 in wait (this=0x8d10f38, mutex=0x8d1af60, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 QWaitCondition::wait (this=0x8d10f38, mutex=0x8d1af60, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #5 0xb560a24a in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x8d10f20, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:365 #6 0xb560d307 in waitForAvailableJob (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:356 #7 ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #10 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #11 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #12 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #13 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #14 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #15 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #16 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #17 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #18 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #19 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #20 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #21 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #22 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #23 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #24 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #25 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #26 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #27 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #28 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #29 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #30 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x0) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #31 0xb560d323 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8d1b040, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WorkingHardState.cpp:74 #32 0xb5609b43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x8d10f20, th=0x8d11060, previous=0x8fad8a8) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/WeaverImpl.cpp:351 #33 0xb560a744 in ThreadWeaver::ThreadRunHelper::run (this=0xa4285314, parent=0x8d10f20, th=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:87 #34 0xb560a7fa in ThreadWeaver::Thread::run (this=0x8d11060) at /usr/src/debug/kdelibs-4.5.2/threadweaver/Weaver/Thread.cpp:142 #35 0xb60bf04f in QThreadPrivate::start (arg=0x8d11060) at thread/qthread_unix.cpp:248 #36 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #37 0xb5eb546e in clone () from /lib/libc.so.6 Thread 19 (Thread 0xa56d4b70 (LWP 11080)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xab4498b6 in os_event_wait_low () from /usr/lib/libmysqld.so.0 #4 0xab485493 in srv_master_thread () from /usr/lib/libmysqld.so.0 #5 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #6 0xb5eb546e in clone () from /lib/libc.so.6 Thread 18 (Thread 0xa5ed5b70 (LWP 11079)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eae0b1 in select () from /lib/libc.so.6 #2 0xab44a20b in os_thread_sleep () from /usr/lib/libmysqld.so.0 #3 0xab484640 in srv_monitor_thread () from /usr/lib/libmysqld.so.0 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 17 (Thread 0xa66d6b70 (LWP 11078)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eae0b1 in select () from /lib/libc.so.6 #2 0xab44a20b in os_thread_sleep () from /usr/lib/libmysqld.so.0 #3 0xab484dee in srv_error_monitor_thread () from /usr/lib/libmysqld.so.0 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 16 (Thread 0xa6ed7b70 (LWP 11077)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eae0b1 in select () from /lib/libc.so.6 #2 0xab44a20b in os_thread_sleep () from /usr/lib/libmysqld.so.0 #3 0xab484abc in srv_lock_timeout_thread () from /usr/lib/libmysqld.so.0 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 14 (Thread 0xa8368b70 (LWP 11075)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xab4498b6 in os_event_wait_low () from /usr/lib/libmysqld.so.0 #4 0xab44835b in os_aio_simulated_handle () from /usr/lib/libmysqld.so.0 #5 0xab4046d0 in fil_aio_wait () from /usr/lib/libmysqld.so.0 #6 0xab485f80 in ?? () from /usr/lib/libmysqld.so.0 #7 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #8 0xb5eb546e in clone () from /lib/libc.so.6 Thread 13 (Thread 0xa8b69b70 (LWP 11074)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xab4498b6 in os_event_wait_low () from /usr/lib/libmysqld.so.0 #4 0xab44835b in os_aio_simulated_handle () from /usr/lib/libmysqld.so.0 #5 0xab4046d0 in fil_aio_wait () from /usr/lib/libmysqld.so.0 #6 0xab485f80 in ?? () from /usr/lib/libmysqld.so.0 #7 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #8 0xb5eb546e in clone () from /lib/libc.so.6 Thread 12 (Thread 0xa936ab70 (LWP 11073)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xab4498b6 in os_event_wait_low () from /usr/lib/libmysqld.so.0 #4 0xab44835b in os_aio_simulated_handle () from /usr/lib/libmysqld.so.0 #5 0xab4046d0 in fil_aio_wait () from /usr/lib/libmysqld.so.0 #6 0xab485f80 in ?? () from /usr/lib/libmysqld.so.0 #7 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #8 0xb5eb546e in clone () from /lib/libc.so.6 Thread 11 (Thread 0xaae7cb70 (LWP 11072)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xab4498b6 in os_event_wait_low () from /usr/lib/libmysqld.so.0 #4 0xab44835b in os_aio_simulated_handle () from /usr/lib/libmysqld.so.0 #5 0xab4046d0 in fil_aio_wait () from /usr/lib/libmysqld.so.0 #6 0xab485f80 in ?? () from /usr/lib/libmysqld.so.0 #7 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #8 0xb5eb546e in clone () from /lib/libc.so.6 Thread 9 (Thread 0xac1ffb70 (LWP 11070)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb00d8180 in ao_loop () from /usr/lib/libxine.so.1 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 8 (Thread 0xacd42b70 (LWP 11069)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec324c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb00d8180 in ao_loop () from /usr/lib/libxine.so.1 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 7 (Thread 0xad55ab70 (LWP 11068)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eaa75e in poll () from /lib/libc.so.6 #2 0xb03f8c65 in ?? () from /usr/lib/libasound.so.2 #3 0xb03f8e2c in snd_pcm_wait () from /usr/lib/libasound.so.2 #4 0xadd61a71 in ao_alsa_write () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so #5 0xb00d879e in ao_loop () from /usr/lib/libxine.so.1 #6 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #7 0xb5eb546e in clone () from /lib/libc.so.6 Thread 6 (Thread 0xadd5bb70 (LWP 11067)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eaa75e in poll () from /lib/libc.so.6 #2 0xadd6004c in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so #3 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #4 0xb5eb546e in clone () from /lib/libc.so.6 Thread 3 (Thread 0xae566b70 (LWP 11063)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eaa75e in poll () from /lib/libc.so.6 #2 0xb4b301db in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb4b20286 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb4b2060e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb61e4d4b in QEventDispatcherGlib::processEvents (this=0x8223348, flags=...) at kernel/qeventdispatcher_glib.cpp:412 Thread 6 (Thread 0xadd5bb70 (LWP 11067)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eaa75e in poll () from /lib/libc.so.6 #2 0xadd6004c in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so #3 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #4 0xb5eb546e in clone () from /lib/libc.so.6 Thread 3 (Thread 0xae566b70 (LWP 11063)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5eaa75e in poll () from /lib/libc.so.6 #2 0xb4b301db in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb4b20286 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb4b2060e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb61e4d4b in QEventDispatcherGlib::processEvents (this=0x8223348, flags=...) at kernel/qeventdispatcher_glib.cpp:412 ---Type <return> to continue, or q <return> to quit--- #6 0xb61b811d in QEventLoop::processEvents (this=0xae5662c0, flags=...) at kernel/qeventloop.cpp:149 #7 0xb61b8319 in QEventLoop::exec (this=0xae5662c0, flags=...) at kernel/qeventloop.cpp:201 #8 0xb60bc403 in QThread::exec (this=0x8221bc0) at thread/qthread.cpp:487 #9 0xb011edc8 in Phonon::Xine::XineThread::run (this=0x8221bc0) at /usr/src/debug/phonon-4.4.2/xine/xinethread.cpp:143 #10 0xb60bf04f in QThreadPrivate::start (arg=0x8221bc0) at thread/qthread_unix.cpp:248 #11 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #12 0xb5eb546e in clone () from /lib/libc.so.6 Thread 2 (Thread 0xaed67b70 (LWP 11062)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5b12452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xb5ec32a4 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6 #3 0xb00c51d7 in metronom_sync_loop () from /usr/lib/libxine.so.1 #4 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #5 0xb5eb546e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb28db710 (LWP 11060)): #0 ~QByteArray (this=0xbfffd8d0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qbytearray.h:382 #1 ~QDebug (this=0xbfffd8d0, __in_chrg=<value optimized out>) at /usr/include/QtCore/qdebug.h:85 #2 Debug::Block::~Block (this=0xbfffd8d0, __in_chrg=<value optimized out>) at /usr/src/debug/amarok-2.3.2/src/core/support/Debug.h:254 #3 0xb71afc2c in Playlist::Actions::engineNewTrackPlaying (this=0x8ae6e78) at /usr/src/debug/amarok-2.3.2/src/playlist/PlaylistActions.cpp:424 #4 0xb50b6beb in Engine::EngineSubject::newTrackPlaying (this=0x81c4cc0) at /usr/src/debug/amarok-2.3.2/src/core/engine/EngineObserver.cpp:196 #5 0xb77de564 in EngineController::slotNewTrackPlaying (this=0x81c4cc0, source=...) at /usr/src/debug/amarok-2.3.2/src/EngineController.cpp:1100 #6 0xb77ea448 in EngineController::qt_metacall (this=0x81c4cc0, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0xbfffdb28) at /usr/src/debug/amarok-2.3.2/build/src/EngineController.moc:158 #7 0xb61beefd in QMetaObject::metacall (object=0x81c4cc0, cl=QMetaObject::InvokeMetaMethod, idx=30, argv=0xbfffdb28) at kernel/qmetaobject.cpp:237 #8 0xb61cdfe8 in QMetaObject::activate (sender=0x81c5238, m=0xb59d7da8, local_signal_index=7, argv=0xbfffdb28) at kernel/qobject.cpp:3295 #9 0xb599cf25 in Phonon::MediaObject::currentSourceChanged(Phonon::MediaSource const&) () from /usr/lib/libphonon.so.4 #10 0xb599d4ea in ?? () from /usr/lib/libphonon.so.4 #11 0xb599d9db in Phonon::MediaObject::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libphonon.so.4 #12 0xb61beefd in QMetaObject::metacall (object=0x81c5238, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0xbfffdc88) at kernel/qmetaobject.cpp:237 #13 0xb61cdfe8 in QMetaObject::activate (sender=0x8221cb8, m=0xb0158f00, local_signal_index=4, argv=0xbfffdc88) at kernel/qobject.cpp:3295 #14 0xb01314f5 in Phonon::Xine::MediaObject::currentSourceChanged (this=0x8221cb8, _t1=...) at /usr/src/debug/phonon-4.4.2/build/xine/mediaobject.moc:215 #15 0xb0132b2c in Phonon::Xine::MediaObject::setSourceInternal (this=0x8221cb8, source=..., how=Phonon::Xine::MediaObject::GaplessSwitch) at /usr/src/debug/phonon-4.4.2/xine/mediaobject.cpp:426 #16 0xb0133a8e in Phonon::Xine::MediaObject::setNextSource (this=0x8221cb8, source=...) at /usr/src/debug/phonon-4.4.2/xine/mediaobject.cpp:312 #17 0xb599d594 in ?? () from /usr/lib/libphonon.so.4 #18 0xb599dad3 in Phonon::MediaObject::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libphonon.so.4 #19 0xb61beefd in QMetaObject::metacall (object=0x81c5238, cl=QMetaObject::InvokeMetaMethod, idx=25, argv=0xbfffdf3c) at kernel/qmetaobject.cpp:237 #20 0xb61cdfe8 in QMetaObject::activate (sender=0x8221cb8, m=0xb0158f00, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3295 #21 0xb01313a5 in Phonon::Xine::MediaObject::aboutToFinish (this=0x8221cb8) at /usr/src/debug/phonon-4.4.2/build/xine/mediaobject.moc:188 #22 0xb013209d in Phonon::Xine::MediaObject::needNextUrl (this=0x8221cb8) at /usr/src/debug/phonon-4.4.2/xine/mediaobject.cpp:648 #23 0xb01327bf in Phonon::Xine::MediaObject::qt_metacall (this=0x8221cb8, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x9683b768) at /usr/src/debug/phonon-4.4.2/build/xine/mediaobject.moc:165 #24 0xb61beefd in QMetaObject::metacall (object=0x8221cb8, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0x9683b768) at kernel/qmetaobject.cpp:237 #25 0xb61c8945 in QMetaCallEvent::placeMetaCall (this=0x9681b298, object=0x8221cb8) at kernel/qobject.cpp:561 #26 0xb61cb93f in QObject::event (this=0x8221cb8, e=0x9681b298) at kernel/qobject.cpp:1248 #27 0xb66a8c64 in QApplicationPrivate::notify_helper (this=0x814a718, receiver=0x8221cb8, e=0x9681b298) at kernel/qapplication.cpp:4302 #28 0xb66b0bf7 in QApplication::notify (this=0xbfffe86c, receiver=0x8221cb8, e=0x9681b298) at kernel/qapplication.cpp:3706 #29 0xb7d00911 in KApplication::notify (this=0xbfffe86c, receiver=0x8221cb8, event=0x9681b298) at /usr/src/debug/kdelibs-4.5.2/kdeui/kernel/kapplication.cpp:310 #30 0xb61b8e0e in QCoreApplication::notifyInternal (this=0xbfffe86c, receiver=0x8221cb8, event=0x9681b298) at kernel/qcoreapplication.cpp:726 #31 0xb61bc9b4 in sendEvent (receiver=0x0, event_type=0, data=0x8061720) at kernel/qcoreapplication.h:215 #32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8061720) at kernel/qcoreapplication.cpp:1367 #33 0xb61bcb9c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260 #34 0xb61e483d in sendPostedEvents (s=0x814ee90) at kernel/qcoreapplication.h:220 #35 postEventSourceDispatch (s=0x814ee90) at kernel/qeventdispatcher_glib.cpp:276 #36 0xb4b1fb49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #37 0xb4b20350 in ?? () from /usr/lib/libglib-2.0.so.0 #38 0xb4b2060e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #39 0xb61e4d4b in QEventDispatcherGlib::processEvents (this=0x8064f20, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #40 0xb675919a in QGuiEventDispatcherGlib::processEvents (this=0x8064f20, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #41 0xb61b811d in QEventLoop::processEvents (this=0xbfffe7e4, flags=...) at kernel/qeventloop.cpp:149 #42 0xb61b8319 in QEventLoop::exec (this=0xbfffe7e4, flags=...) at kernel/qeventloop.cpp:201 #43 0xb61bcc70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #44 0xb66a6164 in QApplication::exec () at kernel/qapplication.cpp:3581 #45 0x0804fa23 in main (argc=0, argv=0x0) at /usr/src/debug/amarok-2.3.2/src/main.cpp:237 Reproducible: Sometimes Steps to Reproduce: Start Amarok, Populate a playlist with mp3, wma, ogg files, Amarok will crash sooner or later, sometimes within 2 songs, almost always within the hour. The crash happens regardless of whether the computer is unattended or being actively used. Note: running amarok under gdb > run -nofork --debug makes amarok crash much more rarely. Actual Results: Crash at the end of a song/beginning of another song. Expected Results: Not crash. OS: Linux (i686) release 2.6.34.7-0.4-default Compiler: gcc
There might indeed be a packaging problem in OpenSuSE, as bug 253055 suggests as well. Unfortunately the gdb backtrace is not exactly very good, could you please try to reproduce it again, running it as follow: gdb amarok run -d --nofork once the crash happens type bt and give the output.
Hello, Here's the result from the "bt" command after amarok crashed: #0 0xaf86bbef in ?? () from /usr/lib/libavcodec.so.52 #1 0xaf8376d4 in ?? () from /usr/lib/libavcodec.so.52 #2 0xaf838ea9 in ?? () from /usr/lib/libavcodec.so.52 #3 0xaf7d96c1 in avcodec_decode_audio2 () from /usr/lib/libavcodec.so.52 #4 0xaff4e002 in ff_audio_decode_data () from /usr/lib/xine/plugins/1.29/xineplug_decode_ff.so #5 0xb00d132d in audio_decoder_loop () from /usr/lib/libxine.so.1 #6 0xb5b0db25 in start_thread () from /lib/libpthread.so.0 #7 0xb5eb546e in clone () from /lib/libc.so.6
Thank you for the feedback. The crash lies in the codecs, please check with your distribution.