Bug 279966

Summary: Amarok crashes on Phone plug [@ Collections::MediaDeviceCollection::collectionDisconnected]
Product: [Applications] amarok Reporter: Valdas <zmogas>
Component: Collections/Media DevicesAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: crash CC: a.j.ball, asraniel, aumuell, coinspelunk, frapell, iosephus84, josemtm87, laurent.erx, matej, ninniuz, opi, philotech, snafuxnj, thenoaa, usaywot
Priority: NOR Keywords: release_blocker
Version: 2.5.0   
Target Milestone: 2.6   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.6
Attachments: Output of "amarok -debug"
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Valdas 2011-08-12 13:06:59 UTC
Application: amarok (2.4.3)
KDE Platform Version: 4.7.00 (4.7.0)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-10-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
Amarok in Tray played internet radio. I connected my Galaxy GT-9000 trough USB to PC -> Info widget wery short (blinks) notyfies about something and Amarok crashes.

The crash can be reproduced every time.

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

Thread 14 (Thread 0xaad45b70 (LWP 3342)):
#0  0x0601ed41 in clock_gettime (clock_id=1, tp=0xaad44ff0) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00920dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x009ed4f2 in updateCurrentTime (this=0xa293674, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0xa293674, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x009ebd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaad450cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x009ebdcd in timerSourcePrepare (source=0xa293640, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x06927fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x06928e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x06929524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x009ec577 in QEventDispatcherGlib::processEvents (this=0xa28d970, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x009be289 in QEventLoop::processEvents (this=0xaad45280, flags=...) at kernel/qeventloop.cpp:149
#12 0x009be522 in QEventLoop::exec (this=0xaad45280, flags=...) at kernel/qeventloop.cpp:201
#13 0x008c82a0 in QThread::exec (this=0xa264db8) at thread/qthread.cpp:492
#14 0x0099ffdb in QInotifyFileSystemWatcherEngine::run (this=0xa264db8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x008cada2 in QThreadPrivate::start (arg=0xa264db8) at thread/qthread_unix.cpp:320
#16 0x07f0de99 in start_thread (arg=0xaad45b70) at pthread_create.c:304
#17 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0xa8b0bb70 (LWP 3344)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xa459450, mutex=0xa459438) at forward.c:139
#3  0x008cb467 in wait (this=0xa459338, mutex=0xa4595d8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa459338, mutex=0xa4595d8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00baa210 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa459320, th=0xa4598d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00baceac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa4596b8, th=0xa4598d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ba9e5b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa459320, th=0xa4598d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00bacf9a in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa4598d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa4598d0, previous=0x9f2960d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00bab9ce in ThreadWeaver::ThreadRunHelper::run (this=0xa8b0b2e4, parent=0xa459320, th=0xa4598d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00baba8b in ThreadWeaver::Thread::run (this=0xa4598d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x008cada2 in QThreadPrivate::start (arg=0xa4598d0) at thread/qthread_unix.cpp:320
#13 0x07f0de99 in start_thread (arg=0xa8b0bb70) at pthread_create.c:304
#14 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0xa7309b70 (LWP 3345)):
#0  0x06928759 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x0692903a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x06929524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x009ec577 in QEventDispatcherGlib::processEvents (this=0xa6368b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x009be289 in QEventLoop::processEvents (this=0xa7309280, flags=...) at kernel/qeventloop.cpp:149
#5  0x009be522 in QEventLoop::exec (this=0xa7309280, flags=...) at kernel/qeventloop.cpp:201
#6  0x008c82a0 in QThread::exec (this=0xa623828) at thread/qthread.cpp:492
#7  0x0099ffdb in QInotifyFileSystemWatcherEngine::run (this=0xa623828) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x008cada2 in QThreadPrivate::start (arg=0xa623828) at thread/qthread_unix.cpp:320
#9  0x07f0de99 in start_thread (arg=0xa7309b70) at pthread_create.c:304
#10 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0xa6b08b70 (LWP 3350)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xa459450, mutex=0xa459438) at forward.c:139
#3  0x008cb467 in wait (this=0xa459338, mutex=0xa4595d8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa459338, mutex=0xa4595d8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00baa210 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa459320, th=0xa68b6d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00baceac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa4596b8, th=0xa68b6d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ba9e5b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa459320, th=0xa68b6d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00bacf9a in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa68b6d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa68b6d8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00bacfb9 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa68b6d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa68b6d8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00bacfb9 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa68b6d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa68b6d8, previous=0xaa4c800) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x00bab9ce in ThreadWeaver::ThreadRunHelper::run (this=0xa6b082e4, parent=0xa459320, th=0xa68b6d8) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0x00baba8b in ThreadWeaver::Thread::run (this=0xa68b6d8) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x008cada2 in QThreadPrivate::start (arg=0xa68b6d8) at thread/qthread_unix.cpp:320
#17 0x07f0de99 in start_thread (arg=0xa6b08b70) at pthread_create.c:304
#18 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0xa6307b70 (LWP 3353)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xa459450, mutex=0xa459438) at forward.c:139
#3  0x008cb467 in wait (this=0xa459338, mutex=0xa4595d8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa459338, mutex=0xa4595d8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00baa210 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa459320, th=0xa675dd8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00baceac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa4596b8, th=0xa675dd8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ba9e5b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa459320, th=0xa675dd8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00bacf9a in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa675dd8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa675dd8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00bacfb9 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa675dd8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa675dd8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00bacfb9 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa675dd8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa675dd8, previous=0xa8fb418) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x00bab9ce in ThreadWeaver::ThreadRunHelper::run (this=0xa63072e4, parent=0xa459320, th=0xa675dd8) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0x00baba8b in ThreadWeaver::Thread::run (this=0xa675dd8) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0x008cada2 in QThreadPrivate::start (arg=0xa675dd8) at thread/qthread_unix.cpp:320
#17 0x07f0de99 in start_thread (arg=0xa6307b70) at pthread_create.c:304
#18 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0xa5b06b70 (LWP 3354)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xa459450, mutex=0xa459438) at forward.c:139
#3  0x008cb467 in wait (this=0xa459338, mutex=0xa4595d8, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa459338, mutex=0xa4595d8, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00baa210 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa459320, th=0xa65e500) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00baceac in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa4596b8, th=0xa65e500) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00ba9e5b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa459320, th=0xa65e500) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00bacf9a in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa65e500) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa65e500, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00bacfb9 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa65e500) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa65e500, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x00bacfb9 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa65e500) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa65e500, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x00bacfb9 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa4596b8, th=0xa65e500) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x00ba9da3 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa459320, th=0xa65e500, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x00bab9ce in ThreadWeaver::ThreadRunHelper::run (this=0xa5b062e4, parent=0xa459320, th=0xa65e500) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0x00baba8b in ThreadWeaver::Thread::run (this=0xa65e500) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x008cada2 in QThreadPrivate::start (arg=0xa65e500) at thread/qthread_unix.cpp:320
#19 0x07f0de99 in start_thread (arg=0xa5b06b70) at pthread_create.c:304
#20 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0xa51ffb70 (LWP 3355)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xb78997f0, mutex=0xb78997d8) at forward.c:139
#3  0xb72e3b57 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0x07f0de99 in start_thread (arg=0xa51ffb70) at pthread_create.c:304
#5  0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0xa40fdb70 (LWP 3358)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0x30332b0, mutex=0x3033298) at forward.c:139
#3  0x02f1a817 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x302e1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x02f1a851 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x302e1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x07f0de99 in start_thread (arg=0xa40fdb70) at pthread_create.c:304
#6  0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 6 (Thread 0xa930cb70 (LWP 3379)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xa1fc6c0, mutex=0x9de8aa0) at forward.c:139
#3  0x05c2593e in gst_queue_chain (pad=0xa1ef258, buffer=0xad2cca0) at gstqueue.c:995
#4  0x033ff3a0 in gst_pad_push (pad=0xa1edc70, buffer=0xad2cca0) at gstpad.c:4665
#5  0x033e8b5d in gst_proxy_pad_do_chain (pad=0xa1ed5a8, buffer=0xad2cca0) at gstghostpad.c:163
#6  0x033ff3a0 in gst_pad_push (pad=0xa1ef578, buffer=0xad2cca0) at gstpad.c:4665
#7  0x05c338d7 in gst_tee_do_push (tee=0x9fad038, data=0xad2cca0, is_list=0) at gsttee.c:671
#8  gst_tee_handle_data (tee=0x9fad038, data=0xad2cca0, is_list=0) at gsttee.c:750
#9  0x05c33dc6 in gst_tee_chain (pad=0x9f58718, buffer=0xad2cca0) at gsttee.c:824
#10 0x033ff3a0 in gst_pad_push (pad=0xa1d8cb8, buffer=0xad2cca0) at gstpad.c:4665
#11 0x05c26bb9 in gst_queue_push_one (pad=0xa1d8cb8) at gstqueue.c:1137
#12 gst_queue_loop (pad=0xa1d8cb8) at gstqueue.c:1245
#13 0x03428bba in gst_task_func (task=0xab841d8) at gsttask.c:318
#14 0x03429ef7 in default_func (tdata=0xa443f40, pool=0x9ef6008) at gsttaskpool.c:70
#15 0x06954a39 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#16 0x069522df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#17 0x07f0de99 in start_thread (arg=0xa930cb70) at pthread_create.c:304
#18 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xa041fb70 (LWP 3380)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xa14c430, mutex=0xa14c410) at forward.c:139
#3  0x02c42f5e in gst_base_sink_wait_preroll (sink=0xa0243d8) at gstbasesink.c:2183
#4  0x05474f8e in ?? () from /usr/lib/libgstaudio-0.10.so.0
#5  0x02c45716 in gst_base_sink_render_object (basesink=0xa0243d8, obj_type=<value optimized out>, obj=0xace0c08, pad=<value optimized out>) at gstbasesink.c:2875
#6  0x02c48ef9 in gst_base_sink_queue_object_unlocked (basesink=0xa0243d8, obj_type=2 '\002', obj=0xace0c08, prerollable=1, pad=<value optimized out>) at gstbasesink.c:3156
#7  0x02c49382 in gst_base_sink_chain_unlocked (basesink=0xa0243d8, obj_type=2 '\002', obj=0xace0c08, pad=<value optimized out>) at gstbasesink.c:3531
#8  0x02c4985a in gst_base_sink_chain_main (basesink=<value optimized out>, pad=0x9f583f8, obj_type=2 '\002', obj=0xace0c08) at gstbasesink.c:3569
#9  0x033ff3a0 in gst_pad_push (pad=0x9f58588, buffer=0xace0c08) at gstpad.c:4665
#10 0x02c5978d in gst_base_transform_chain (pad=0x9f584c0, buffer=0xace0c08) at gstbasetransform.c:2383
#11 0x033ff3a0 in gst_pad_push (pad=0x9f58650, buffer=0xace0c08) at gstpad.c:4665
#12 0x02c5978d in gst_base_transform_chain (pad=0x9f580d8, buffer=0xace0c08) at gstbasetransform.c:2383
#13 0x033ff3a0 in gst_pad_push (pad=0x9f58330, buffer=0xace0c08) at gstpad.c:4665
#14 0x02c5978d in gst_base_transform_chain (pad=0x9f58268, buffer=0xace0c08) at gstbasetransform.c:2383
#15 0x033ff3a0 in gst_pad_push (pad=0x9f58010, buffer=0xace0c08) at gstpad.c:4665
#16 0x05c26bb9 in gst_queue_push_one (pad=0x9f58010) at gstqueue.c:1137
#17 gst_queue_loop (pad=0x9f58010) at gstqueue.c:1245
#18 0x03428bba in gst_task_func (task=0xab840c8) at gsttask.c:318
#19 0x03429ef7 in default_func (tdata=0xa443f58, pool=0x9ef6008) at gsttaskpool.c:70
#20 0x06954a39 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#21 0x069522df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#22 0x07f0de99 in start_thread (arg=0xa041fb70) at pthread_create.c:304
#23 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0x9d1fdb70 (LWP 3385)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xa1e1d80, mutex=0xa1e5430) at forward.c:139
#3  0x05c2593e in gst_queue_chain (pad=0xa1d8bf0, buffer=0x9f277420) at gstqueue.c:995
#4  0x033ff3a0 in gst_pad_push (pad=0xa1de1f8, buffer=0x9f277420) at gstpad.c:4665
#5  0x033e8b5d in gst_proxy_pad_do_chain (pad=0xa1dda20, buffer=0x9f277420) at gstghostpad.c:163
#6  0x033ff3a0 in gst_pad_push (pad=0xacd2a10, buffer=0x9f277420) at gstpad.c:4665
#7  0x033e8b5d in gst_proxy_pad_do_chain (pad=0xa92ac40, buffer=0x9f277420) at gstghostpad.c:163
#8  0x033ff3a0 in gst_pad_push (pad=0x9f25b8d8, buffer=0x9f277420) at gstpad.c:4665
#9  0x081566b5 in ?? () from /usr/lib/gstreamer-0.10/libgstflump3dec.so
#10 0x081577d7 in ?? () from /usr/lib/gstreamer-0.10/libgstflump3dec.so
#11 0x033ff3a0 in gst_pad_push (pad=0xac81710, buffer=0xace84f0) at gstpad.c:4665
#12 0x04f531c2 in ?? () from /usr/lib/gstreamer-0.10/libgstaudioparsersbad.so
#13 0x04f53ee3 in ?? () from /usr/lib/gstreamer-0.10/libgstaudioparsersbad.so
#14 0x04f54c32 in ?? () from /usr/lib/gstreamer-0.10/libgstaudioparsersbad.so
#15 0x033ff3a0 in gst_pad_push (pad=0xac81580, buffer=0x9f25d458) at gstpad.c:4665
#16 0x04624d8a in ?? () from /usr/lib/gstreamer-0.10/libgsticydemux.so
#17 0x046252c9 in ?? () from /usr/lib/gstreamer-0.10/libgsticydemux.so
#18 0x033ff3a0 in gst_pad_push (pad=0xa1d8b28, buffer=0xa00f600) at gstpad.c:4665
#19 0x05c367b6 in gst_type_find_element_chain (pad=0xa1d8a60, buffer=<value optimized out>) at gsttypefindelement.c:765
#20 0x033ff3a0 in gst_pad_push (pad=0xa1de120, buffer=0xa00f600) at gstpad.c:4665
#21 0x033e8b5d in gst_proxy_pad_do_chain (pad=0xa1dd938, buffer=0xa00f600) at gstghostpad.c:163
#22 0x033ff3a0 in gst_pad_push (pad=0xab5b808, buffer=0xa00f600) at gstpad.c:4665
#23 0x02c50591 in gst_base_src_loop (pad=0xab5b808) at gstbasesrc.c:2508
#24 0x03428bba in gst_task_func (task=0xab84260) at gsttask.c:318
#25 0x03429ef7 in default_func (tdata=0xa443f10, pool=0x9ef6008) at gsttaskpool.c:70
#26 0x06954a39 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x069522df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#28 0x07f0de99 in start_thread (arg=0x9d1fdb70) at pthread_create.c:304
#29 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0x9c9fcb70 (LWP 3386)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x07f1248c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x0673e3fd in __pthread_cond_wait (cond=0xa19ee38, mutex=0xa19af78) at forward.c:139
#3  0x05c2593e in gst_queue_chain (pad=0x9f581a0, buffer=0x9b089868) at gstqueue.c:995
#4  0x033ff3a0 in gst_pad_push (pad=0xa1de048, buffer=0x9b089868) at gstpad.c:4665
#5  0x033e8b5d in gst_proxy_pad_do_chain (pad=0xa1dd850, buffer=0x9b089868) at gstghostpad.c:163
#6  0x033ff3a0 in gst_pad_push (pad=0xa1ef640, buffer=0x9b089868) at gstpad.c:4665
#7  0x05c33b46 in gst_tee_handle_data (tee=0x9fad248, data=0x9b089868, is_list=0) at gsttee.c:718
#8  0x05c33dc6 in gst_tee_chain (pad=0xa1e7f10, buffer=0x9b089868) at gsttee.c:824
#9  0x033ff3a0 in gst_pad_push (pad=0xa1ed4c0, buffer=0x9b089868) at gstpad.c:4665
#10 0x033e8b5d in gst_proxy_pad_do_chain (pad=0xa1edb98, buffer=0x9b089868) at gstghostpad.c:163
#11 0x033ff3a0 in gst_pad_push (pad=0xa1ef190, buffer=0x9b089868) at gstpad.c:4665
#12 0x02c5978d in gst_base_transform_chain (pad=0xa1ef0c8, buffer=0x9b089868) at gstbasetransform.c:2383
#13 0x033ff3a0 in gst_pad_push (pad=0xa1ef4b0, buffer=0x9b089868) at gstpad.c:4665
#14 0x02c5978d in gst_base_transform_chain (pad=0xa1ef3e8, buffer=0x9b089868) at gstbasetransform.c:2383
#15 0x033ff3a0 in gst_pad_push (pad=0xa1ef320, buffer=0x9b089868) at gstpad.c:4665
#16 0x05c26bb9 in gst_queue_push_one (pad=0xa1ef320) at gstqueue.c:1137
#17 gst_queue_loop (pad=0xa1ef320) at gstqueue.c:1245
#18 0x03428bba in gst_task_func (task=0xab84150) at gsttask.c:318
#19 0x03429ef7 in default_func (tdata=0xa443f48, pool=0x9ef6008) at gsttaskpool.c:70
#20 0x06954a39 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#21 0x069522df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#22 0x07f0de99 in start_thread (arg=0x9c9fcb70) at pthread_create.c:304
#23 0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xafbdbb70 (LWP 3387)):
#0  0x0022f416 in __kernel_vsyscall ()
#1  0x06721f76 in __poll (fds=0xac85c70, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x065f74a2 in ?? () from /usr/lib/libpulse.so.0
#3  0x065e63a9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0x065e6b84 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0x065e6c64 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0x065f7443 in ?? () from /usr/lib/libpulse.so.0
#7  0x024afa75 in ?? () from /usr/lib/libpulsecommon-0.9.22.so
#8  0x07f0de99 in start_thread (arg=0xafbdbb70) at pthread_create.c:304
#9  0x0673073e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb4c61a50 (LWP 3337)):
[KCrash Handler]
#7  d_func (sender=0x0, m=0x18824f4, local_signal_index=1, argv=0xbfd6ea78) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:125
#8  QMetaObject::activate (sender=0x0, m=0x18824f4, local_signal_index=1, argv=0xbfd6ea78) at kernel/qobject.cpp:3210
#9  0x011efe43 in Collections::MediaDeviceCollection::collectionDisconnected (this=0x0, _t1=...) at ./MediaDeviceCollection.moc:181
#10 0x011f00fe in Collections::MediaDeviceCollection::slotAttemptConnectionDone (this=0x0, success=false) at ../../src/core-impl/collections/mediadevicecollection/MediaDeviceCollection.cpp:193
#11 0x0393609a in Meta::MtpHandler::slotDeviceMatchSucceeded (this=0x9f26b428, job=0x9f2960d8) at ../../../../../src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp:1358
#12 0x039310ad in Meta::MtpHandler::qt_metacall (this=0x9f26b428, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfd6ec88) at moc_MtpHandler.cpp:75
#13 0x009c56ba in QMetaObject::metacall (object=0x9f26b428, cl=QMetaObject::InvokeMetaMethod, idx=29, argv=0xbfd6ec88) at kernel/qmetaobject.cpp:237
#14 0x009d54ff in QMetaObject::activate (sender=0x9f2960d8, m=0xbb2914, local_signal_index=1, argv=0xbfd6ec88) at kernel/qobject.cpp:3287
#15 0x00babee3 in ThreadWeaver::Job::done (this=0x9f2960d8, _t1=0x9f2960d8) at ./Job.moc:97
#16 0x00babff7 in ThreadWeaver::Job::qt_metacall (this=0x9f2960d8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xac7dfa0) at ./Job.moc:77
#17 0x03930fe2 in Meta::WorkerThread::qt_metacall (this=0x9f2960d8, _c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xac7dfa0) at moc_MtpHandler.cpp:129
#18 0x009c56ba in QMetaObject::metacall (object=0x9f2960d8, cl=QMetaObject::InvokeMetaMethod, idx=5, argv=0xac7dfa0) at kernel/qmetaobject.cpp:237
#19 0x009cfe16 in QMetaCallEvent::placeMetaCall (this=0xab586e8, object=0x9f2960d8) at kernel/qobject.cpp:535
#20 0x009d43b7 in QObject::event (this=0x9f2960d8, e=0xab586e8) at kernel/qobject.cpp:1226
#21 0x019c9d24 in QApplicationPrivate::notify_helper (this=0x9df6918, receiver=0x9f2960d8, e=0xab586e8) at kernel/qapplication.cpp:4462
#22 0x019ce8ce in QApplication::notify (this=0xbfd6f534, receiver=0x9f2960d8, e=0xab586e8) at kernel/qapplication.cpp:3862
#23 0x0040793a in KApplication::notify (this=0xbfd6f534, receiver=0x9f2960d8, event=0xab586e8) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x009bf0bb in QCoreApplication::notifyInternal (this=0xbfd6f534, receiver=0x9f2960d8, event=0xab586e8) at kernel/qcoreapplication.cpp:731
#25 0x009c2c79 in sendEvent (receiver=0x0, event_type=0, data=0x9cb8f20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9cb8f20) at kernel/qcoreapplication.cpp:1372
#27 0x009c2e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#28 0x009ec3c4 in sendPostedEvents (s=0x9dedd50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=0x9dedd50) at kernel/qeventdispatcher_glib.cpp:277
#30 0x06928aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0x06929270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0x06929524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0x009ec53c in QEventDispatcherGlib::processEvents (this=0x9cb8a78, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#34 0x01a801e5 in QGuiEventDispatcherGlib::processEvents (this=0x9cb8a78, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x009be289 in QEventLoop::processEvents (this=0xbfd6f4a4, flags=...) at kernel/qeventloop.cpp:149
#36 0x009be522 in QEventLoop::exec (this=0xbfd6f4a4, flags=...) at kernel/qeventloop.cpp:201
#37 0x009c2ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#38 0x019c78e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#39 0x08054e95 in main (argc=) at ../../src/main.cpp:289

