Bug 289059 - Amarok Crash Upon Ipod Removal
Summary: Amarok Crash Upon Ipod Removal
Status: RESOLVED DUPLICATE of bug 245852
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.6
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-15 18:44 UTC by eric.erfanian
Modified: 2011-12-15 19:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description eric.erfanian 2011-12-15 18:44:38 UTC
Application: amarok (2.4.3)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

I was just listening to some music and then unplugged my ipod touch from the computer, then Amarok crashed.

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

Thread 9 (Thread 0x7f468148d700 (LWP 2547)):
#0  0x00007f469c74552c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f469c745f82 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f469c746429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f46a235ef3e in QEventDispatcherGlib::processEvents (this=0x2131af0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f46a2332cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f46a2332ef7 in QEventLoop::exec (this=0x7f468148cdb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f46a224a27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f46a2315cbf in QInotifyFileSystemWatcherEngine::run (this=0x21019d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f46a224cd05 in QThreadPrivate::start (arg=0x21019d0) at thread/qthread_unix.cpp:331
#9  0x00007f469e1eaefc in start_thread (arg=0x7f468148d700) at pthread_create.c:304
#10 0x00007f46a19ec89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f4673fff700 (LWP 2676)):
#0  0x00007f469e1ed034 in __pthread_mutex_lock (mutex=0x2632a28) at pthread_mutex_lock.c:61
#1  0x00007f469c745361 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f469c745e6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f469c746429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f46a235ef3e in QEventDispatcherGlib::processEvents (this=0x1e0ea80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f46a2332cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f46a2332ef7 in QEventLoop::exec (this=0x7f4673ffedb0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f46a224a27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f46a2315cbf in QInotifyFileSystemWatcherEngine::run (this=0x2631710) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f46a224cd05 in QThreadPrivate::start (arg=0x2631710) at thread/qthread_unix.cpp:331
#10 0x00007f469e1eaefc in start_thread (arg=0x7f4673fff700) at pthread_create.c:304
#11 0x00007f46a19ec89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f46737fe700 (LWP 2709)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f46a224d1ab in wait (time=18446744073709551615, this=0x26fbb80) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x26fbda0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f469f77d864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26bbd00, th=0x26fc1d0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f469f77fe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x26fc1d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f469f77fe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x26fc1d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f469f77fe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x26fc1d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f469f77fe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x26fc1d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x00007f469f77fe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x26fc1d0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#9  0x00007f469f77eccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f46737fde00, parent=0x26bbd00, th=0x26fc1d0) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0x00007f469f77ed5b in ThreadWeaver::Thread::run (this=0x26fc1d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007f46a224cd05 in QThreadPrivate::start (arg=0x26fc1d0) at thread/qthread_unix.cpp:331
#12 0x00007f469e1eaefc in start_thread (arg=0x7f46737fe700) at pthread_create.c:304
#13 0x00007f46a19ec89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4672ffd700 (LWP 2710)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f46a224d1ab in wait (time=18446744073709551615, this=0x26fbb80) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x26fbda0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f469f77d864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26bbd00, th=0x26a0230) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f469f77fe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x26a0230) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f469f77fe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x26a0230) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f469f77eccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f4672ffce00, parent=0x26bbd00, th=0x26a0230) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f469f77ed5b in ThreadWeaver::Thread::run (this=0x26a0230) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f46a224cd05 in QThreadPrivate::start (arg=0x26a0230) at thread/qthread_unix.cpp:331
#9  0x00007f469e1eaefc in start_thread (arg=0x7f4672ffd700) at pthread_create.c:304
#10 0x00007f46a19ec89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f46727fc700 (LWP 2711)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f46a224d1ab in wait (time=18446744073709551615, this=0x26fbb80) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x26fbda0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f469f77d864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26bbd00, th=0x270d8c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f469f77fe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x270d8c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f469f77eccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f46727fbe00, parent=0x26bbd00, th=0x270d8c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f469f77ed5b in ThreadWeaver::Thread::run (this=0x270d8c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f46a224cd05 in QThreadPrivate::start (arg=0x270d8c0) at thread/qthread_unix.cpp:331
#8  0x00007f469e1eaefc in start_thread (arg=0x7f46727fc700) at pthread_create.c:304
#9  0x00007f46a19ec89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4671ffb700 (LWP 2712)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f46a224d1ab in wait (time=18446744073709551615, this=0x26fbb80) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x26fbda0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f469f77d864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x26bbd00, th=0x27126b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f469f77fe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x27126b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f469f77fe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x27126b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f469f77fe24 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2688f20, th=0x27126b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f469f77eccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f4671ffae00, parent=0x26bbd00, th=0x27126b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f469f77ed5b in ThreadWeaver::Thread::run (this=0x27126b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f46a224cd05 in QThreadPrivate::start (arg=0x27126b0) at thread/qthread_unix.cpp:331
#10 0x00007f469e1eaefc in start_thread (arg=0x7f4671ffb700) at pthread_create.c:304
#11 0x00007f46a19ec89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4670df0700 (LWP 2735)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f469e7c6fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f469e7c7019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f469e1eaefc in start_thread (arg=0x7f4670df0700) at pthread_create.c:304
#4  0x00007f46a19ec89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f466a42b700 (LWP 8652)):
#0  0x00007f46a19e0787 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:89
#1  0x00007f4699db003f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f4699da145c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f4699da1ac9 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f4699da1b80 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f4699daffef in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f469546fc78 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.0.so
#7  0x00007f469e1eaefc in start_thread (arg=0x7f466a42b700) at pthread_create.c:304
#8  0x00007f46a19ec89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f46a50907a0 (LWP 2405)):
[KCrash Handler]
#6  QTcpServer::nextPendingConnection (this=0x7fff708061b0) at socket/qtcpserver.cpp:535
#7  0x00007f46845886b1 in Handler::IpodArtworkCapability::getCover (this=<optimized out>, track=<optimized out>) at ../../../../../src/core-impl/collections/ipodcollection/handler/capabilities/IpodArtworkCapability.cpp:35
#8  0x00007f46a3e4f93e in Meta::MediaDeviceAlbum::image (this=0x7f4664046920, size=135) at ../../src/core-impl/collections/mediadevicecollection/MediaDeviceMeta.cpp:880
#9  0x00007f46a40eb0b5 in CoverCache::getCover (this=0x2447b60, album=..., size=135) at ../../src/covermanager/CoverCache.cpp:92
#10 0x00007f467824fb74 in CurrentEngine::update (this=0x26aaf80, track=...) at ../../../../../src/context/engines/current/CurrentEngine.cpp:184
#11 0x00007f4678250b94 in CurrentEngine::update (this=0x26aaf80, track=...) at ../../../../../src/context/engines/current/CurrentEngine.cpp:167
#12 0x00007f4678251624 in CurrentEngine::trackPlaying (this=0x26aaf80, track=...) at ../../../../../src/context/engines/current/CurrentEngine.cpp:125
#13 0x00007f4678252232 in CurrentEngine::qt_metacall (this=0x26aaf80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff708068d0) at ./CurrentEngine.moc:89
#14 0x00007f46a2346eba in QMetaObject::activate (sender=0x1bb5760, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff708068d0) at kernel/qobject.cpp:3278
#15 0x00007f46a4094765 in EngineController::trackPlaying (this=<optimized out>, _t1=<optimized out>) at ./EngineController.moc:247
#16 0x00007f46a4096188 in EngineController::slotNewTrackPlaying (this=0x1bb5760, source=<optimized out>) at ../../src/EngineController.cpp:1140
#17 0x00007f46a40a0de2 in EngineController::qt_metacall (this=0x1bb5760, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0x7fff70806b90) at ./EngineController.moc:205
#18 0x00007f46a2346eba in QMetaObject::activate (sender=0x205c660, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff70806b90) at kernel/qobject.cpp:3278
#19 0x00007f469f020af5 in Phonon::MediaObject::currentSourceChanged (this=<optimized out>, _t1=<optimized out>) at ./moc_mediaobject.cpp:236
#20 0x00007f469f0213fc in Phonon::MediaObjectPrivate::_k_currentSourceChanged (this=<optimized out>, source=...) at ../../phonon/mediaobject.cpp:599
#21 0x00007f469f0219e4 in Phonon::MediaObject::qt_metacall (this=0x205c660, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0x7fff70806d10) at ./moc_mediaobject.cpp:145
#22 0x00007f46a2346eba in QMetaObject::activate (sender=0x34592c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff70806d10) at kernel/qobject.cpp:3278
#23 0x00007f468b1ea182 in Phonon::Gstreamer::MediaObject::currentSourceChanged (this=<optimized out>, _t1=<optimized out>) at ./moc_mediaobject.cpp:212
#24 0x00007f468b1f1403 in Phonon::Gstreamer::MediaObject::setSource (this=0x34592c0, source=...) at ../../gstreamer/mediaobject.cpp:1049
#25 0x00007f469f01ee9b in Phonon::MediaObject::setCurrentSource (this=0x205c660, newSource=...) at ../../phonon/mediaobject.cpp:261
#26 0x00007f46a4096ba0 in EngineController::playUrl (this=0x1bb5760, url=..., offset=0) at ../../src/EngineController.cpp:526
#27 0x00007f46a40983e2 in EngineController::play (this=0x1bb5760, track=<optimized out>, offset=0) at ../../src/EngineController.cpp:428
#28 0x00007f46a4098839 in EngineController::setNextTrack (this=0x1bb5760, track=...) at ../../src/EngineController.cpp:795
#29 0x00007f46a3d4ddf6 in Playlist::Actions::play (this=<optimized out>, trackid=4050527199984785169, now=<optimized out>) at ../../src/playlist/PlaylistActions.cpp:224
#30 0x00007f46a3d4e5f0 in Playlist::Actions::requestNextTrack (this=0x1be6640) at ../../src/playlist/PlaylistActions.cpp:150
#31 0x00007f46a409a1d8 in EngineController::slotAboutToFinish (this=<optimized out>) at ../../src/EngineController.cpp:1023
#32 0x00007f46a40a07d0 in EngineController::slotStateChanged (this=0x1bb5760, newState=<optimized out>, oldState=Phonon::LoadingState) at ../../src/EngineController.cpp:1183
#33 0x00007f46a40a0d2e in EngineController::qt_metacall (this=0x1bb5760, _c=QMetaObject::InvokeMetaMethod, _id=41, _a=0x7fff70807d40) at ./EngineController.moc:206
#34 0x00007f46a2346eba in QMetaObject::activate (sender=0x1bbc500, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff70807d40) at kernel/qobject.cpp:3278
#35 0x00007f469f01f7ec in Phonon::MediaObject::stateChanged (this=<optimized out>, _t1=Phonon::ErrorState, _t2=Phonon::LoadingState) at ./moc_mediaobject.cpp:189
#36 0x00007f469f021abd in Phonon::MediaObject::qt_metacall (this=0x1bbc500, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x1bf3d00) at ./moc_mediaobject.cpp:123
#37 0x00007f46a234aa5e in QObject::event (this=0x1bbc500, e=<optimized out>) at kernel/qobject.cpp:1217
#38 0x00007f46a2d34424 in notify_helper (e=0x2ff3bf0, receiver=0x1bbc500, this=0x1a85b20) at kernel/qapplication.cpp:4486
#39 QApplicationPrivate::notify_helper (this=0x1a85b20, receiver=0x1bbc500, e=0x2ff3bf0) at kernel/qapplication.cpp:4458
#40 0x00007f46a2d39291 in QApplication::notify (this=0x7fff70808580, receiver=0x1bbc500, e=0x2ff3bf0) at kernel/qapplication.cpp:4365
#41 0x00007f46a4a95466 in KApplication::notify (this=0x7fff70808580, receiver=0x1bbc500, event=0x2ff3bf0) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007f46a2333afc in QCoreApplication::notifyInternal (this=0x7fff70808580, receiver=0x1bbc500, event=0x2ff3bf0) at kernel/qcoreapplication.cpp:787
#43 0x00007f46a233751f in sendEvent (event=0x2ff3bf0, receiver=0x1bbc500) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x18f9430) at kernel/qcoreapplication.cpp:1428
#45 0x00007f46a235ea73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#46 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#47 0x00007f469c745a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f469c746258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f469c746429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f46a235eed6 in QEventDispatcherGlib::processEvents (this=0x18faf40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#51 0x00007f46a2ddc07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007f46a2332cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007f46a2332ef7 in QEventLoop::exec (this=0x7fff70808510, flags=...) at kernel/qeventloop.cpp:201
#54 0x00007f46a2337789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#55 0x000000000040916e in main (argc=3, argv=0x7fff7080ab88) at ../../src/main.cpp:289

Reported using DrKonqi
Comment 1 Matěj Laitl 2011-12-15 19:39:08 UTC
Thanks for your report, Eric. This exact problem is already fixed in Amarok 2.5 beta, the fix will also be in Amarok 2.5 (to be released within days).

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