Bug 269811 - Amarok crashes after removing the external device
Summary: Amarok crashes after removing the external device
Status: RESOLVED DUPLICATE of bug 259801
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 2.4.1
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-31 10:49 UTC by Paulo Fidalgo
Modified: 2011-03-31 11:56 UTC (History)
0 users

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 Paulo Fidalgo 2011-03-31 10:49:48 UTC
Application: amarok (2.4.0)
KDE Platform Version: 4.5.5 (KDE 4.5.5)
Qt Version: 4.7.1
Operating System: Linux 2.6.35.11-83.fc14.x86_64 x86_64
Distribution (Platform): Fedora RPMs

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

I was playing some music from my collection (lives on an external ext3 driver) and I disconnected it.
Then after a reconnect, amarok played for a second or two and then crashed.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f3d6c972840 (LWP 321))]

Thread 13 (Thread 0x7f3d467fc700 (LWP 362)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003789793d84 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x3789aab4e0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x0000003789793db9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x3789ab95b4) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x0000003e12406ccb in start_thread (arg=0x7f3d467fc700) at pthread_create.c:301
#4  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 12 (Thread 0x7f3d46ffd700 (LWP 545)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003782672ddb in wait (this=<value optimized out>, mutex=0x19ad4b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x19ad4b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x000000378cc0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2244c50, th=0x190ce20) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000378cc0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2de7970, th=0x190ce20) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000378cc0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2de7970, th=0x190ce20) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000378cc0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2de7970, th=0x190ce20) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x000000378cc0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2de7970, th=0x190ce20) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#8  0x000000378cc0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3d46ffcd50, parent=0x2244c50, th=0x190ce20) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#9  0x000000378cc0b5b8 in ThreadWeaver::Thread::run (this=0x190ce20) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#10 0x00000037826726ee in QThreadPrivate::start (arg=0x190ce20) at thread/qthread_unix.cpp:285
#11 0x0000003e12406ccb in start_thread (arg=0x7f3d46ffd700) at pthread_create.c:301
#12 0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 11 (Thread 0x7f3d477fe700 (LWP 546)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003782672ddb in wait (this=<value optimized out>, mutex=0x19ad4b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x19ad4b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x000000378cc0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2244c50, th=0x18a4e30) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000378cc0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2de7970, th=0x18a4e30) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000378cc0c75c in ThreadWeaver::WorkingHardState::applyForWork (this=0x2de7970, th=0x18a4e30) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x000000378cc0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3d477fdd50, parent=0x2244c50, th=0x18a4e30) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#7  0x000000378cc0b5b8 in ThreadWeaver::Thread::run (this=0x18a4e30) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00000037826726ee in QThreadPrivate::start (arg=0x18a4e30) at thread/qthread_unix.cpp:285
#9  0x0000003e12406ccb in start_thread (arg=0x7f3d477fe700) at pthread_create.c:301
#10 0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 10 (Thread 0x7f3d5a17b700 (LWP 547)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003782672ddb in wait (this=<value optimized out>, mutex=0x19ad4b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x19ad4b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x000000378cc0a0b4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2244c50, th=0x19ab910) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x000000378cc0c743 in ThreadWeaver::WorkingHardState::applyForWork (this=0x2de7970, th=0x19ab910) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x000000378cc0b52f in ThreadWeaver::ThreadRunHelper::run (this=0x7f3d5a17ad50, parent=0x2244c50, th=0x19ab910) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:87
#6  0x000000378cc0b5b8 in ThreadWeaver::Thread::run (this=0x19ab910) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#7  0x00000037826726ee in QThreadPrivate::start (arg=0x19ab910) at thread/qthread_unix.cpp:285
#8  0x0000003e12406ccb in start_thread (arg=0x7f3d5a17b700) at pthread_create.c:301
#9  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 9 (Thread 0x7f3d3171b700 (LWP 549)):
#0  0x0000003e118d9093 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x0000003782783911 in qt_safe_select (nfds=87, fdread=0x7f3d3171a3f0, fdwrite=0x7f3d3171a370, fdexcept=0x0, orig_timeout=<value optimized out>) at kernel/qcore_unix.cpp:82
#2  0x0000003782737dca in select_msecs (nfds=<value optimized out>, fdread=<value optimized out>, fdwrite=<value optimized out>, timeout=<value optimized out>) at io/qprocess_unix.cpp:880
#3  0x0000003782738dfb in QProcessPrivate::waitForReadyRead (this=0x7f3d2c002580, msecs=-1) at io/qprocess_unix.cpp:961
#4  0x00007f3d5ac38454 in ?? () from /usr/lib64/libamarok-sqlcollection.so.1
#5  0x00007f3d5ac3934e in ?? () from /usr/lib64/libamarok-sqlcollection.so.1
#6  0x000000378cc0bc11 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f3d3171acc0, th=0x1ed10c0, job=0xddeb10) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Job.cpp:106
#7  0x000000378cc0bd4e in ThreadWeaver::Job::execute (this=0xddeb10, th=0x1ed10c0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Job.cpp:135
#8  0x000000378cc0b4ff in ThreadWeaver::ThreadRunHelper::run (this=0x7f3d3171ad50, parent=0x2244c50, th=0x1ed10c0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:95
#9  0x000000378cc0b5b8 in ThreadWeaver::Thread::run (this=0x1ed10c0) at /usr/src/debug/kdelibs-4.5.5/threadweaver/Weaver/Thread.cpp:142
#10 0x00000037826726ee in QThreadPrivate::start (arg=0x1ed10c0) at thread/qthread_unix.cpp:285
#11 0x0000003e12406ccb in start_thread (arg=0x7f3d3171b700) at pthread_create.c:301
#12 0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 8 (Thread 0x7f3d2bfff700 (LWP 550)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000035bcf287f4 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#2  0x0000003e12406ccb in start_thread (arg=0x7f3d2bfff700) at pthread_create.c:301
#3  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 7 (Thread 0x7f3d28cda700 (LWP 23468)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000039faa88c80 in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x0000003e1886bbc4 in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:319
#3  0x0000003e18869446 in g_thread_create_proxy (data=0x2afc630) at gthread.c:1897
#4  0x0000003e12406ccb in start_thread (arg=0x7f3d28cda700) at pthread_create.c:301
#5  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 6 (Thread 0x7f3d2a4dd700 (LWP 23469)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000039faa88c80 in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x0000003e1886bbc4 in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:319
#3  0x0000003e18869446 in g_thread_create_proxy (data=0x7f3d14002cf0) at gthread.c:1897
#4  0x0000003e12406ccb in start_thread (arg=0x7f3d2a4dd700) at pthread_create.c:301
#5  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 5 (Thread 0x7f3d294db700 (LWP 23472)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000039faa88c80 in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x0000003e1886bbc4 in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:319
#3  0x0000003e18869446 in g_thread_create_proxy (data=0x7f3d24013df0) at gthread.c:1897
#4  0x0000003e12406ccb in start_thread (arg=0x7f3d294db700) at pthread_create.c:301
#5  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f3d29cdc700 (LWP 23473)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000039faa88c80 in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x0000003e1886bbc4 in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:319
#3  0x0000003e18869446 in g_thread_create_proxy (data=0x7f3d24013cf0) at gthread.c:1897
#4  0x0000003e12406ccb in start_thread (arg=0x7f3d29cdc700) at pthread_create.c:301
#5  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f3d1bfff700 (LWP 23474)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00000039faa88c80 in ?? () from /usr/lib64/libgstreamer-0.10.so.0
#2  0x0000003e1886bbc4 in g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:319
#3  0x0000003e18869446 in g_thread_create_proxy (data=0x7f3d240178b0) at gthread.c:1897
#4  0x0000003e12406ccb in start_thread (arg=0x7f3d1bfff700) at pthread_create.c:301
#5  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f3d1b7fe700 (LWP 23867)):
#0  0x0000003e118d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003b8462c3bf in ?? () from /usr/lib64/libpulse.so.0
#2  0x0000003b8461e166 in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x0000003b8461e799 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x0000003b8461e850 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x0000003b8462c35b in ?? () from /usr/lib64/libpulse.so.0
#6  0x0000003b85238888 in ?? () from /usr/lib64/libpulsecommon-0.9.21.so
#7  0x0000003e12406ccb in start_thread (arg=0x7f3d1b7fe700) at pthread_create.c:301
#8  0x0000003e118e0c2d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f3d6c972840 (LWP 321)):
[KCrash Handler]
#6  Phonon::Gstreamer::Backend::logMessage (this=0x0, message=..., priority=2, obj=0xdd1510) at /usr/src/debug/phonon-4.4.3/gstreamer/backend.cpp:474
#7  0x00007f3d60be74c3 in Phonon::Gstreamer::MediaObject::changeState (this=0xdd1510, newstate=Phonon::ErrorState) at /usr/src/debug/phonon-4.4.3/gstreamer/mediaobject.cpp:763
#8  0x00007f3d60bebc74 in Phonon::Gstreamer::MediaObject::handleBusMessage (this=0xdd1510, message=<value optimized out>) at /usr/src/debug/phonon-4.4.3/gstreamer/mediaobject.cpp:1495
#9  0x00007f3d60bdba46 in Phonon::Gstreamer::Backend::qt_metacall (this=0xe7cee0, _c=<value optimized out>, _id=<value optimized out>, _a=0x22aae20) at /usr/src/debug/phonon-4.4.3/x86_64-redhat-linux-gnu/gstreamer/moc_backend.cpp:82
#10 0x000000378276fb4a in QObject::event (this=0xe7cee0, e=<value optimized out>) at kernel/qobject.cpp:1211
#11 0x0000003783fb78c4 in QApplicationPrivate::notify_helper (this=0xca9a80, receiver=0xe7cee0, e=0x29d5420) at kernel/qapplication.cpp:4445
#12 0x0000003783fbc3da in QApplication::notify (this=<value optimized out>, receiver=0xe7cee0, e=0x29d5420) at kernel/qapplication.cpp:4324
#13 0x00000035b6820596 in KApplication::notify (this=0x7fffe60d3c50, receiver=0xe7cee0, event=0x29d5420) at /usr/src/debug/kdelibs-4.5.5/kdeui/kernel/kapplication.cpp:310
#14 0x000000378275b7ac in QCoreApplication::notifyInternal (this=0x7fffe60d3c50, receiver=0xe7cee0, event=0x29d5420) at kernel/qcoreapplication.cpp:732
#15 0x000000378275ef95 in sendEvent (receiver=0x0, event_type=0, data=0xb42a40) at kernel/qcoreapplication.h:215
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb42a40) at kernel/qcoreapplication.cpp:1373
#17 0x0000003782786723 in sendPostedEvents (s=0xcad2c0) at kernel/qcoreapplication.h:220
#18 postEventSourceDispatch (s=0xcad2c0) at kernel/qeventdispatcher_glib.cpp:277
#19 0x0000003e18841e33 in g_main_dispatch (context=0xcac520) at gmain.c:2149
#20 g_main_context_dispatch (context=0xcac520) at gmain.c:2702
#21 0x0000003e18842610 in g_main_context_iterate (context=0xcac520, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#22 0x0000003e188428ad in g_main_context_iteration (context=0xcac520, may_block=1) at gmain.c:2843
#23 0x00000037827868bf in QEventDispatcherGlib::processEvents (this=0xb42130, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#24 0x000000378405c59e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#25 0x000000378275ab42 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#26 0x000000378275ad8c in QEventLoop::exec (this=0x7fffe60d3be0, flags=...) at kernel/qeventloop.cpp:201
#27 0x000000378275f24b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#28 0x000000000040954d in _start ()

Possible duplicates by query: bug 269514, bug 269513, bug 265962, bug 265172, bug 264558.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-03-31 11:56:13 UTC
The problem is with Phonon, please upgrade to KDE 4.6 as this is already solved in that version.

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