Reported using DrKonqi
Comment 1 Valdas 2011-08-12 13:13:36 UTC
Created attachment 62776 [details]
Output of "amarok -debug"

Attached debug text from same crash session.
Comment 2 Franco Pellegrini 2011-09-02 21:23:59 UTC
Created attachment 63320 [details]
New crash information added by DrKonqi

amarok (2.4.3) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:

Amarok crashed when i connected my GT-I9100. here's my trace

-- Backtrace (Reduced):
#7  data (sender=0x0, m=0xb73299fc, local_signal_index=1, argv=0xbf910bf8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#9  d_func (sender=0x0, m=0xb73299fc, local_signal_index=1, argv=0xbf910bf8) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:125
[...]
#11 0xb6d78a65 in Collections::MediaDeviceCollection::collectionDisconnected (this=0x0, _t1=...) at ./MediaDeviceCollection.moc:181
#12 0xb6d78d32 in Collections::MediaDeviceCollection::slotAttemptConnectionDone (this=0x0, success=false) at ../../src/core-impl/collections/mediadevicecollection/MediaDeviceCollection.cpp:193
#13 0xa85ad1a8 in Meta::MtpHandler::slotDeviceMatchFailed (this=0x90ba5f8, job=0x909ba50) at ../../../../../src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp:1367
Comment 3 Myriam Schweingruber 2011-09-02 21:54:20 UTC
Setting status to confirmed.
Comment 4 Myriam Schweingruber 2011-09-08 20:08:42 UTC
*** Bug 281614 has been marked as a duplicate of this bug. ***
Comment 5 Mirza 2011-10-06 19:30:16 UTC
Created attachment 64291 [details]
New crash information added by DrKonqi

