Bug 307199

Summary: Amarok crash when copying music back off iPod
Product: [Applications] amarok Reporter: bhonermann
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 2.6.0   
Target Milestone: 2.7   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description bhonermann 2012-09-22 11:27:22 UTC
Application: amarok (2.6.0)
KDE Platform Version: 4.9.1
Qt Version: 4.8.2
Operating System: Linux 3.2.0-31-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Was attempting to copy music back off my iPod after some data loss on my computer. Amarok crashes every time. Might get a few tracks each time, but nothing consistent.

The crash can be reproduced every time.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9de23c3780 (LWP 10800))]

Thread 11 (Thread 0x7f9dc0792700 (LWP 10803)):
#0  0x00007f9ddecabb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9dd710a35f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f9dd70fb76c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f9dd70fbdd9 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f9dd70fbe90 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f9dd710a30f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f9dd254cd18 in ?? () from /usr/lib/x86_64-linux-gnu/libpulsecommon-1.1.so
#7  0x00007f9ddb3c8e9a in start_thread (arg=0x7f9dc0792700) at pthread_create.c:308
#8  0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f9db3553700 (LWP 10809)):
#0  0x00007f9ddecabb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9dd98ad036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9dd98ad164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9ddf642906 in QEventDispatcherGlib::processEvents (this=0x7f9dac000900, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9ddf611e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9ddf612097 in QEventLoop::exec (this=0x7f9db3552dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9ddf511057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9ddf5f1b4f in QInotifyFileSystemWatcherEngine::run (this=0x1a444b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9ddf51407b in QThreadPrivate::start (arg=0x1a444b0) at thread/qthread_unix.cpp:307
#9  0x00007f9ddb3c8e9a in start_thread (arg=0x7f9db3553700) at pthread_create.c:308
#10 0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f9db1d48700 (LWP 10810)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9ddf51458b in wait (time=18446744073709551615, this=0x1b9bec0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b9c000, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9ddc95e0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ac79c0, th=0x1b9abc0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9ddc9609db in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac02d0, th=0x1b9abc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9ddc9609f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac02d0, th=0x1b9abc0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f9ddc95f84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9db1d47e20, parent=0x1ac79c0, th=0x1b9abc0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f9ddc95f8db in ThreadWeaver::Thread::run (this=0x1b9abc0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9ddf51407b in QThreadPrivate::start (arg=0x1b9abc0) at thread/qthread_unix.cpp:307
#9  0x00007f9ddb3c8e9a in start_thread (arg=0x7f9db1d48700) at pthread_create.c:308
#10 0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9dabfff700 (LWP 10811)):
#0  0x00007f9ddecaa11d in write () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f9dd98e7941 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9ddf616b5c in QCoreApplication::postEvent (receiver=0x1a0eb30, event=0x7f9da0098980, priority=<optimized out>) at kernel/qcoreapplication.cpp:1361
#3  0x00007f9ddf627ac4 in queued_activate (argv=0x7f9dabffe720, c=0x3deb4c0, signal=10, sender=0x41785f0) at kernel/qobject.cpp:3431
#4  QMetaObject::activate (sender=0x41785f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7f9dabffe720) at kernel/qobject.cpp:3507
#5  0x00007f9dbd8b2b15 in ?? () from /usr/lib/libamarok-sqlcollection.so.1
#6  0x00007f9dbd8b456a in ?? () from /usr/lib/libamarok-sqlcollection.so.1
#7  0x00007f9ddc96005b in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f9dabffeda0, th=0x1e3c460, job=0x41785f0) at ../../../threadweaver/Weaver/Job.cpp:106
#8  0x00007f9ddc9601cc in ThreadWeaver::Job::execute (this=0x41785f0, th=0x1e3c460) at ../../../threadweaver/Weaver/Job.cpp:135
#9  0x00007f9ddc95f81f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9dabffee20, parent=0x1ac79c0, th=0x1e3c460) at ../../../threadweaver/Weaver/Thread.cpp:95
#10 0x00007f9ddc95f8db in ThreadWeaver::Thread::run (this=0x1e3c460) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007f9ddf51407b in QThreadPrivate::start (arg=0x1e3c460) at thread/qthread_unix.cpp:307
#12 0x00007f9ddb3c8e9a in start_thread (arg=0x7f9dabfff700) at pthread_create.c:308
#13 0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f9dab1e3700 (LWP 10812)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9ddf51458b in wait (time=18446744073709551615, this=0x1b9bec0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b9c000, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9ddc95e0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ac79c0, th=0x1e64bd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9ddc9609db in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac02d0, th=0x1e64bd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9ddc9609f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac02d0, th=0x1e64bd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f9ddc95f84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9dab1e2e20, parent=0x1ac79c0, th=0x1e64bd0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f9ddc95f8db in ThreadWeaver::Thread::run (this=0x1e64bd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9ddf51407b in QThreadPrivate::start (arg=0x1e64bd0) at thread/qthread_unix.cpp:307
#9  0x00007f9ddb3c8e9a in start_thread (arg=0x7f9dab1e3700) at pthread_create.c:308
#10 0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9daa9e2700 (LWP 10813)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9ddf51458b in wait (time=18446744073709551615, this=0x1b9bec0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b9c000, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f9ddc95e0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1ac79c0, th=0x1e9bab0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f9ddc9609db in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac02d0, th=0x1e9bab0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f9ddc9609f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac02d0, th=0x1e9bab0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f9ddc95f84f in ThreadWeaver::ThreadRunHelper::run (this=0x7f9daa9e1e20, parent=0x1ac79c0, th=0x1e9bab0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f9ddc95f8db in ThreadWeaver::Thread::run (this=0x1e9bab0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f9ddf51407b in QThreadPrivate::start (arg=0x1e9bab0) at thread/qthread_unix.cpp:307
#9  0x00007f9ddb3c8e9a in start_thread (arg=0x7f9daa9e2700) at pthread_create.c:308
#10 0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9da9947700 (LWP 10814)):
#0  0x00007f9ddecabb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f9dd98ad036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9dd98ad164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9ddf642906 in QEventDispatcherGlib::processEvents (this=0x7f9d900008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f9ddf611e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f9ddf612097 in QEventLoop::exec (this=0x7f9da9946dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f9ddf511057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f9ddf5f1b4f in QInotifyFileSystemWatcherEngine::run (this=0x20e01c0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f9ddf51407b in QThreadPrivate::start (arg=0x20e01c0) at thread/qthread_unix.cpp:307
#9  0x00007f9ddb3c8e9a in start_thread (arg=0x7f9da9947700) at pthread_create.c:308
#10 0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9da8f29700 (LWP 10815)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9dd64e8dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f9dd64e8f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f9ddb3c8e9a in start_thread (arg=0x7f9da8f29700) at pthread_create.c:308
#4  0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9d97fff700 (LWP 10816)):
#0  0x00007f9ddecaa0bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f9dd98e78cf in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f9dd98acba4 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f9dd98acfd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f9dd98ad164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f9ddf642906 in QEventDispatcherGlib::processEvents (this=0x7f9d8c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f9ddf611e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f9ddf612097 in QEventLoop::exec (this=0x7f9d97ffee00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f9ddf511057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f9ddf51407b in QThreadPrivate::start (arg=0x2132f50) at thread/qthread_unix.cpp:307
#10 0x00007f9ddb3c8e9a in start_thread (arg=0x7f9d97fff700) at pthread_create.c:308
#11 0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9d9636f700 (LWP 10819)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9ddb9a2222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f9ddb9a2259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f9ddb3c8e9a in start_thread (arg=0x7f9d9636f700) at pthread_create.c:308
#4  0x00007f9ddecb74bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9de23c3780 (LWP 10800)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f9ddfa9d67e in qDeleteAll<QList<KJob*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#8  qDeleteAll<QList<KJob*> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#9  KCompositeJobPrivate::~KCompositeJobPrivate (this=0x3fa3620, __in_chrg=<optimized out>) at ../../kdecore/jobs/kcompositejob.cpp:29
#10 0x00007f9ddfa9d6a9 in KCompositeJobPrivate::~KCompositeJobPrivate (this=0x3fa3620, __in_chrg=<optimized out>) at ../../kdecore/jobs/kcompositejob.cpp:30
#11 0x00007f9ddfa9e170 in KJob::~KJob (this=0x320d8d0, __in_chrg=<optimized out>) at ../../kdecore/jobs/kjob.cpp:73
#12 0x00007f9dbd8ca273 in ?? () from /usr/lib/libamarok-sqlcollection.so.1
#13 0x00007f9ddf62c958 in QObject::event (this=0x320d8d0, e=<optimized out>) at kernel/qobject.cpp:1176
#14 0x00007f9de000d7b4 in notify_helper (e=0x3f44f90, receiver=0x320d8d0, this=0x12c4cd0) at kernel/qapplication.cpp:4556
#15 QApplicationPrivate::notify_helper (this=0x12c4cd0, receiver=0x320d8d0, e=0x3f44f90) at kernel/qapplication.cpp:4528
#16 0x00007f9de0012583 in QApplication::notify (this=0x7fff75212650, receiver=0x320d8d0, e=0x3f44f90) at kernel/qapplication.cpp:4417
#17 0x00007f9de1dc64a6 in KApplication::notify (this=0x7fff75212650, receiver=0x320d8d0, event=0x3f44f90) at ../../kdeui/kernel/kapplication.cpp:311
#18 0x00007f9ddf61330c in QCoreApplication::notifyInternal (this=0x7fff75212650, receiver=0x320d8d0, event=0x3f44f90) at kernel/qcoreapplication.cpp:915
#19 0x00007f9ddf6170ea in sendEvent (event=0x3f44f90, receiver=0x320d8d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x11671f0) at kernel/qcoreapplication.cpp:1539
#21 0x00007f9ddf642473 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#22 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#23 0x00007f9dd98acd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f9dd98ad0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f9dd98ad164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f9ddf64289f in QEventDispatcherGlib::processEvents (this=0x1168ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0x00007f9de00b5cde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007f9ddf611e42 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#29 0x00007f9ddf612097 in QEventLoop::exec (this=0x7fff752125e0, flags=...) at kernel/qeventloop.cpp:204
#30 0x00007f9ddf6173e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#31 0x0000000000408f76 in ?? ()
#32 0x00007f9ddebe676d in __libc_start_main (main=0x402250, argc=1, ubp_av=0x7fff75214b38, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff75214b28) at libc-start.c:226
#33 0x000000000040b9cd in _start ()

Possible duplicates by query: bug 306951.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2012-09-22 15:50:14 UTC
Please install the amarok-dbg package and provide a new backtrace.
Comment 2 Myriam Schweingruber 2012-10-21 09:07:25 UTC
Closing for lack of feedback. Please feel free to reopen this report if you can reproduce it and provide the requested information.
Comment 3 Janek Bevendorff 2012-11-22 11:58:17 UTC
*** This bug has been marked as a duplicate of bug 306951 ***