Bug 269164

Summary: Amarok crashed while closing USB-DEvice
Product: [Applications] amarok Reporter: b.groeschl
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.4.0   
Target Milestone: 2.4.1   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description b.groeschl 2011-03-22 18:43:50 UTC
Application: amarok (2.4.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-30-generic x86_64
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
Aoarok crashed every Time Amarok scans the USB-Device (i start it in console with amarok --debug, there i see the scan-activity) and i try to stop (with the Button in amarok UI). It also crashes if I try to reboot the PC while scan the usb-hdd-drive.

The crash can be reproduced every time.

 -- 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:211
	in ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
[Current thread is 1 (Thread 0x7f00f2397840 (LWP 2535))]

Thread 12 (Thread 0x7f00ea93c700 (LWP 2536)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f00ef563081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f00ea13b700 (LWP 2537)):
#0  0x00007f00ff5f0f93 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f00f9a6a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f00f9a6a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f00fff5c566 in QEventDispatcherGlib::processEvents (this=0x2360d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f00fff31992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f00fff31d6c in QEventLoop::exec (this=0x7f00ea13acb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f00ffe3bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f00ef7bf440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f00ffe3e775 in QThreadPrivate::start (arg=0x22e8ee0) at thread/qthread_unix.cpp:248
#9  0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f00e9730700 (LWP 2539)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00ef573e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f00e3fff700 (LWP 2541)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00ef573e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f00e293f700 (LWP 2543)):
[KCrash Handler]
#5  0x00007f00ffe807c3 in QString::operator== (this=0x7f00e293e5c0, other=...) at tools/qstring.cpp:2060
#6  0x00007f0100389a45 in KMimeType::is (this=<value optimized out>, mimeTypeName=...) at ../../kdecore/services/kmimetype.cpp:649
#7  0x00007f00e06af484 in Meta::UmsHandler::addPath (this=0x30b64a0, path=<value optimized out>) at ../../../../../src/core-impl/collections/umscollection/handler/UmsHandler.cpp:406
#8  0x00007f00e06af722 in Meta::UmsHandler::prepareToParseTracks (this=0x30b64a0) at ../../../../../src/core-impl/collections/umscollection/handler/UmsHandler.cpp:844
#9  0x00007f010169bdd3 in Meta::MediaDeviceHandler::privateParseTracks (this=0x30b64a0) at ../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:858
#10 0x00007f010169d9bd in Meta::ParseWorkerThread::run (this=0x30b7fd0) at ../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1303
#11 0x00007f00fce518dd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f00e293ec90, th=0x2bac8f0, job=0x30b7fd0) at ../../../threadweaver/Weaver/Job.cpp:106
#12 0x00007f00fce51bde in ThreadWeaver::Job::execute (this=0x30b7fd0, th=0x2bac8f0) at ../../../threadweaver/Weaver/Job.cpp:135
#13 0x00007f00fce50bcf in ThreadWeaver::ThreadRunHelper::run (this=0x7f00e293ed20, parent=0x30b4fe0, th=0x2bac8f0) at ../../../threadweaver/Weaver/Thread.cpp:95
#14 0x00007f00fce51168 in ThreadWeaver::Thread::run (this=0x2bac8f0) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00007f00ffe3e775 in QThreadPrivate::start (arg=0x2bac8f0) at thread/qthread_unix.cpp:248
#16 0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f00d354e700 (LWP 2548)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00fb5d32a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f00fb8b1220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f00fb5d32e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f00fb8bf2ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f00c8167700 (LWP 2549)):
#0  0x00007fff43517904 in clock_gettime ()
#1  0x00007f00f84cb09f in *__GI_clock_gettime (clock_id=1, tp=0x7f00c8166a20) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f00fff5999f in qt_gettime () at kernel/qcore_unix.cpp:111
#3  0x00007f00fff5e6ad in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340
#4  0x00007f00fff5e6d5 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#5  0x00007f00fff5c75d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f00c8166b3c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f00fff5c805 in timerSourcePrepare (source=0x1, timeout=0x7f00c8166a20) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f00f9a69eb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007f00f9a6a318 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007f00f9a6a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007f00fff5c566 in QEventDispatcherGlib::processEvents (this=0x7f00e40b0690, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00007f00fff31992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#12 0x00007f00fff31d6c in QEventLoop::exec (this=0x7f00c8166cd0, flags=) at kernel/qeventloop.cpp:201
#13 0x00007f00ffe3bd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007f00fff12178 in QInotifyFileSystemWatcherEngine::run (this=0x38d6780) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007f00ffe3e775 in QThreadPrivate::start (arg=0x38d6780) at thread/qthread_unix.cpp:248
#16 0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f00c3718700 (LWP 2557)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00ffe3f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2bb4150, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2bb4150, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00fce50026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x30b4fe0, th=0x3d23670) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f00fce526ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x30b6b70, th=0x3d23670) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f00fce526c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x30b6b70, th=0x3d23670) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f00fce526c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x30b6b70, th=0x3d23670) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f00fce50bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f00c3717d20, parent=0x30b4fe0, th=0x3d23670) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f00fce51168 in ThreadWeaver::Thread::run (this=0x3d23670) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f00ffe3e775 in QThreadPrivate::start (arg=0x3d23670) at thread/qthread_unix.cpp:248
#10 0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#11 0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f00c2f17700 (LWP 2558)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00ffe3f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2bb4150, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2bb4150, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00fce50026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x30b4fe0, th=0x31dc710) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f00fce526ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x30b6b70, th=0x31dc710) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f00fce526c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x30b6b70, th=0x31dc710) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f00fce50bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f00c2f16d20, parent=0x30b4fe0, th=0x31dc710) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f00fce51168 in ThreadWeaver::Thread::run (this=0x31dc710) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f00ffe3e775 in QThreadPrivate::start (arg=0x31dc710) at thread/qthread_unix.cpp:248
#9  0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f00c2716700 (LWP 2559)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00ffe3f72b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2bb4150, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2bb4150, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f00fce50026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x30b4fe0, th=0x3d020e0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f00fce526ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x30b6b70, th=0x3d020e0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f00fce50bff in ThreadWeaver::ThreadRunHelper::run (this=0x7f00c2715d20, parent=0x30b4fe0, th=0x3d020e0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f00fce51168 in ThreadWeaver::Thread::run (this=0x3d020e0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f00ffe3e775 in QThreadPrivate::start (arg=0x3d020e0) at thread/qthread_unix.cpp:248
#8  0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f00c1ad9700 (LWP 2560)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f00f618dd56 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f00f618dd99 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f00fda479ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f00ff5fd70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f00f2397840 (LWP 2535)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f00ffe3e0e5 in thread_sleep (ti=0x7fff434c6f10) at thread/qthread_unix.cpp:398
#2  0x00007f00ffe3e250 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f00ef7e6b8a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f00fc246846 in ?? () from /usr/lib/libphonon.so.4
#5  0x00007f00ff550262 in __run_exit_handlers (status=1) at exit.c:78
#6  *__GI_exit (status=1) at exit.c:100
#7  0x00007f010091d558 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:734
#8  0x00007f0102390778 in KApplication::xioErrhandler (this=0x7fff434c7350, dpy=0x219bf60) at ../../kdeui/kernel/kapplication.cpp:408
#9  0x00007f00feba47fe in _XIOError () from /usr/lib/libX11.so.6
#10 0x00007f00febac355 in ?? () from /usr/lib/libX11.so.6
#11 0x00007f00febacc07 in _XEventsQueued () from /usr/lib/libX11.so.6
#12 0x00007f00feb9540b in XEventsQueued () from /usr/lib/libX11.so.6
#13 0x00007f0100957697 in x11EventSourcePrepare (s=0x219a8f0, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#14 0x00007f00f9a69eb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#15 0x00007f00f9a6a318 in ?? () from /lib/libglib-2.0.so.0
#16 0x00007f00f9a6a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#17 0x00007f00fff5c513 in QEventDispatcherGlib::processEvents (this=0x203b360, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#18 0x00007f010095746e in QGuiEventDispatcherGlib::processEvents (this=0x7fff434c6e94, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007f00fff31992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007f00fff31d6c in QEventLoop::exec (this=0x7fff434c72f0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007f00fff35aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#22 0x0000000000409b10 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../src/main.cpp:268

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

Possible duplicates by query: bug 237582, bug 232051.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-03-22 22:44:53 UTC

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