amarok (2.4.3) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.2

- What I was doing when the application crashed: connected samsung galaxy s to the laptop, and when i unplugged amarok crashed

-- Backtrace (Reduced):
#9  0x01397e43 in Collections::MediaDeviceCollection::collectionDisconnected(QString const&) () from /usr/lib/libamaroklib.so.1
#10 0x013980fe in Collections::MediaDeviceCollection::slotAttemptConnectionDone(bool) () from /usr/lib/libamaroklib.so.1
[...]
#15 0x001ceee3 in ThreadWeaver::Job::done (this=0xa073aeb0, _t1=0xa073aeb0) at ./Job.moc:97
#16 0x001ceff7 in ThreadWeaver::Job::qt_metacall (this=0xa073aeb0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xa0640370) at ./Job.moc:77
[...]
#20 0x006fa3b7 in QObject::event (this=0xa073aeb0, e=0xa060fea8) at kernel/qobject.cpp:1226
Comment 6 Bart Cerneels 2011-11-06 08:14:08 UTC
Git commit 67aa4d8811773bff9739761b04a5ce1f94006350 by Bart Cerneels.
Committed on 06/11/2011 at 08:58.
Pushed by shanachie into branch 'master'.

Add Changelog about new UMS plugin.

Fixes a lot of crashes and wishes.

