Bug 272139

Summary: Amarok crash when clicking on "Enable device" [@ Meta::UmsHandler::addPath]
Product: [Applications] amarok Reporter: Mickaël <mprizee>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.4-GIT   
Target Milestone: 2.4.1   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mickaël 2011-05-01 13:24:30 UTC
Application: amarok (2.4-GIT)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
My external USB harddrive was connected but I recently unchecked the "Automatically enable when connected" box (before Amarok's start) and I clicked on the green checked box in order to enable it. And then crash.
I am using the last GIT version (compiled yesterday).

The crash can be reproduced some of the time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f79fe9ea780 (LWP 1951))]

Thread 13 (Thread 0x7f79dd005700 (LWP 1981)):
#0  0x00007f79f9487dab in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f79e181b8c1 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#3  0x00007f79fb2abaed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f79dd806700 (LWP 2009)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f79dd805ab0 in ?? ()
#2  0x00007fff62fff6e2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 11 (Thread 0x7f79de402700 (LWP 2019)):
#0  0x00007f79fb2a3933 in poll () from /lib/libc.so.6
#1  0x00007f79de407515 in ?? () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so
#2  0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#3  0x00007f79fb2abaed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f79dc804700 (LWP 2020)):
#0  0x00007f79f9487a34 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f79e182d67b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#3  0x00007f79fb2abaed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f79dbe01700 (LWP 2021)):
#0  0x00007f79f9487a34 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f79e182d67b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#3  0x00007f79fb2abaed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f79db600700 (LWP 2022)):
#0  0x00007f79f9487a34 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f79e182d67b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#3  0x00007f79fb2abaed in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f79d7185700 (LWP 2058)):
#0  0x00007f79f4748a7e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#1  0x00007f79f47493d0 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f79f474966d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f79fbbdfa66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#4  0x00007f79fbbb3ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#5  0x00007f79fbbb3eec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#6  0x00007f79fbac9494 in QThread::exec() () from /usr/lib/libQtCore.so.4
#7  0x00007f79fbb956a8 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f79fbacbcf5 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#10 0x00007f79fb2abaed in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f79cb357700 (LWP 2151)):
#0  0x00007f79f9487a34 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f79f7165364 in ?? () from /usr/lib/libQtScript.so.4
#2  0x00007f79f7165399 in ?? () from /usr/lib/libQtScript.so.4
#3  0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#4  0x00007f79fb2abaed in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f79cbb58700 (LWP 2161)):
#0  0x00007f79f948a40c in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00007f79f9487aee in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00007f79fbacae33 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f79fbac7825 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#4  0x00007f79fbac7fea in QReadWriteLock::unlock() () from /usr/lib/libQtCore.so.4
#5  0x00007f79fc062705 in KMimeTypeRepository::findFromContent(QIODevice*, int*, QByteArray&) () from /usr/lib/libkdecore.so.5
#6  0x00007f79fc0558ed in KMimeType::findByFileContent(QString const&, int*) () from /usr/lib/libkdecore.so.5
#7  0x00007f79d719c430 in Meta::UmsHandler::addPath (this=0x1e58340, path=...) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:381
#8  0x00007f79d719f3e3 in Meta::UmsHandler::prepareToParseTracks (this=0x1e58340) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:844
#9  0x00007f79d71a6a41 in Handler::UmsReadCapability::prepareToParseTracks (this=0x7f79b8005600) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/capabilities/UmsReadCapability.cpp:31
#10 0x00007f79fd6da394 in Meta::MediaDeviceHandler::privateParseTracks (this=0x1e58340) at /home/mickael/Programmes/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:852
#11 0x00007f79fd6dc7f0 in Meta::ParseWorkerThread::run (this=0x7f79c408e700) at /home/mickael/Programmes/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1297
#12 0x00007f79f8859b91 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x00007f79f8859cce in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#14 0x00007f79f885947f in ?? () from /usr/lib/libthreadweaver.so.4
#15 0x00007f79f8859538 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#16 0x00007f79fbacbcf5 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#18 0x00007f79fb2abaed in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f79c203e700 (LWP 2162)):
[KCrash Handler]
#6  0x00007f79fbb1a90d in QtPrivate::QStringList_contains(QStringList const*, QString const&, Qt::CaseSensitivity) () from /usr/lib/libQtCore.so.4
#7  0x00007f79d71a1211 in QStringList::contains (this=0x1e58450, str=..., cs=Qt::CaseSensitive) at /usr/include/QtCore/qstringlist.h:171
#8  0x00007f79d719c78d in Meta::UmsHandler::addPath (this=0x1e58340, path=...) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:401
#9  0x00007f79d719f3e3 in Meta::UmsHandler::prepareToParseTracks (this=0x1e58340) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:844
#10 0x00007f79d71a6a41 in Handler::UmsReadCapability::prepareToParseTracks (this=0x7f79b8005600) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/capabilities/UmsReadCapability.cpp:31
#11 0x00007f79fd6da394 in Meta::MediaDeviceHandler::privateParseTracks (this=0x1e58340) at /home/mickael/Programmes/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:852
#12 0x00007f79fd6dc7f0 in Meta::ParseWorkerThread::run (this=0x2b7f300) at /home/mickael/Programmes/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1297
#13 0x00007f79f8859b91 in ?? () from /usr/lib/libthreadweaver.so.4
#14 0x00007f79f8859cce in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#15 0x00007f79f885947f in ?? () from /usr/lib/libthreadweaver.so.4
#16 0x00007f79f8859538 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#17 0x00007f79fbacbcf5 in ?? () from /usr/lib/libQtCore.so.4
#18 0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#19 0x00007f79fb2abaed in clone () from /lib/libc.so.6
#20 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f79c13fe700 (LWP 2164)):
#0  0x00007f79f9487a34 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f79fbacc3db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f79fbac7d36 in QReadWriteLock::lockForWrite() () from /usr/lib/libQtCore.so.4
#3  0x00007f79fc05e208 in KMimeTypeRepository::checkEssentialMimeTypes() () from /usr/lib/libkdecore.so.5
#4  0x00007f79fc055806 in KMimeType::findByFileContent(QString const&, int*) () from /usr/lib/libkdecore.so.5
#5  0x00007f79d719c430 in Meta::UmsHandler::addPath (this=0x1e58340, path=...) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:381
#6  0x00007f79d719f3e3 in Meta::UmsHandler::prepareToParseTracks (this=0x1e58340) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:844
#7  0x00007f79d71a6a41 in Handler::UmsReadCapability::prepareToParseTracks (this=0x7f79b8005600) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/capabilities/UmsReadCapability.cpp:31
#8  0x00007f79fd6da394 in Meta::MediaDeviceHandler::privateParseTracks (this=0x1e58340) at /home/mickael/Programmes/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:852
#9  0x00007f79fd6dc7f0 in Meta::ParseWorkerThread::run (this=0x3728120) at /home/mickael/Programmes/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1297
#10 0x00007f79f8859b91 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x00007f79f8859cce in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#12 0x00007f79f885947f in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x00007f79f8859538 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#14 0x00007f79fbacbcf5 in ?? () from /usr/lib/libQtCore.so.4
#15 0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#16 0x00007f79fb2abaed in clone () from /lib/libc.so.6
#17 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f79c0bfd700 (LWP 2166)):
#0  0x00007f79f948a40c in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00007f79f9487aee in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00007f79fbacae33 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f79fbac7825 in QMutex::lock() () from /usr/lib/libQtCore.so.4
#4  0x00007f79fbac7fea in QReadWriteLock::unlock() () from /usr/lib/libQtCore.so.4
#5  0x00007f79fc062705 in KMimeTypeRepository::findFromContent(QIODevice*, int*, QByteArray&) () from /usr/lib/libkdecore.so.5
#6  0x00007f79fc0558ed in KMimeType::findByFileContent(QString const&, int*) () from /usr/lib/libkdecore.so.5
#7  0x00007f79d719c430 in Meta::UmsHandler::addPath (this=0x1e58340, path=...) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:381
#8  0x00007f79d719f3e3 in Meta::UmsHandler::prepareToParseTracks (this=0x1e58340) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/UmsHandler.cpp:844
#9  0x00007f79d71a6a41 in Handler::UmsReadCapability::prepareToParseTracks (this=0x7f79b8005600) at /home/mickael/Programmes/amarok/src/core-impl/collections/umscollection/handler/capabilities/UmsReadCapability.cpp:31
#10 0x00007f79fd6da394 in Meta::MediaDeviceHandler::privateParseTracks (this=0x1e58340) at /home/mickael/Programmes/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:852
#11 0x00007f79fd6dc7f0 in Meta::ParseWorkerThread::run (this=0x2b49e00) at /home/mickael/Programmes/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1297
#12 0x00007f79f8859b91 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x00007f79f8859cce in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#14 0x00007f79f885947f in ?? () from /usr/lib/libthreadweaver.so.4
#15 0x00007f79f8859538 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#16 0x00007f79fbacbcf5 in ?? () from /usr/lib/libQtCore.so.4
#17 0x00007f79f9483d40 in start_thread () from /lib/libpthread.so.0
#18 0x00007f79fb2abaed in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f79fe9ea780 (LWP 1951)):
#0  0x00007f79f9487a34 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f79fbacc3db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f79fbacb4b0 in QThread::wait(unsigned long) () from /usr/lib/libQtCore.so.4
#3  0x00007f79fbb88fd0 in QFileSystemWatcher::~QFileSystemWatcher() () from /usr/lib/libQtCore.so.4
#4  0x00007f79fbb890a9 in QFileSystemWatcher::~QFileSystemWatcher() () from /usr/lib/libQtCore.so.4
#5  0x00007f79fbbc7354 in QObjectPrivate::deleteChildren() () from /usr/lib/libQtCore.so.4
#6  0x00007f79fbbcbe92 in QObject::~QObject() () from /usr/lib/libQtCore.so.4
#7  0x00007f79f8b0bf69 in ?? () from /usr/lib/libsolid.so.4
#8  0x00007f79fb211221 in ?? () from /lib/libc.so.6
#9  0x00007f79fb2112a5 in exit () from /lib/libc.so.6
#10 0x00007f79fc5df378 in ?? () from /usr/lib/libQtGui.so.4
#11 0x00007f79fe412af8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#12 0x00007f79fd097fae in _XIOError () from /usr/lib/libX11.so.6
#13 0x00007f79fd0958ad in _XEventsQueued () from /usr/lib/libX11.so.6
#14 0x00007f79fd08622f in XEventsQueued () from /usr/lib/libX11.so.6
#15 0x00007f79fc617e8c in ?? () from /usr/lib/libQtGui.so.4
#16 0x00007f79f4748878 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#17 0x00007f79f4749152 in ?? () from /usr/lib/libglib-2.0.so.0
#18 0x00007f79f474966d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#19 0x00007f79fbbdfa0f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#20 0x00007f79fc61803e in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007f79fbbb3ca2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#22 0x00007f79fbbb3eec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#23 0x00007f79fbbb83eb in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#24 0x0000000000408e1d in main (argc=3, argv=0x7fff62eb4748) at /home/mickael/Programmes/amarok/src/main.cpp:288

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

Possible duplicates by query: bug 265436, bug 244230, bug 238845.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-05-01 22:59:29 UTC

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