Bug 254905 - Amarok crashes when deleting MP3 files from an iPod
Summary: Amarok crashes when deleting MP3 files from an iPod
Status: RESOLVED DUPLICATE of bug 233170
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.3.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.4.0
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 22:02 UTC by dbachran
Modified: 2010-10-22 14:44 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 dbachran 2010-10-21 22:02:00 UTC
Application: amarok (2.3.2)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-22-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
I was deleting MP3 files from a connected iPod Mini by selecting the Genre and clicking "Delete" in the context menu. The progress bar in the bottom right didn't indicate any progress (kept displaying "0%", even after a few minutes). But the selected Genre was already gone in the tree view. After attempting to delete the next Genre, Amarok crashes on me. This is reproducible, although it seems that after a restart of Amarok the MP3 files on the iPod are gone (i.e they are not visible in the tree any more and the free size is growing...).

The crash can be reproduced every time.

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

Thread 14 (Thread 0xb6246b70 (LWP 3183)):
#0  0x0232d7a4 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00c1afb6 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0x023bc1e6 in ?? () from /lib/libglib-2.0.so.0
#3  0x023bcba7 in g_main_loop_run () from /lib/libglib-2.0.so.0
#4  0x02e4d6b4 in ?? () from /usr/lib/libgio-2.0.so.0
#5  0x023e348f in ?? () from /lib/libglib-2.0.so.0
#6  0x02329cc9 in start_thread () from /lib/libpthread.so.0
#7  0x00c0d6ae in clone () from /lib/libc.so.6

