Bug 301107

Summary: Amarok crashed when I closed it [@ Meta::IpodHandler::qt_static_metacall ]
Product: [Applications] amarok Reporter: t.lattmann
Component: Collections/iPod iPhoneAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED WORKSFORME    
Severity: crash CC: matej
Priority: NOR    
Version: 2.5.0   
Target Milestone: 2.6   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 2.6

Description t.lattmann 2012-06-03 14:11:01 UTC
Application: amarok (2.5.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.1
Operating System: Linux 3.4-0.slh.4-aptosid-amd64 x86_64
Distribution (Platform): Debian unstable

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

I changed the metadata of some mp3 files wich didn't have any effect. So I quit Amarok to restart it. But then it crashed while closing
I am using Aptosid.

-- 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 0x7f343c35b780 (LWP 5826))]

Thread 11 (Thread 0x7f3413a69700 (LWP 5829)):
#0  0x00007f3438bf8d93 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f342fddbe3f in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#2  0x00007f342fdcd39c in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#3  0x00007f342fdcd9f9 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#4  0x00007f342fdcdab0 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#5  0x00007f342fddbdef in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
#6  0x00007f34276e9423 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.0.so
#7  0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#8  0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f340fc19700 (LWP 5831)):
#0  0x00007f3438bf8d93 in *__GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f343257d4d4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f343257d5f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3439580736 in QEventDispatcherGlib::processEvents (this=0xe8f040, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f343954ff92 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f34395501e7 in QEventLoop::exec (this=0x7f340fc18dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f343944f307 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f343952fd0f in QInotifyFileSystemWatcherEngine::run (this=0xe8de60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f343945232b in QThreadPrivate::start (arg=0xe8de60) at thread/qthread_unix.cpp:298
#9  0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#10 0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f3408da5700 (LWP 5834)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f343945283b in wait (time=18446744073709551615, this=0x10b2d10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x10a3890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3436991a94 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10b3aa0, th=0x10a3830) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f343699403b in ThreadWeaver::WorkingHardState::applyForWork (this=0x10b2cc0, th=0x10a3830) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3436992eff in ThreadWeaver::ThreadRunHelper::run (this=0x7f3408da4e20, parent=0x10b3aa0, th=0x10a3830) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f3436992f8b in ThreadWeaver::Thread::run (this=0x10a3830) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f343945232b in QThreadPrivate::start (arg=0x10a3830) at thread/qthread_unix.cpp:298
#8  0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#9  0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f3403b90700 (LWP 5835)):
#0  0x00007f343254efa0 in pthread_mutex_unlock@plt () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f34325b91e1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f343257cfe6 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f343257d472 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f343257d5f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3439580736 in QEventDispatcherGlib::processEvents (this=0x11cd5a0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f343954ff92 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f34395501e7 in QEventLoop::exec (this=0x7f3403b8fe00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f343944f307 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f343945232b in QThreadPrivate::start (arg=0x11cc8b0) at thread/qthread_unix.cpp:298
#10 0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f34026d2700 (LWP 5836)):
#0  __pthread_mutex_lock (mutex=0x123ee20) at pthread_mutex_lock.c:51
#1  0x00007f34325b91b1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f343257cd19 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f343257d3fb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f343257d5f4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f3439580736 in QEventDispatcherGlib::processEvents (this=0x123ec80, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f343954ff92 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f34395501e7 in QEventLoop::exec (this=0x7f34026d1e00, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f343944f307 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f343945232b in QThreadPrivate::start (arg=0x7f33fc09c9b0) at thread/qthread_unix.cpp:298
#10 0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#11 0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f34014ca700 (LWP 5838)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f343945283b in wait (time=18446744073709551615, this=0x10b2d10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x10a3890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3436991a94 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10b3aa0, th=0x126c6c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f343699403b in ThreadWeaver::WorkingHardState::applyForWork (this=0x10b2cc0, th=0x126c6c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3436992eff in ThreadWeaver::ThreadRunHelper::run (this=0x7f34014c9e20, parent=0x10b3aa0, th=0x126c6c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f3436992f8b in ThreadWeaver::Thread::run (this=0x126c6c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f343945232b in QThreadPrivate::start (arg=0x126c6c0) at thread/qthread_unix.cpp:298
#8  0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#9  0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f33fbdf3700 (LWP 5839)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f343945283b in wait (time=18446744073709551615, this=0x10b2d10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x10a3890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3436991a94 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10b3aa0, th=0x7f34041b03b0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f343699403b in ThreadWeaver::WorkingHardState::applyForWork (this=0x10b2cc0, th=0x7f34041b03b0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3436992eff in ThreadWeaver::ThreadRunHelper::run (this=0x7f33fbdf2e20, parent=0x10b3aa0, th=0x7f34041b03b0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f3436992f8b in ThreadWeaver::Thread::run (this=0x7f34041b03b0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f343945232b in QThreadPrivate::start (arg=0x7f34041b03b0) at thread/qthread_unix.cpp:298
#8  0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#9  0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f33fb5f2700 (LWP 5840)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f343945283b in wait (time=18446744073709551615, this=0x10b2d10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x10a3890, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3436991a94 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x10b3aa0, th=0x12baf20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f343699403b in ThreadWeaver::WorkingHardState::applyForWork (this=0x10b2cc0, th=0x12baf20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3436992eff in ThreadWeaver::ThreadRunHelper::run (this=0x7f33fb5f1e20, parent=0x10b3aa0, th=0x12baf20) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f3436992f8b in ThreadWeaver::Thread::run (this=0x12baf20) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f343945232b in QThreadPrivate::start (arg=0x12baf20) at thread/qthread_unix.cpp:298
#8  0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#9  0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f33fa7af700 (LWP 5841)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f342f1bfc0d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7f342fb80280) at wtf/FastMalloc.cpp:2499
#2  0x00007f342f1bfd19 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1622
#3  0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f33f9d99700 (LWP 5843)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f34359aea72 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f34359aeaa9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f34353d1b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
#4  0x00007f3438c039dd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f343c35b780 (LWP 5826)):
[KCrash Handler]
#6  qt_static_metacall (_a=0x4, _id=<optimized out>, _o=0xdca3f0, _c=<optimized out>) at ./IpodHandler.moc:76
#7  Meta::IpodHandler::qt_static_metacall (_o=0xfc4f90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x4) at ./IpodHandler.moc:66
#8  0x00007f343b1daed7 in qDeleteAll<QList<Collections::Collection*>::const_iterator> (end=..., begin=...) at /usr/include/qt4/QtCore/qalgorithms.h:322
#9  qDeleteAll<SmartPointerList<Collections::Collection> > (c=...) at /usr/include/qt4/QtCore/qalgorithms.h:330
#10 CollectionManager::~CollectionManager (this=0xdca4c0, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:137
#11 0x00007f343b1db159 in CollectionManager::~CollectionManager (this=0xdca4c0, __in_chrg=<optimized out>) at ../../src/core-impl/collections/support/CollectionManager.cpp:145
#12 0x00007f343b1d8ff6 in CollectionManager::destroy () at ../../src/core-impl/collections/support/CollectionManager.cpp:107
#13 0x00007f343b3057d5 in App::~App (this=0x7fff1e6bb140, __in_chrg=<optimized out>) at ../../src/App.cpp:248
#14 0x0000000000408f59 in main (argc=1, argv=0x7fff1e6bb2a8) at ../../src/main.cpp:303

Reported using DrKonqi
Comment 1 Matěj Laitl 2012-06-03 22:10:13 UTC
Meta::IpodHandler is gone as of Amarok 2.6 beta, so this has been fixed by definition. :-)