Bug 211775

Summary: Amarok crashes when scanning collection
Product: [Applications] amarok Reporter: Markus <mark.i>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Markus 2009-10-25 14:07:49 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
After deletion of ~/.kde/share/apps/amarok Amarok starts fine.
When I then try to scan my whole collection it crashes.
I wasn't able to track it down to a special file that causes the crash.

When amarok crashed once, it will do so immediately when started again.
The amarok window does not reappear again just until ~/.kde/share/apps/amarok is deleted again.

 -- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
pthread_cond_timedwait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
The current source language is "auto; currently asm".
[Current thread is 1 (Thread 0x7fdc46014770 (LWP 1904))]

Thread 15 (Thread 0x7fdc3082d910 (LWP 1905)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fdc355e1c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7fdc2f2e4910 (LWP 1906)):
#0  0x00007fdc3de1b6dd in __pthread_mutex_unlock_usercnt (mutex=0xa1f4d8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0xa1f4d8) at pthread_mutex_unlock.c:289
#2  0x00007fdc3c752d9e in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007fdc3c753181 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fdc3c7536b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007fdc43cac1fe in QEventDispatcherGlib::processEvents (this=0xa1ee50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#6  0x00007fdc43c82532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007fdc43c82904 in QEventLoop::exec (this=0x7fdc2f2e3fe0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007fdc43b9a6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007fdc3585656e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#10 0x00007fdc43b9d445 in QThreadPrivate::start (arg=0xa1eb30) at thread/qthread_unix.cpp:188
#11 0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fdc2e8d9910 (LWP 1909)):
#0  0x00007fdc43593373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdc2e8dfcbe in ?? () from /usr/lib/xine/plugins/1.26/xineplug_ao_out_alsa.so
#2  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 12 (Thread 0x7fdc2e0d8910 (LWP 1910)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fdc355f2983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fdc2d434910 (LWP 1911)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fdc355f2983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 10 (Thread 0x7fdc2cc33910 (LWP 1912)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fdc355f2983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fdc2b297910 (LWP 1914)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fdc43b9e4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x16046c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16046c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdc40851326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1609d80, th=0x1603e80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fdc4085345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x160a1a0, th=0x1603e80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fdc40853474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x160a1a0, th=0x1603e80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fdc40853474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x160a1a0, th=0x1603e80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fdc40853474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x160a1a0, th=0x1603e80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007fdc40851a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fdc2b297030, parent=0x1609d80, th=0x1603e80) at ../../../threadweaver/Weaver/Thread.cpp:87
#9  0x00007fdc40851eb8 in ThreadWeaver::Thread::run (this=0x1603e80) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00007fdc43b9d445 in QThreadPrivate::start (arg=0x1603e80) at thread/qthread_unix.cpp:188
#11 0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fdc208e6910 (LWP 1915)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fdc43b9e4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x16046c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16046c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdc40851326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1609d80, th=0x13112c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fdc4085345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x160a1a0, th=0x13112c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fdc40851a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fdc208e6030, parent=0x1609d80, th=0x13112c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fdc40851eb8 in ThreadWeaver::Thread::run (this=0x13112c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fdc43b9d445 in QThreadPrivate::start (arg=0x13112c0) at thread/qthread_unix.cpp:188
#8  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fdc200e5910 (LWP 1916)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fdc43b9e4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x16046c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x16046c0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdc40851326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1609d80, th=0x15eadb0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fdc4085345b in ThreadWeaver::WorkingHardState::applyForWork (this=0x160a1a0, th=0x15eadb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fdc40853474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x160a1a0, th=0x15eadb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fdc40853474 in ThreadWeaver::WorkingHardState::applyForWork (this=0x160a1a0, th=0x15eadb0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fdc40851a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fdc200e5030, parent=0x1609d80, th=0x15eadb0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fdc40851eb8 in ThreadWeaver::Thread::run (this=0x15eadb0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fdc43b9d445 in QThreadPrivate::start (arg=0x15eadb0) at thread/qthread_unix.cpp:188
#10 0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fdc1f8e4910 (LWP 1917)):
[KCrash Handler]
#5  Dynamic::BiasSolver::getRandomTrack (this=0x7fdc1403bcc0, subset=...) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:733
#6  0x00007fdc452d3d5e in Dynamic::BiasSolver::generateInitialPlaylist (this=0x7fdc1403bcc0, optimal=<value optimized out>) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:598
#7  0x00007fdc452d5ff7 in Dynamic::BiasSolver::run (this=0x7fdc1403bcc0) at /build/buildd/amarok-2.2.0/src/dynamic/BiasSolver.cpp:172
#8  0x00007fdc4085275d in ThreadWeaver::JobRunHelper::runTheJob (this=0x7fdc1f8e3fa0, th=0x1605480, job=0x7fdc1403bcc0) at ../../../threadweaver/Weaver/Job.cpp:106
#9  0x00007fdc40852a5e in ThreadWeaver::Job::execute (this=0x7fdc1403bcc0, th=0x1605480) at ../../../threadweaver/Weaver/Job.cpp:135
#10 0x00007fdc40851a2f in ThreadWeaver::ThreadRunHelper::run (this=0x7fdc1f8e4030, parent=0x1609d80, th=0x1605480) at ../../../threadweaver/Weaver/Thread.cpp:95
#11 0x00007fdc40851eb8 in ThreadWeaver::Thread::run (this=0x1605480) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00007fdc43b9d445 in QThreadPrivate::start (arg=0x1605480) at thread/qthread_unix.cpp:188
#13 0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#14 0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fdc19d07910 (LWP 1933)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fdc43b9e4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x3836b80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3836b80, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdc44a5a43e in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:207
#4  0x00007fdc43b9d445 in QThreadPrivate::start (arg=0x3836b70) at thread/qthread_unix.cpp:188
#5  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 4 (Thread 0x7fdc19506910 (LWP 1934)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007fdc19505d20 in ?? ()
#2  0x00007fffe2bff782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7fdc0c782910 (LWP 1937)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fdc43b9e4fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x382a140, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x382a140, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fdc44a5a43e in QFileInfoGatherer::run (this=<value optimized out>) at dialogs/qfileinfogatherer.cpp:207
#4  0x00007fdc43b9d445 in QThreadPrivate::start (arg=0x382a130) at thread/qthread_unix.cpp:188
#5  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdc0bf81910 (LWP 1938)):
#0  0x00007fdc43593373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdc3c75336c in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fdc3c7536b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fdc43cac1fe in QEventDispatcherGlib::processEvents (this=0x38e7280, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#4  0x00007fdc43c82532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fdc43c82904 in QEventLoop::exec (this=0x7fdc0bf80ff0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fdc43b9a6cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fdc43c65b78 in QInotifyFileSystemWatcherEngine::run (this=0x38def00) at io/qfilesystemwatcher_inotify.cpp:214
#8  0x00007fdc43b9d445 in QThreadPrivate::start (arg=0x38def00) at thread/qthread_unix.cpp:188
#9  0x00007fdc3de17a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fdc4359f7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdc46014770 (LWP 1904)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fdc43b9ced5 in thread_sleep (ti=0x7fffe2bc3570) at thread/qthread_unix.cpp:297
#2  0x00007fdc43b9d040 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:323
#3  0x00007fdc3587a79a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007fdc403bbe66 in ~FactoryPrivate (this=0x94ad60, __in_chrg=<value optimized out>) at ../3rdparty/phonon/phonon/factory.cpp:199
#5  0x00007fdc434f8c12 in __run_exit_handlers (status=1) at exit.c:78
#6  *__GI_exit (status=1) at exit.c:100
#7  0x00007fdc445ff328 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:707
#8  0x00007fdc45a35498 in KApplication::xioErrhandler (this=0x7fffe2bc39e0, dpy=0x8a5ac0) at ../../kdeui/kernel/kapplication.cpp:408
#9  0x00007fdc42b4ffae in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007fdc42b579a5 in ?? () from /usr/lib/libX11.so.6
#11 0x00007fdc42b58257 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007fdc42b4101b in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007fdc4463867c in x11EventSourceCheck (s=0x87e0a0) at kernel/qguieventdispatcher_glib.cpp:87
#14 0x00007fdc3c752a9a in g_main_context_check () from /lib/libglib-2.0.so.0
#15 0x00007fdc3c753280 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007fdc3c7536b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007fdc43cac1a6 in QEventDispatcherGlib::processEvents (this=0x76ab90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#18 0x00007fdc446384be in QGuiEventDispatcherGlib::processEvents (this=0x7fffe2bc34f4, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#19 0x00007fdc43c82532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007fdc43c82904 in QEventLoop::exec (this=0x7fffe2bc3970, flags=) at kernel/qeventloop.cpp:201
#21 0x00007fdc43c84ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#22 0x0000000000409ec6 in main (argc=<value optimized out>, argv=0x7fffe2bc5788) at /build/buildd/amarok-2.2.0/src/main.cpp:225
The current source language is "auto; currently c".
The current source language is "auto; currently asm".

This bug may be a duplicate of or related to bug 211666

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2009-10-25 19:27:09 UTC

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