Bug 222162

Summary: Crash on attempt to delete file from IPod
Product: [Applications] amarok Reporter: Max <max>
Component: Collections/iPod iPhoneAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: matej
Priority: NOR    
Version: 2.2.0   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Max 2010-01-11 03:17:48 UTC
Application that crashed: amarok
Version of the application: 2.2.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Selected file on Ipod. Deleted it (confirmed). It died.
Did a find orphan operation just before that.
Ipod is 60gig white 1st gen video.
Is running in "disk mode" (did not automatically pick it up)



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

Thread 9 (Thread 0x7f76d6fd8910 (LWP 30368)):
#0  0x00007f76e522f82d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f76dbd8dc91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f76e522aa04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f76ea9b280d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f76d5a8f910 (LWP 30369)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f76d5a8ece0 in ?? ()
#2  0x00007fffa739f782 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 0x7f76d0e7c910 (LWP 30375)):
#0  0x00007f76e522f5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f76dbd9e983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f76e522aa04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f76ea9b280d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f76d4c77910 (LWP 30376)):
#0  0x00007f76e522f5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f76dbd9e983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f76e522aa04 in start_thread () from /lib/libpthread.so.0
#3  0x00007f76ea9b280d in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f76d4476910 (LWP 30378)):
#0  0x00007f76e522f5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f76eafb14fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f76e7c64326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f76e7c6645b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f76e7c66474 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f76e7c66474 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f76e7c66474 in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f76e7c64a5f in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00007f76e7c64eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#9  0x00007f76eafb0445 in ?? () from /usr/lib/libQtCore.so.4
#10 0x00007f76e522aa04 in start_thread () from /lib/libpthread.so.0
#11 0x00007f76ea9b280d in clone () from /lib/libc.so.6
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f76c4366910 (LWP 30379)):
#0  0x00007f76ea9a4b3b in write () from /lib/libc.so.6
#1  0x00007f76ea9448c3 in _IO_file_write () from /lib/libc.so.6
#2  0x00007f76ea945f05 in _IO_do_write () from /lib/libc.so.6
#3  0x00007f76ea945178 in _IO_file_overflow () from /lib/libc.so.6
#4  0x00007f76ea93d877 in putc () from /lib/libc.so.6
#5  0x00007f76eacdfe10 in std::ostream::put(char) () from /usr/lib/libstdc++.so.6
#6  0x00007f76e6eab7bb in ?? () from /usr/lib/libtag.so.1
#7  0x00007f76e6ea98bf in ?? () from /usr/lib/libtag.so.1
#8  0x00007f76e6eb438a in ?? () from /usr/lib/libtag.so.1
#9  0x00007f76e6eb44f8 in ?? () from /usr/lib/libtag.so.1
#10 0x00007f76e6eb44f8 in ?? () from /usr/lib/libtag.so.1
#11 0x00007f76e6eb44f8 in ?? () from /usr/lib/libtag.so.1
#12 0x00007f76e6eb44f8 in ?? () from /usr/lib/libtag.so.1
#13 0x00007f76e6eb44f8 in ?? () from /usr/lib/libtag.so.1
#14 0x00007f76e6eb4630 in ?? () from /usr/lib/libtag.so.1
#15 0x00007f76e6eb36f0 in TagLib::MP4::File::read(bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/libtag.so.1
#16 0x00007f76e6eb3892 in TagLib::MP4::File::File(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/libtag.so.1
#17 0x00007f76ec819176 in ?? () from /usr/lib/libamaroklib.so.1
#18 0x00007f76e6ec4693 in TagLib::FileRef::create(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/libtag.so.1
#19 0x00007f76e6ec508c in TagLib::FileRef::FileRef(char const*, bool, TagLib::AudioProperties::ReadStyle) () from /usr/lib/libtag.so.1
#20 0x00007f76ec724283 in MetaFile::Track::Private::getFileRef() () from /usr/lib/libamaroklib.so.1
#21 0x00007f76ec724cf5 in MetaFile::Track::Private::readMetaData() () from /usr/lib/libamaroklib.so.1
#22 0x00007f76ec726f0b in MetaFile::Track::Track(KUrl const&) () from /usr/lib/libamaroklib.so.1
#23 0x00007f76d1bad048 in Meta::IpodHandler::addNextOrphaned() () from /usr/lib/kde4/amarok_collection-ipodcollection.so
#24 0x00007f76d1bad1ed in ?? () from /usr/lib/kde4/amarok_collection-ipodcollection.so
#25 0x00007f76e7c6575d in ?? () from /usr/lib/libthreadweaver.so.4
#26 0x00007f76e7c65a5e in ThreadWeaver::Job::execute(ThreadWeaver::Thread*) () from /usr/lib/libthreadweaver.so.4
#27 0x00007f76e7c64a2f in ?? () from /usr/lib/libthreadweaver.so.4
#28 0x00007f76e7c64eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#29 0x00007f76eafb0445 in ?? () from /usr/lib/libQtCore.so.4
#30 0x00007f76e522aa04 in start_thread () from /lib/libpthread.so.0
#31 0x00007f76ea9b280d in clone () from /lib/libc.so.6
#32 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f76c3b65910 (LWP 30380)):
#0  0x00007f76e522f5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f76eafb14fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f76e7c64326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f76e7c6645b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f76e7c66474 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f76e7c64a5f in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f76e7c64eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#7  0x00007f76eafb0445 in ?? () from /usr/lib/libQtCore.so.4
#8  0x00007f76e522aa04 in start_thread () from /lib/libpthread.so.0
#9  0x00007f76ea9b280d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f76c3364910 (LWP 30384)):
#0  0x00007f76e522f5a9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f76eafb14fb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4
#2  0x00007f76e7c64326 in ?? () from /usr/lib/libthreadweaver.so.4
#3  0x00007f76e7c6645b in ?? () from /usr/lib/libthreadweaver.so.4
#4  0x00007f76e7c66474 in ?? () from /usr/lib/libthreadweaver.so.4
#5  0x00007f76e7c66474 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00007f76e7c64a5f in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x00007f76e7c64eb8 in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#8  0x00007f76eafb0445 in ?? () from /usr/lib/libQtCore.so.4
#9  0x00007f76e522aa04 in start_thread () from /lib/libpthread.so.0
#10 0x00007f76ea9b280d in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f76ed3227a0 (LWP 30367)):
[KCrash Handler]
#5  0x00007f76d1bac9f1 in Meta::IpodHandler::libDeleteTrack(KSharedPtr<Meta::MediaDeviceTrack> const&) () from /usr/lib/kde4/amarok_collection-ipodcollection.so
#6  0x00007f76ec697ab8 in Meta::MediaDeviceHandler::slotFinalizeTrackRemove(KSharedPtr<Meta::Track> const&) () from /usr/lib/libamaroklib.so.1
#7  0x00007f76d1bb39b2 in Meta::IpodHandler::fileDeleted(KJob*) () from /usr/lib/kde4/amarok_collection-ipodcollection.so
#8  0x00007f76d1bb7dbb in Meta::IpodHandler::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/kde4/amarok_collection-ipodcollection.so
#9  0x00007f76eb0abddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#10 0x00007f76eb481af2 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#11 0x00007f76eb481e6f in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#12 0x00007f76eb481103 in KCompositeJob::slotResult(KJob*) () from /usr/lib/libkdecore.so.5
#13 0x00007f76e49ec136 in KIO::DeleteJob::slotResult(KJob*) () from /usr/lib/libkio.so.5
#14 0x00007f76e49ec088 in KIO::DeleteJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#15 0x00007f76eb0abddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#16 0x00007f76eb481af2 in KJob::result(KJob*) () from /usr/lib/libkdecore.so.5
#17 0x00007f76eb481e6f in KJob::emitResult() () from /usr/lib/libkdecore.so.5
#18 0x00007f76e4a08d93 in KIO::SimpleJob::slotFinished() () from /usr/lib/libkio.so.5
#19 0x00007f76e4a09912 in KIO::StatJob::slotFinished() () from /usr/lib/libkio.so.5
#20 0x00007f76e4a076f6 in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib/libkio.so.5
#21 0x00007f76e4a07838 in KIO::SimpleJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#22 0x00007f76e4a08605 in KIO::StatJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#23 0x00007f76eb0abddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#24 0x00007f76e4ac6026 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib/libkio.so.5
#25 0x00007f76e4ac9b87 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5
#26 0x00007f76e4ac6333 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5
#27 0x00007f76e4ab914d in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5
#28 0x00007f76e4abb26c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#29 0x00007f76eb0abddc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQtCore.so.4
#30 0x00007f76e49d5f57 in ?? () from /usr/lib/libkio.so.5
#31 0x00007f76e49d607d in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#32 0x00007f76eb0a60f9 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#33 0x00007f76eb9b6efc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#34 0x00007f76eb9be1ce in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007f76ece48ab6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#36 0x00007f76eb096c2c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#37 0x00007f76eb09780a in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#38 0x00007f76eb0bf533 in ?? () from /usr/lib/libQtCore.so.4
#39 0x00007f76e3b62bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x00007f76e3b66598 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f76e3b666c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f76eb0bf1a6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#43 0x00007f76eba4b4be in ?? () from /usr/lib/libQtGui.so.4
#44 0x00007f76eb095532 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#45 0x00007f76eb095904 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#46 0x00007f76eb097ab9 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#47 0x0000000000409ec6 in _start ()

This bug may be a duplicate of or related to bug 213097

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2010-01-11 10:47:05 UTC
This is fixed in Amarok 2.2.2, to be released later today.

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