Bug 243702 - Crash when removing (or adding) removable device [@ Handler::UmsReadCapability::setAssociateTrack]
Summary: Crash when removing (or adding) removable device [@ Handler::UmsReadCapabilit...
Status: RESOLVED NOT A BUG
Alias: None
Product: amarok
Classification: Applications
Component: Collections/USB mass storage and MSC (show other bugs)
Version: 2.5.0
Platform: openSUSE Linux
: HI crash
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords: release_blocker
: 244989 245340 245484 245487 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-05 23:33 UTC by David Solbach
Modified: 2012-02-05 23:32 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (17.02 KB, text/plain)
2010-07-11 08:07 UTC, jose bernardo silva
Details
New crash information added by DrKonqi (15.71 KB, text/plain)
2010-07-26 15:08 UTC, Vasilis Vasaitis
Details
New crash information added by DrKonqi (7.66 KB, text/plain)
2010-12-11 22:17 UTC, Mickaël
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Solbach 2010-07-05 23:33:45 UTC
Application: amarok (2.3-GIT)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.31.12-0.2-default x86_64
Distribution: "openSUSE 11.2 (x86_64)"

-- Information about the crash:
The attached stack trace shows a crash that happened reproducibly when removing a media player (in my case the N900) while amarok was runnning.

When the media player was connected, the removable devices manager showed up and I chose "open in dolphin". Amarok recognized the N900, which was configured before, and showed it beneath my local connection. it wouldn't show it's media files, however...

When disconnecting the N900 (by pulling the USB cable) it crashed.

I'm using Amrok 2.3-GIT from opensuse build service. build date 20100705

The crash can be reproduced every time.

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

Thread 21 (Thread 0x7f758b49d910 (LWP 10699)):
#0  0x00007f75a4bea2cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7594dff671 in metronom_sync_loop () from /usr/lib64/libxine.so.1
#2  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 20 (Thread 0x7f758ac9c910 (LWP 10700)):
#0  0x00007f75a6561d03 in poll () from /lib64/libc.so.6
#1  0x00007f759f0b759c in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f759f0b78e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f75a7b441e6 in QEventDispatcherGlib::processEvents (this=0x850210, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f75a7b19432 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f75a7b1980c in QEventLoop::exec (this=0x7f758ac9bfb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f75a7a2849b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f759505b266 in Phonon::MediaSource::type() const () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f75a7a2af95 in QThreadPrivate::start (arg=0x92c020) at thread/qthread_unix.cpp:248
#9  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#10 0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7f758a296910 (LWP 10701)):
#0  0x00007f75a6561d03 in poll () from /lib64/libc.so.6
#1  0x00007f759d25f8bf in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f759d24fb76 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f759d250f59 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f759d251010 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f759d25f7cb in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f759aab1978 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#7  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#8  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#9  0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f7585a94910 (LWP 10702)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7594e10713 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f7584c7c910 (LWP 10703)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7594e10713 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f758447b910 (LWP 10704)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7594e10713 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f7583642910 (LWP 10705)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f7594e10713 in ao_loop () from /usr/lib64/libxine.so.1
#2  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#3  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f75815ee910 (LWP 10707)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f758265a2a5 in os_event_wait_low (event=0x1759630, reset_sig_count=1) at ../../../storage/innobase/os/os0sync.c:422
#2  0x00007f7582659090 in os_aio_simulated_handle (global_segment=0, message1=<value optimized out>, message2=<value optimized out>, type=<value optimized out>)
    at ../../../storage/innobase/os/os0file.c:4207
#3  0x00007f758270a49a in fil_aio_wait (segment=0) at ../../../storage/innobase/fil/fil0fil.c:4246
#4  0x00007f7582689aa0 in io_handler_thread (arg=<value optimized out>) at ../../../storage/innobase/srv/srv0start.c:435
#5  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f757fd50910 (LWP 10708)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f758265a2a5 in os_event_wait_low (event=0x17596d0, reset_sig_count=3) at ../../../storage/innobase/os/os0sync.c:422
#2  0x00007f7582659090 in os_aio_simulated_handle (global_segment=1, message1=<value optimized out>, message2=<value optimized out>, type=<value optimized out>)
    at ../../../storage/innobase/os/os0file.c:4207
#3  0x00007f758270a49a in fil_aio_wait (segment=1) at ../../../storage/innobase/fil/fil0fil.c:4246
#4  0x00007f7582689aa0 in io_handler_thread (arg=<value optimized out>) at ../../../storage/innobase/srv/srv0start.c:435
#5  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f757f54f910 (LWP 10709)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f758265a2a5 in os_event_wait_low (event=0x1759770, reset_sig_count=2) at ../../../storage/innobase/os/os0sync.c:422
#2  0x00007f7582659090 in os_aio_simulated_handle (global_segment=2, message1=<value optimized out>, message2=<value optimized out>, type=<value optimized out>)
    at ../../../storage/innobase/os/os0file.c:4207
#3  0x00007f758270a49a in fil_aio_wait (segment=2) at ../../../storage/innobase/fil/fil0fil.c:4246
#4  0x00007f7582689aa0 in io_handler_thread (arg=<value optimized out>) at ../../../storage/innobase/srv/srv0start.c:435
#5  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f757ed4e910 (LWP 10710)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f758265a2a5 in os_event_wait_low (event=0x1759810, reset_sig_count=1) at ../../../storage/innobase/os/os0sync.c:422
#2  0x00007f7582659090 in os_aio_simulated_handle (global_segment=3, message1=<value optimized out>, message2=<value optimized out>, type=<value optimized out>)
    at ../../../storage/innobase/os/os0file.c:4207
#3  0x00007f758270a49a in fil_aio_wait (segment=3) at ../../../storage/innobase/fil/fil0fil.c:4246
#4  0x00007f7582689aa0 in io_handler_thread (arg=<value optimized out>) at ../../../storage/innobase/srv/srv0start.c:435
#5  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#6  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f757d836910 (LWP 10712)):
#0  0x00007f75a65643e2 in select () from /lib64/libc.so.6
#1  0x00007f758265a62b in os_thread_sleep (tm=<value optimized out>) at ../../../storage/innobase/os/os0thread.c:281
#2  0x00007f758268868a in srv_lock_timeout_and_monitor_thread (arg=<value optimized out>) at ../../../storage/innobase/srv/srv0srv.c:1922
#3  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f757d035910 (LWP 10713)):
#0  0x00007f75a65643e2 in select () from /lib64/libc.so.6
#1  0x00007f758265a62b in os_thread_sleep (tm=<value optimized out>) at ../../../storage/innobase/os/os0thread.c:281
#2  0x00007f7582688415 in srv_error_monitor_thread (arg=<value optimized out>) at ../../../storage/innobase/srv/srv0srv.c:2148
#3  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f757c834910 (LWP 10714)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f758265a2a5 in os_event_wait_low (event=0xf595d0, reset_sig_count=1) at ../../../storage/innobase/os/os0sync.c:422
#2  0x00007f7582686d07 in srv_master_thread (arg=<value optimized out>) at ../../../storage/innobase/srv/srv0srv.c:2637
#3  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f7572ad7910 (LWP 10715)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f75a1a79726 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f75a1a79769 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f7571735910 (LWP 10716)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f75a7a2bfdb in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f75a3653336 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ab4a40, th=0x2008200) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f75a3653c7b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x2008200) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f75a364eedf in ThreadWeaver::ThreadRunHelper::run (this=0x7f7571735020, parent=0x1ab4a40, th=0x2008200) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f75a3650748 in ThreadWeaver::Thread::run (this=0x2008200) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f75a7a2af95 in QThreadPrivate::start (arg=0x2008200) at thread/qthread_unix.cpp:248
#8  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#9  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f756cd72910 (LWP 10719)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f75a2eaa6a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f75a3189220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f75a2eaa6e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f75a31972ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#4  0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7568b7f910 (LWP 10721)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f75a7a2bfdb in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f75a3653336 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ab4a40, th=0x221c030) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f75a3653c7b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x221c030) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f75a3653c94 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x221c030) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f75a3653c94 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x221c030) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f75a3653c94 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x221c030) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f75a364eedf in ThreadWeaver::ThreadRunHelper::run (this=0x7f7568b7f020, parent=0x1ab4a40, th=0x221c030) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#9  0x00007f75a3650748 in ThreadWeaver::Thread::run (this=0x221c030) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#10 0x00007f75a7a2af95 in QThreadPrivate::start (arg=0x221c030) at thread/qthread_unix.cpp:248
#11 0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#12 0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f755a769910 (LWP 10723)):
[KCrash Handler]
#5  0x00007f757b5a4d20 in Handler::UmsReadCapability::setAssociateTrack (this=0x7f7564004780, track=<value optimized out>)
    at /usr/src/debug/amarok/src/core-impl/collections/umscollection/handler/capabilities/UmsReadCapability.cpp:55
#6  0x00007f75a8605351 in Meta::MediaDeviceHandler::privateParseTracks (this=0x2784c60) at /usr/src/debug/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:840
#7  0x00007f75a8606bcd in Meta::ParseWorkerThread::run (this=0x1e5b760) at /usr/src/debug/amarok/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1277
#8  0x00007f75a36528e5 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f755a768f90, th=0x2707840, job=0x1e5b760) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Job.cpp:106
#9  0x00007f75a3652a1e in ThreadWeaver::Job::execute (this=0x1e5b760, th=0x2707840) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Job.cpp:135
#10 0x00007f75a364eeaf in ThreadWeaver::ThreadRunHelper::run (this=0x7f755a769020, parent=0x1ab4a40, th=0x2707840) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:95
#11 0x00007f75a3650748 in ThreadWeaver::Thread::run (this=0x2707840) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#12 0x00007f75a7a2af95 in QThreadPrivate::start (arg=0x2707840) at thread/qthread_unix.cpp:248
#13 0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#14 0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7559f68910 (LWP 10724)):
#0  0x00007f75a4bea049 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f75a7a2bfdb in wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (time=<value optimized out>, this=<value optimized out>) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f75a3653336 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ab4a40, th=0x270b000) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f75a3653c7b in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x270b000) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f75a3653c94 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x270b000) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f75a3653c94 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x270b000) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f75a3653c94 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ab4a20, th=0x270b000) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f75a364eedf in ThreadWeaver::ThreadRunHelper::run (this=0x7f7559f68020, parent=0x1ab4a40, th=0x270b000) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:87
#9  0x00007f75a3650748 in ThreadWeaver::Thread::run (this=0x270b000) at /usr/src/debug/kdelibs-4.4.4/threadweaver/Weaver/Thread.cpp:142
#10 0x00007f75a7a2af95 in QThreadPrivate::start (arg=0x270b000) at thread/qthread_unix.cpp:248
#11 0x00007f75a4be565d in start_thread () from /lib64/libpthread.so.0
#12 0x00007f75a656ae1d in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f75a9546780 (LWP 10698)):
#0  0x00007f75a4bea2cd in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f75a7a2a905 in thread_sleep (ti=0x7fff51a07990) at thread/qthread_unix.cpp:398
#2  0x00007f75a7a2aa70 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f75950760a2 in ?? () from /usr/lib64/kde4/plugins/phonon_backend/phonon_xine.so
#4  0x00007f75a3ff77f7 in ?? () from /usr/lib64/libphonon.so.4
#5  0x00007f75a64cf065 in ?? () from /lib64/libc.so.6
#6  0x00007f75a64cf0b5 in exit () from /lib64/libc.so.6
#7  0x00007f75a6f4f3a8 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:744
#8  0x00007f75a8fcda58 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5
#9  0x00007f75a5b242be in _XIOError () from /usr/lib64/libX11.so.6
#10 0x00007f75a5b2bc95 in ?? () from /usr/lib64/libX11.so.6
#11 0x00007f75a5b2c547 in _XEventsQueued () from /usr/lib64/libX11.so.6
#12 0x00007f75a5b1524b in XEventsQueued () from /usr/lib64/libX11.so.6
#13 0x00007f75a6f873dc in x11EventSourceCheck (s=0x777770) at kernel/qguieventdispatcher_glib.cpp:87
#14 0x00007f759f0b6cca in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#15 0x00007f759f0b74b0 in ?? () from /usr/lib64/libglib-2.0.so.0
#16 0x00007f759f0b78e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#17 0x00007f75a7b441e6 in QEventDispatcherGlib::processEvents (this=0x6257d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#18 0x00007f75a6f8721e in QGuiEventDispatcherGlib::processEvents (this=0x7fff51a07914, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007f75a7b19432 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007f75a7b1980c in QEventLoop::exec (this=0x7fff51a07d70, flags=) at kernel/qeventloop.cpp:201
#21 0x00007f75a7b1e4bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#22 0x0000000000408732 in main (argc=1, argv=0x7fff51a09d48) at /usr/src/debug/amarok/src/main.cpp:237

Reported using DrKonqi
Comment 1 jose bernardo silva 2010-07-11 08:07:24 UTC
Created attachment 48764 [details]
New crash information added by DrKonqi

amarok (2.3.1) on KDE Platform 4.4.90 (KDE 4.4.90 (KDE 4.5 RC1)) using Qt 4.7.0

- What I was doing when the application crashed:
I had just waited about one hour for amarok to finish scanning my external hd for my music collection. After the hd activity had stopped for about 10 minutes, and no file showed in amarok, I tried clicking the eject button.

- Unusual behavior I noticed:
Amarok crashed

- Custom settings of the application:
None, started with a clean configuration.

-- Backtrace (Reduced):
#8  0x00d8c690 in Meta::MediaDeviceHandler::privateParseTracks (this=0x4f0049) at ../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:840
#9  0x00d8de05 in Meta::ParseWorkerThread::run (this=0x9f72d90) at ../../src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1277
#10 0x03226164 in ThreadWeaver::JobRunHelper::runTheJob (this=0xad39a25c, th=0x9936568, job=0x9f72d90) at ../../../threadweaver/Weaver/Job.cpp:106
#11 0x032264c1 in ThreadWeaver::Job::execute (this=0x9f72d90, th=0x9936568) at ../../../threadweaver/Weaver/Job.cpp:135
#12 0x0322518a in ThreadWeaver::ThreadRunHelper::run (this=0xad39a2e4, parent=0x9937168, th=0x9936568) at ../../../threadweaver/Weaver/Thread.cpp:95
Comment 2 Myriam Schweingruber 2010-07-18 02:14:37 UTC
*** Bug 244989 has been marked as a duplicate of this bug. ***
Comment 3 Myriam Schweingruber 2010-07-22 00:02:56 UTC
*** Bug 245340 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2010-07-23 00:49:13 UTC
*** Bug 245484 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2010-07-23 00:57:46 UTC
*** Bug 245487 has been marked as a duplicate of this bug. ***
Comment 6 Vasilis Vasaitis 2010-07-26 15:08:41 UTC
Created attachment 49489 [details]
New crash information added by DrKonqi

Hi, I'm attaching my crash to this bug report because both the circumstances and the backtrace appear to be similar. In my case, amarok crashed just after unmounting my USB mp3 player through the device list applet on the panel.
Comment 7 Mickaël 2010-12-11 22:17:38 UTC
Created attachment 54439 [details]
New crash information added by DrKonqi

amarok (2.4-GIT) on KDE Platform 4.5.4 (KDE 4.5.4) using Qt 4.7.1

- What I was doing when the application crashed:
Removing the USB media device (my Samsung Jet phone, in Mass Storage mode)...

-- Backtrace (Reduced):
#7  0x00007f7acfb95f24 in Handler::UmsReadCapability::setAssociateTrack (this=0x7f7ab8069400, track=...) at /donnees/amarok-git/src/core-impl/collections/umscollection/handler/capabilities/UmsReadCapability.cpp:55
#8  0x00007f7af061b4d1 in Meta::MediaDeviceHandler::privateParseTracks (this=0x17b21c0) at /donnees/amarok-git/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:867
#9  0x00007f7af061d8cc in Meta::ParseWorkerThread::run (this=0x2228610) at /donnees/amarok-git/src/core-impl/collections/mediadevicecollection/handler/MediaDeviceHandler.cpp:1304
[...]
#11 0x00007f7aebdd7cce in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
[...]
#13 0x00007f7aebdd7538 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
Comment 8 Myriam Schweingruber 2011-01-03 23:55:28 UTC
*** Bug 261422 has been marked as a duplicate of this bug. ***
Comment 9 Ivan D Vasin 2011-01-04 00:19:50 UTC
(In reply to comment #8)
> *** Bug 261422 has been marked as a duplicate of this bug. ***

but that crash isn't caused by adding or removing a device.  it is triggered even when the device is mounted before launching Amarok, and without removing the device.  either that's not a dupe or this bug's title should be changed accordingly.
Comment 10 Ralf Engels 2011-03-05 15:37:37 UTC
MediaDeviceHandler is given to the thread but no apparent code ensures that the handler is not deleted during the running of the parser thread.

This is a bigger change to fix.
Comment 11 Myriam Schweingruber 2011-11-15 07:56:17 UTC
Is this still valid?
Comment 12 Myriam Schweingruber 2012-01-01 14:37:46 UTC
Reproducible with Amarok 2.5
Comment 13 Matěj Laitl 2012-01-03 09:50:03 UTC
I doubt this is reproducible, Handler::UmsReadCapability was removed before 2.5.0. Myriam?
Comment 14 Myriam Schweingruber 2012-01-03 19:47:51 UTC
Darn, I should have looked better at the backtrace I got.

Closing, since the incriminated Handler is not here anymore.
Comment 15 Matěj Laitl 2012-02-05 23:32:31 UTC
Changing NEEDSINFO → RESOLVED so that his doesn't pop in searches.