Thread 13 (Thread 0xaef89b70 (LWP 3184)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e884 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1ae04 in pthread_cond_timedwait () from /lib/libc.so.6
#3  0x0347cb3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 12 (Thread 0xae788b70 (LWP 3185)):
#0  0x07840e36 in clock_gettime () from /lib/librt.so.1
#1  0x0091a50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x009f16e5 in QTimerInfoList::updateCurrentTime (this=0x97477cc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x009f172a in QTimerInfoList::timerWait (this=0x97477cc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x009ef7a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xae78804c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x009ef83d in timerSourcePrepare (source=0x0, timeout=0x7844ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x023bbe6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x023bc279 in ?? () from /lib/libglib-2.0.so.0
#9  0x023bc848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x009ef59f in QEventDispatcherGlib::processEvents (this=0x96f2060, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x009bf609 in QEventLoop::processEvents (this=0xae788220, flags=) at kernel/qeventloop.cpp:149
#12 0x009bfa8a in QEventLoop::exec (this=0xae788220, flags=...) at kernel/qeventloop.cpp:201
#13 0x008bbb7e in QThread::exec (this=0x96f0d18) at thread/qthread.cpp:490
#14 0x0341981a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x008bedf9 in QThreadPrivate::start (arg=0x96f0d18) at thread/qthread_unix.cpp:266
#16 0x02329cc9 in start_thread () from /lib/libpthread.so.0
#17 0x00c0d6ae in clone () from /lib/libc.so.6

Thread 11 (Thread 0xadf87b70 (LWP 3186)):
#0  0x02328610 in __i686.get_pc_thunk.bx () from /lib/libpthread.so.0
#1  0x0232d7a9 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#2  0x00c1afb6 in pthread_mutex_unlock () from /lib/libc.so.6
#3  0x029d0961 in pa_mutex_unlock () from /usr/lib/libpulsecommon-0.9.21.so
#4  0x080c1549 in ?? () from /usr/lib/libpulse.so.0
#5  0x080adab9 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#6  0x080afa73 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#7  0x080afb44 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#8  0x080c1303 in ?? () from /usr/lib/libpulse.so.0
#9  0x029d1bd5 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#10 0x02329cc9 in start_thread () from /lib/libpthread.so.0
#11 0x00c0d6ae in clone () from /lib/libc.so.6

Thread 10 (Thread 0xa9785b70 (LWP 3187)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0x0348eb54 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 9 (Thread 0xa8f84b70 (LWP 3188)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0x0348eb54 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 8 (Thread 0xa8783b70 (LWP 3189)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0x0348eb54 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 7 (Thread 0xa788eb70 (LWP 3191)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0x008bf9c7 in wait (this=0x9c549d0, mutex=0x9c55310, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c549d0, mutex=0x9c55310, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00e6e030 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9c549b8, th=0x9c5df18) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00e717dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9c54a30, th=0x9c5df18) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00e6d55b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9c549b8, th=0x9c5df18) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00e718d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9c54a30, th=0x9c5df18) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00e6e533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c549b8, th=0x9c5df18, previous=0xa39a5c8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00e6f95e in ThreadWeaver::ThreadRunHelper::run (this=0xa788e294, parent=0x9c549b8, th=0x9c5df18) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00e7007b in ThreadWeaver::Thread::run (this=0x9c5df18) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x008bedf9 in QThreadPrivate::start (arg=0x9c5df18) at thread/qthread_unix.cpp:266
#13 0x02329cc9 in start_thread () from /lib/libpthread.so.0
#14 0x00c0d6ae in clone () from /lib/libc.so.6

Thread 6 (Thread 0xa5fd8b70 (LWP 3192)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0x008bf9c7 in wait (this=0x9c549d0, mutex=0x9c55310, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c549d0, mutex=0x9c55310, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00e6e030 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9c549b8, th=0x9cc6848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00e717dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9c54a30, th=0x9cc6848) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00e6d55b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9c549b8, th=0x9cc6848) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00e718d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9c54a30, th=0x9cc6848) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00e6e533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c549b8, th=0x9cc6848, previous=0xa0e1a50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00e6f95e in ThreadWeaver::ThreadRunHelper::run (this=0xa5fd8294, parent=0x9c549b8, th=0x9cc6848) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00e7007b in ThreadWeaver::Thread::run (this=0x9cc6848) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x008bedf9 in QThreadPrivate::start (arg=0x9cc6848) at thread/qthread_unix.cpp:266
#13 0x02329cc9 in start_thread () from /lib/libpthread.so.0
#14 0x00c0d6ae in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa57d7b70 (LWP 3193)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0x008bf9c7 in wait (this=0x9c549d0, mutex=0x9c55310, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c549d0, mutex=0x9c55310, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00e6e030 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9c549b8, th=0x9cc75b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00e717dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9c54a30, th=0x9cc75b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00e6d55b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9c549b8, th=0x9cc75b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00e718d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9c54a30, th=0x9cc75b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00e6e533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c549b8, th=0x9cc75b0, previous=0x9c4da38) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00e6f95e in ThreadWeaver::ThreadRunHelper::run (this=0xa57d7294, parent=0x9c549b8, th=0x9cc75b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00e7007b in ThreadWeaver::Thread::run (this=0x9cc75b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x008bedf9 in QThreadPrivate::start (arg=0x9cc75b0) at thread/qthread_unix.cpp:266
#13 0x02329cc9 in start_thread () from /lib/libpthread.so.0
#14 0x00c0d6ae in clone () from /lib/libc.so.6

Thread 4 (Thread 0xa4fd6b70 (LWP 3194)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0x008bf9c7 in wait (this=0x9c549d0, mutex=0x9c55310, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c549d0, mutex=0x9c55310, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00e6e030 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9c549b8, th=0xa670af98) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x00e717dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9c54a30, th=0xa670af98) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x00e6d55b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9c549b8, th=0xa670af98) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x00e718d2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9c54a30, th=0xa670af98) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x00e6e533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9c549b8, th=0xa670af98, previous=0xa5b8fc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x00e6f95e in ThreadWeaver::ThreadRunHelper::run (this=0xa4fd6294, parent=0x9c549b8, th=0xa670af98) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x00e7007b in ThreadWeaver::Thread::run (this=0xa670af98) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x008bedf9 in QThreadPrivate::start (arg=0xa670af98) at thread/qthread_unix.cpp:266
#13 0x02329cc9 in start_thread () from /lib/libpthread.so.0
#14 0x00c0d6ae in clone () from /lib/libc.so.6