BUG: 232051
BUG: 279966
BUG: 212617
BUG: 209161
FIXED-IN: 2.5

M  +1    -0    ChangeLog

http://commits.kde.org/amarok/67aa4d8811773bff9739761b04a5ce1f94006350
Comment 7 Myriam Schweingruber 2012-05-19 10:12:17 UTC
*** Bug 300260 has been marked as a duplicate of this bug. ***
Comment 8 Myriam Schweingruber 2012-05-19 10:13:18 UTC
Reopening, based on bug 300260
Comment 9 Myriam Schweingruber 2012-05-24 06:20:49 UTC
*** Bug 300534 has been marked as a duplicate of this bug. ***
Comment 10 Myriam Schweingruber 2012-05-31 18:43:00 UTC
*** Bug 300887 has been marked as a duplicate of this bug. ***
Comment 11 Beat Wolf 2012-06-02 15:31:38 UTC
Created attachment 71514 [details]
New crash information added by DrKonqi

amarok (2.5.0) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed:

Disconnected my galaxy S2 running ICS from the comupter.

-- Backtrace (Reduced):
#6  Collections::MediaDeviceCollection::slotAttemptConnectionDone (this=0x0, success=<optimized out>) at ../../src/core-impl/collections/mediadevicecollection/MediaDeviceCollection.cpp:179
#7  0x00007fcaf355516e in Meta::MtpHandler::slotDeviceMatchSucceeded (this=0x2917f40, job=0x2570120) at ../../../../../src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp:1355
[...]
#9  0x00007fcb1afabd22 in ThreadWeaver::Job::done (this=<optimized out>, _t1=0x2570120) at ./Job.moc:111
#10 0x00007fcb1dc77446 in QObject::event (this=0x2570120, e=<optimized out>) at kernel/qobject.cpp:1195
#11 0x00007fcb1e653894 in notify_helper (e=0x7fcad41f4600, receiver=0x2570120, this=0xb6bb50) at kernel/qapplication.cpp:4559
Comment 12 Matěj Laitl 2012-06-05 22:20:27 UTC
Reporters, workaround for this should be to disable the MTP plugin in Amarok configuration.

