Bug 272477 - Amarok crashes on exit [@ ScriptManager::slotStopScript]
Summary: Amarok crashes on exit [@ ScriptManager::slotStopScript]
Status: RESOLVED DUPLICATE of bug 268917
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 2.4.0.90
Platform: Debian unstable Linux
: NOR crash
Target Milestone: 2.4.1
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-04 22:29 UTC by Thomas Fjellstrom
Modified: 2011-05-15 00:29 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 Thomas Fjellstrom 2011-05-04 22:29:02 UTC
Application: amarok (2.4.0.90)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-2-amd64 x86_64
Distribution: Debian GNU/Linux unstable (sid)

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

Tried to close amarok due to the collection scanner hanging.

The crash can be reproduced every time.

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

Thread 11 (Thread 0x7f851820b700 (LWP 3111)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8549b79bd2 in ?? () from /usr/lib/libvlccore.so.4
#2  0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#3  0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f850ebfc700 (LWP 3117)):
#0  0x00007f856788a6a3 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f85610369e4 in g_main_context_poll (context=0x7f8514007b50, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3404
#2  g_main_context_iterate (context=0x7f8514007b50, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3086
#3  0x00007f8561036f1d in g_main_context_iteration (context=0x7f8514007b50, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#4  0x00007f85681ff636 in QEventDispatcherGlib::processEvents (this=0x3127340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f85681d3b82 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f85681d3d7f in QEventLoop::exec (this=0x7f850ebfbcf0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f85680eb81f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f85681b6b6f in QInotifyFileSystemWatcherEngine::run (this=0x30698b0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f85680ee235 in QThreadPrivate::start (arg=0x30698b0) at thread/qthread_unix.cpp:320
#10 0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#11 0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f850f3fd700 (LWP 3120)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f85680ee6cb in wait (this=<value optimized out>, mutex=0x252ff30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x252ff30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f85656598f4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x252fbc0, th=0x25303c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f856565bf83 in ThreadWeaver::WorkingHardState::applyForWork (this=0x24a6750, th=0x25303c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f856565bf9c in ThreadWeaver::WorkingHardState::applyForWork (this=0x24a6750, th=0x25303c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f856565ad6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f850f3fcd30, parent=0x252fbc0, th=0x25303c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f856565adf8 in ThreadWeaver::Thread::run (this=0x25303c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f85680ee235 in QThreadPrivate::start (arg=0x25303c0) at thread/qthread_unix.cpp:320
#9  0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#10 0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f850ce47700 (LWP 3121)):
#0  0x00007f856788ee03 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f85681fc2a6 in qt_safe_select (nfds=74, fdread=0x7f850ce46340, fdwrite=0x7f850ce463c0, fdexcept=0x0, orig_timeout=<value optimized out>) at kernel/qcore_unix.cpp:82
#2  0x00007f85681b251a in select_msecs (nfds=<value optimized out>, fdread=<value optimized out>, fdwrite=<value optimized out>, timeout=<value optimized out>) at io/qprocess_unix.cpp:883
#3  select_msecs (nfds=<value optimized out>, fdread=<value optimized out>, fdwrite=<value optimized out>, timeout=<value optimized out>) at io/qprocess_unix.cpp:880
#4  0x00007f85681b3534 in QProcessPrivate::waitForReadyRead (this=0x7f850400c0a0, msecs=-1) at io/qprocess_unix.cpp:964
#5  0x00007f8511e47494 in ScannerJob::getScannerOutput (this=0x34e5720) at ../../../../../../src/core-impl/collections/db/ScanManager.cpp:724
#6  0x00007f8511e486c1 in ScannerJob::run (this=0x34e5720) at ../../../../../../src/core-impl/collections/db/ScanManager.cpp:518
#7  0x00007f856565b451 in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f850ce46ca0, th=0x2557c30, job=0x34e5720) at ../../../threadweaver/Weaver/Job.cpp:106
#8  0x00007f856565b58e in ThreadWeaver::Job::execute (this=0x34e5720, th=0x2557c30) at ../../../threadweaver/Weaver/Job.cpp:135
#9  0x00007f856565ad3f in ThreadWeaver::ThreadRunHelper::run (this=0x7f850ce46d30, parent=0x252fbc0, th=0x2557c30) at ../../../threadweaver/Weaver/Thread.cpp:95
#10 0x00007f856565adf8 in ThreadWeaver::Thread::run (this=0x2557c30) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0x00007f85680ee235 in QThreadPrivate::start (arg=0x2557c30) at thread/qthread_unix.cpp:320
#12 0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#13 0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f850c646700 (LWP 3122)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f85680ee6cb in wait (this=<value optimized out>, mutex=0x252ff30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x252ff30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f85656598f4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x252fbc0, th=0x7f85140821c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f856565bf83 in ThreadWeaver::WorkingHardState::applyForWork (this=0x24a6750, th=0x7f85140821c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f856565bf9c in ThreadWeaver::WorkingHardState::applyForWork (this=0x24a6750, th=0x7f85140821c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f856565bf9c in ThreadWeaver::WorkingHardState::applyForWork (this=0x24a6750, th=0x7f85140821c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007f856565ad6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f850c645d30, parent=0x252fbc0, th=0x7f85140821c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007f856565adf8 in ThreadWeaver::Thread::run (this=0x7f85140821c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007f85680ee235 in QThreadPrivate::start (arg=0x7f85140821c0) at thread/qthread_unix.cpp:320
#10 0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#11 0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#12 0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f850be45700 (LWP 3123)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f85680ee6cb in wait (this=<value optimized out>, mutex=0x252ff30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x252ff30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f85656598f4 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x252fbc0, th=0x255ae30) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f856565bf83 in ThreadWeaver::WorkingHardState::applyForWork (this=0x24a6750, th=0x255ae30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f856565bf9c in ThreadWeaver::WorkingHardState::applyForWork (this=0x24a6750, th=0x255ae30) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f856565ad6f in ThreadWeaver::ThreadRunHelper::run (this=0x7f850be44d30, parent=0x252fbc0, th=0x255ae30) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f856565adf8 in ThreadWeaver::Thread::run (this=0x255ae30) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f85680ee235 in QThreadPrivate::start (arg=0x255ae30) at thread/qthread_unix.cpp:320
#9  0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#10 0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#11 0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f850b004700 (LWP 3124)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f855d2e0c24 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#3  0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8508eea700 (LWP 3127)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8563d91f22 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f856408a1c0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f8563d91f59 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#4  0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#5  0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f84f8dd9700 (LWP 3278)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f85680ee6cb in wait (this=<value optimized out>, mutex=0x3cbb448, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3cbb448, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f85690d3994 in QFileInfoGatherer::run (this=0x3cbb438) at dialogs/qfileinfogatherer.cpp:214
#4  0x00007f85680ee235 in QThreadPrivate::start (arg=0x3cbb438) at thread/qthread_unix.cpp:320
#5  0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#6  0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f84f95da700 (LWP 3279)):
#0  0x00007f8561036a46 in g_main_context_iterate (context=0x3cbf050, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3097
#1  0x00007f8561036f1d in g_main_context_iteration (context=0x3cbf050, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#2  0x00007f85681ff636 in QEventDispatcherGlib::processEvents (this=0x3cbeea0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f85681d3b82 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f85681d3d7f in QEventLoop::exec (this=0x7f84f95d9cf0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f85680eb81f in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#6  0x00007f85681b6b6f in QInotifyFileSystemWatcherEngine::run (this=0x3cb7610) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f85680ee235 in QThreadPrivate::start (arg=0x3cb7610) at thread/qthread_unix.cpp:320
#8  0x00007f855b3b3853 in ?? () from /usr/lib/libGL.so.1
#9  0x00007f856349bb40 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f85678952ed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f856b24c7a0 (LWP 3108)):
[KCrash Handler]
#6  data (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
#7  qGetPtrHelper<QScopedPointer<QObjectData> > (this=0x0) at ../../include/QtCore/../../src/corelib/global/qglobal.h:2340
#8  d_func (this=0x0) at api/qscriptengine.h:280
#9  QScriptEngine::isEvaluating (this=0x0) at api/qscriptengine.cpp:4105
#10 0x00007f856a1f4f19 in ScriptManager::slotStopScript (this=0x2320450, name=...) at ../../src/ScriptManager.cpp:292
#11 0x00007f856a1f6f45 in ScriptManager::stopScript (this=0x2320450, name=...) at ../../src/ScriptManager.cpp:116
#12 0x00007f8569c08d06 in ScriptsConfig::slotManageScripts (this=0x3cf8810) at ../../src/configdialog/dialogs/ScriptsConfig.cpp:73
#13 0x00007f8569c09131 in ScriptsConfig::qt_metacall (this=0x3cf8810, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffaebbe8d0) at ./ScriptsConfig.moc:75
#14 0x00007f85681e75ea in QMetaObject::activate (sender=0x3ce8850, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffaebbe8d0) at kernel/qobject.cpp:3278
#15 0x00007f85692539d2 in QAbstractButton::clicked (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#16 0x00007f8568f9bb6e in QAbstractButtonPrivate::emitClicked (this=<value optimized out>) at widgets/qabstractbutton.cpp:546
#17 0x00007f8568f9ceab in QAbstractButtonPrivate::click (this=0x3ce8880) at widgets/qabstractbutton.cpp:539
#18 0x00007f8568f9d11c in QAbstractButton::mouseReleaseEvent (this=0x3ce8850, e=0x7fffaebbf320) at widgets/qabstractbutton.cpp:1121
#19 0x00007f8568c3cc16 in QWidget::event (this=0x3ce8850, event=0x7fffaebbf320) at kernel/qwidget.cpp:8259
#20 0x00007f8568bec674 in notify_helper (this=0x1d08650, receiver=0x3ce8850, e=0x7fffaebbf320) at kernel/qapplication.cpp:4462
#21 QApplicationPrivate::notify_helper (this=0x1d08650, receiver=0x3ce8850, e=0x7fffaebbf320) at kernel/qapplication.cpp:4434
#22 0x00007f8568bf1dfb in QApplication::notify (this=<value optimized out>, receiver=0x3ce8850, e=0x7fffaebbf320) at kernel/qapplication.cpp:4023
#23 0x00007f856ac64426 in KApplication::notify (this=0x7fffaebbfea0, receiver=0x3ce8850, event=0x7fffaebbf320) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007f85681d497c in QCoreApplication::notifyInternal (this=0x7fffaebbfea0, receiver=0x3ce8850, event=0x7fffaebbf320) at kernel/qcoreapplication.cpp:731
#25 0x00007f8568bed642 in sendEvent (receiver=0x3ce8850, event=0x7fffaebbf320, alienWidget=0x3ce8850, nativeWidget=0x3d48890, buttonDown=0x3ce8850, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QApplicationPrivate::sendMouseEvent (receiver=0x3ce8850, event=0x7fffaebbf320, alienWidget=0x3ce8850, nativeWidget=0x3d48890, buttonDown=0x3ce8850, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#27 0x00007f8568c69a28 in QETWidget::translateMouseEvent (this=0x3d48890, event=<value optimized out>) at kernel/qapplication_x11.cpp:4461
#28 0x00007f8568c6882a in QApplication::x11ProcessEvent (this=0x7fffaebbfea0, event=0x7fffaebbfa40) at kernel/qapplication_x11.cpp:3587
#29 0x00007f8568c90952 in x11EventSourceDispatch (s=0x1d09590, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#30 0x00007f85610364a3 in g_main_dispatch (context=0x1d08180) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:2440
#31 g_main_context_dispatch (context=0x1d08180) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3013
#32 0x00007f8561036c80 in g_main_context_iterate (context=0x1d08180, block=1, dispatch=1, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3091
#33 0x00007f8561036f1d in g_main_context_iteration (context=0x1d08180, may_block=1) at /tmp/buildd/glib2.0-2.28.6/./glib/gmain.c:3154
#34 0x00007f85681ff5cf in QEventDispatcherGlib::processEvents (this=0x1b74900, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f8568c905ee in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f85681d3b82 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f85681d3d7f in QEventLoop::exec (this=0x7fffaebbfe10, flags=...) at kernel/qeventloop.cpp:201
#38 0x00007f85681d7f57 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#39 0x000000000040986a in main (argc=1, argv=0x7fffaebc24a8) at ../../src/main.cpp:288

This bug may be a duplicate of or related to bug 268917.

Possible duplicates by query: bug 268917.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-05-15 00:29:40 UTC

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