Thread 3 (Thread 0xa33fdb70 (LWP 3199)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0x03659877 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x37581a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x036598c1 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x37581a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x02329cc9 in start_thread () from /lib/libpthread.so.0
#6  0x00c0d6ae in clone () from /lib/libc.so.6

Thread 2 (Thread 0x9fb23b70 (LWP 3205)):
#0  0x00b3c416 in __kernel_vsyscall ()
#1  0x0232e4dc in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00c1adad in pthread_cond_wait () from /lib/libc.so.6
#3  0xb72053a5 in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb7205481 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0x02329cc9 in start_thread () from /lib/libpthread.so.0
#6  0x00c0d6ae in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb64ed770 (LWP 3182)):
[KCrash Handler]
#7  size (this=0xa44a6f8) at /usr/include/qt4/QtCore/qlist.h:94
#8  indexOf (this=0xa44a6f8) at /usr/include/qt4/QtCore/qlist.h:829
#9  CollectionTreeItem::row (this=0xa44a6f8) at ../../src/browsers/CollectionTreeItem.cpp:278
#10 0x00fb57cc in CollectionTreeItemModelBase::handleSpecialQueryResult (this=0x9cbb208, type=CollectionTreeItem::VariousArtist, qm=0xa49f2a8, dataList=...) at ../../src/browsers/CollectionTreeItemModelBase.cpp:905
#11 0x00fb637a in CollectionTreeItemModelBase::newResultReady (this=0x9cbb208, collectionId=..., data=...) at ../../src/browsers/CollectionTreeItemModelBase.cpp:880
#12 0x00faf23a in CollectionTreeItemModelBase::qt_metacall (this=0x9cbb208, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xa46265e8) at ./CollectionTreeItemModelBase.moc:94
#13 0x00fa4f0a in CollectionTreeItemModel::qt_metacall (this=0x9cbb208, _c=QMetaObject::InvokeMetaMethod, _id=27, _a=0xa46265e8) at ./CollectionTreeItemModel.moc:73
#14 0x009c68ca in QMetaObject::metacall (object=0x9cbb208, cl=QMetaObject::QueryPropertyScriptable, idx=27, argv=0xa46265e8) at kernel/qmetaobject.cpp:237
#15 0x009d1df6 in QMetaCallEvent::placeMetaCall (this=0xa4618120, object=0x9cbb208) at kernel/qobject.cpp:534
#16 0x009d36a2 in QObject::event (this=0x9cbb208, e=0xa44a6f8) at kernel/qobject.cpp:1219
#17 0x01986fdc in QApplicationPrivate::notify_helper (this=0x9572a68, receiver=0x9cbb208, e=0xa4618120) at kernel/qapplication.cpp:4396
#18 0x0198d04e in QApplication::notify (this=0xbfa77b8c, receiver=0x9cbb208, e=0xa4618120) at kernel/qapplication.cpp:3798
#19 0x003f868a in KApplication::notify (this=0xbfa77b8c, receiver=0x9cbb208, event=0xa4618120) at ../../kdeui/kernel/kapplication.cpp:310
#20 0x009c0b3b in QCoreApplication::notifyInternal (this=0xbfa77b8c, receiver=0x9cbb208, event=0xa4618120) at kernel/qcoreapplication.cpp:732
#21 0x009c3d8b in sendEvent (receiver=0x0, event_type=0, data=0x9484930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9484930) at kernel/qcoreapplication.cpp:1373
#23 0x009c3f4d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#24 0x009efa74 in sendPostedEvents (s=0x9574390) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=0x9574390) at kernel/qeventdispatcher_glib.cpp:277
#26 0x023b8855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x023bc668 in ?? () from /lib/libglib-2.0.so.0
#28 0x023bc848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x009ef565 in QEventDispatcherGlib::processEvents (this=0x9569f40, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#30 0x01a48be5 in QGuiEventDispatcherGlib::processEvents (this=0x9569f40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x009bf609 in QEventLoop::processEvents (this=0xbfa77ae4, flags=) at kernel/qeventloop.cpp:149
#32 0x009bfa8a in QEventLoop::exec (this=0xbfa77ae4, flags=...) at kernel/qeventloop.cpp:201
#33 0x009c400f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 0x01985e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#35 0x0804fba5 in main (argc=1, argv=0xbfa78404) at ../../src/main.cpp:237

Possible duplicates by query: bug 253611, bug 248102, bug 236764, bug 235327, bug 235027.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-10-22 14:44:57 UTC

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