All the devices you trigger the crash with are MTP-capable, am I right? If not, you may want to try to upgrade to kdelibs >= 4.8.3 that contain a fix for media players misidentified as MTP devices when media-player-info is installed.
Comment 13 Ralf Engels 2012-06-21 20:36:55 UTC
Git commit fbba878ed503061f2fae05eea814570ad69c3138 by Ralf Engels.
Committed on 21/06/2012 at 15:12.
Pushed by rengels into branch 'master'.

Try to fix 279966 crash when unplugging a device which is still scanned

>From the crash log I could see that the m_memColl is already set to 0
when the scanning job sends it's signal.
FIXED-IN: 2.6

M  +5    -0    src/core-impl/collections/mtpcollection/handler/MtpHandler.cpp

http://commits.kde.org/amarok/fbba878ed503061f2fae05eea814570ad69c3138
Comment 14 Jekyll Wu 2012-07-10 01:35:10 UTC
*** Bug 303271 has been marked as a duplicate of this bug. ***
Comment 15 Myriam Schweingruber 2012-08-25 20:15:42 UTC
*** Bug 305774 has been marked as a duplicate of this bug. ***
Comment 16 Myriam Schweingruber 2012-08-29 10:08:35 UTC
*** Bug 305975 has been marked as a duplicate of this bug. ***
Comment 17 Myriam Schweingruber 2012-11-01 16:54:05 UTC
*** Bug 309373 has been marked as a duplicate of this bug. ***
Comment 18 Myriam Schweingruber 2012-11-15 23:15:53 UTC
*** Bug 310165 has been marked as a duplicate of this bug. ***
Comment 19 Myriam Schweingruber 2013-01-15 00:55:19 UTC
*** Bug 313277 has been marked as a duplicate of this bug. ***
Comment 20 Alexander Opitz 2013-01-17 13:47:22 UTC
Created attachment 76529 [details]
New crash information added by DrKonqi

amarok (2.6.0) on KDE Platform 4.9.97 using Qt 4.8.4

- What I was doing when the application crashed:

The screensaver was active. The notebook has only the function to play music stream via amarok.

-- Backtrace (Reduced):
Comment 21 Alexander Opitz 2013-01-17 13:47:22 UTC
Created attachment 76530 [details]
New crash information added by DrKonqi

amarok (2.6.0) on KDE Platform 4.9.97 using Qt 4.8.4

- What I was doing when the application crashed:

The screensaver was active. The notebook has only the function to play music stream via amarok.

-- Backtrace (Reduced):
Comment 22 Myriam Schweingruber 2013-02-28 23:51:45 UTC
*** Bug 315931 has been marked as a duplicate of this bug. ***