Bug 268112

Summary: Amarok crashes when I try to play a song
Product: [Applications] amarok Reporter: katoiam
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.3.0   
Target Milestone: 2.4.1   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description katoiam 2011-03-10 08:58:31 UTC
Application: amarok (2.3.0)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-28-generic-pae i686
Distribution: Ubuntu 10.04.2 LTS

-- Information about the crash:
I can move music to the playlist, but if I click on a song to play it amarok crashes every time. I can how ever get a song to play if I click on it externally and it opens in amarok.

The crash can be reproduced every time.

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

Thread 10 (Thread 0xad09bb70 (LWP 9055)):
#0  0xb2ea3c68 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#1  0xb327e50b in pa_mainloop_dispatch () from /usr/lib/libpulse.so.0
#2  0xb327ea21 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#3  0xb327eae4 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#4  0xb32902a3 in ?? () from /usr/lib/libpulse.so.0
#5  0xb2ec8e02 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#6  0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xa7f60b70 (LWP 9057)):
#0  0xb331df80 in ?? () from /usr/lib/libgthread-2.0.so.0
#1  0xb349f253 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0xb5bfaf1f in QEventDispatcherGlib::processEvents (this=0x993c8c8, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#3  0xb5bcb1a9 in QEventLoop::processEvents (this=0xa7f60280, flags=) at kernel/qeventloop.cpp:149
#4  0xb5bcb5fa in QEventLoop::exec (this=0xa7f60280, flags=...) at kernel/qeventloop.cpp:201
#5  0xb5ac8aee in QThread::exec (this=0x999e0c0) at thread/qthread.cpp:490
#6  0xb5baa2eb in QInotifyFileSystemWatcherEngine::run (this=0x999e0c0) at io/qfilesystemwatcher_inotify.cpp:248
#7  0xb5acbdc9 in QThreadPrivate::start (arg=0x999e0c0) at thread/qthread_unix.cpp:266
#8  0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#9  0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xa58bab70 (LWP 9059)):
#0  0xb76f5430 in __kernel_vsyscall ()
#1  0xb552c015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb58b79dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb47e1aad in ?? () from /usr/lib/libQtWebKit.so.4
#4  0xb47e1b91 in ?? () from /usr/lib/libQtWebKit.so.4
#5  0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xa4ec2b70 (LWP 9060)):
#0  0xb76f5430 in __kernel_vsyscall ()
#1  0xb552c015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb58b79dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5acc997 in QWaitConditionPrivate::wait (this=0x9a63c88, mutex=0x9a63f28, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9a63c88, mutex=0x9a63f28, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5056870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9a63c70, th=0x9a64210) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb505938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9a64008, th=0x9a64210) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb505527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9a63c70, th=0x9a64210) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5059482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a64210) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a64210, previous=0xa064288) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb505751e in ThreadWeaver::ThreadRunHelper::run (this=0xa4ec22e4, parent=0x9a63c70, th=0x9a64210) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb5057c3b in ThreadWeaver::Thread::run (this=0x9a64210) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5acbdc9 in QThreadPrivate::start (arg=0x9a64210) at thread/qthread_unix.cpp:266
#13 0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xa46c1b70 (LWP 9061)):
#0  0xb76f5430 in __kernel_vsyscall ()
#1  0xb552c015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb58b79dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5acc997 in QWaitConditionPrivate::wait (this=0x9a63c88, mutex=0x9a63f28, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9a63c88, mutex=0x9a63f28, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5056870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9a63c70, th=0x9a651a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb505938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9a64008, th=0x9a651a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb505527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9a63c70, th=0x9a651a0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5059482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a651a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a651a0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb50594a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a651a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a651a0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb50594a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a651a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a651a0, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb50594a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a651a0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a651a0, previous=0x9a08490) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0xb505751e in ThreadWeaver::ThreadRunHelper::run (this=0xa46c12e4, parent=0x9a63c70, th=0x9a651a0) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0xb5057c3b in ThreadWeaver::Thread::run (this=0x9a651a0) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0xb5acbdc9 in QThreadPrivate::start (arg=0x9a651a0) at thread/qthread_unix.cpp:266
#19 0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xa3e40b70 (LWP 9062)):
#0  0xb76f5430 in __kernel_vsyscall ()
#1  0xb552c015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb58b79dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5acc997 in QWaitConditionPrivate::wait (this=0x9a63c88, mutex=0x9a63f28, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9a63c88, mutex=0x9a63f28, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5056870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9a63c70, th=0x9a8e7d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb505938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9a64008, th=0x9a8e7d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb505527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9a63c70, th=0x9a8e7d8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5059482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a8e7d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a8e7d8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb50594a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a8e7d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a8e7d8, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb50594a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a8e7d8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a8e7d8, previous=0x9e46898) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0xb505751e in ThreadWeaver::ThreadRunHelper::run (this=0xa3e402e4, parent=0x9a63c70, th=0x9a8e7d8) at ../../../threadweaver/Weaver/Thread.cpp:87
#15 0xb5057c3b in ThreadWeaver::Thread::run (this=0x9a8e7d8) at ../../../threadweaver/Weaver/Thread.cpp:142
#16 0xb5acbdc9 in QThreadPrivate::start (arg=0x9a8e7d8) at thread/qthread_unix.cpp:266
#17 0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#18 0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa363fb70 (LWP 9063)):
#0  0xb76f5430 in __kernel_vsyscall ()
#1  0xb552c015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb58b79dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb5acc997 in QWaitConditionPrivate::wait (this=0x9a63c88, mutex=0x9a63f28, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9a63c88, mutex=0x9a63f28, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb5056870 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9a63c70, th=0x9a86680) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb505938c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9a64008, th=0x9a86680) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb505527b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9a63c70, th=0x9a86680) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb5059482 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a86680) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a86680, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb50594a1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9a64008, th=0x9a86680) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb50564d3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9a63c70, th=0x9a86680, previous=0x9ead788) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb505751e in ThreadWeaver::ThreadRunHelper::run (this=0xa363f2e4, parent=0x9a63c70, th=0x9a86680) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb5057c3b in ThreadWeaver::Thread::run (this=0x9a86680) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb5acbdc9 in QThreadPrivate::start (arg=0x9a86680) at thread/qthread_unix.cpp:266
#15 0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#16 0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa2e36b70 (LWP 9065)):
#0  0xb76f5430 in __kernel_vsyscall ()
#1  0xb552c015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb58b79dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb4ea9437 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb4fa71a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0xb4ea9481 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb4fa71a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0x9d2f8b70 (LWP 9075)):
#0  0xb76f5430 in __kernel_vsyscall ()
#1  0xb552c015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb58b79dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb11b3e8b in ?? () from /usr/lib/libgstreamer-0.10.so.0
#4  0xb11b5377 in ?? () from /usr/lib/libgstreamer-0.10.so.0
#5  0xb34c82d4 in ?? () from /lib/libglib-2.0.so.0
#6  0xb34c638f in ?? () from /lib/libglib-2.0.so.0
#7  0xb552796e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb58aaa4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb2acb720 (LWP 9052)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::proxy_to_source (this=0x97f4630, proxy_index=...) at itemviews/qsortfilterproxymodel.cpp:368
#7  0xb66f9ed3 in QSortFilterProxyModel::mapToSource (this=0x976cc98, proxyIndex=...) at itemviews/qsortfilterproxymodel.cpp:2491
#8  0xb66f0450 in QSortFilterProxyModel::buddy (this=0x976cc98, index=...) at itemviews/qsortfilterproxymodel.cpp:1994
#9  0xb6662e78 in QAbstractItemViewPrivate::sendDelegateEvent (this=0x98eb7f0, index=..., event=0xbff99150) at itemviews/qabstractitemview.cpp:4068
#10 0xb66632a8 in QAbstractItemView::edit (this=0x98eb790, index=..., trigger=QAbstractItemView::DoubleClicked, event=0xbff99150) at itemviews/qabstractitemview.cpp:2533
#11 0xb665897c in QAbstractItemView::mouseDoubleClickEvent (this=0x98eb790, event=0xbff99150) at itemviews/qabstractitemview.cpp:1822
#12 0xb60f62be in QWidget::event (this=0x98eb790, event=0xbff99150) at kernel/qwidget.cpp:8101
#13 0xb650dd93 in QFrame::event (this=0x98eb790, e=0xbff99150) at widgets/qframe.cpp:557
#14 0xb65aab62 in QAbstractScrollArea::viewportEvent (this=0x0, e=0x97f4630) at widgets/qabstractscrollarea.cpp:1037
#15 0xb6666677 in QAbstractItemView::viewportEvent (this=0x98eb790, event=0xbff99150) at itemviews/qabstractitemview.cpp:1619
#16 0xb65ad5a5 in QAbstractScrollAreaPrivate::viewportEvent (this=0x98ecb38, o=0x98de4b8, e=0xbff99150) at widgets/qabstractscrollarea_p.h:100
#17 QAbstractScrollAreaFilter::eventFilter (this=0x98ecb38, o=0x98de4b8, e=0xbff99150) at widgets/qabstractscrollarea_p.h:116
#18 0xb5bcbe2a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9310f28, receiver=0x98de4b8, event=0xbff99150) at kernel/qcoreapplication.cpp:847
#19 0xb6098929 in QApplicationPrivate::notify_helper (this=0x9310f28, receiver=0x98de4b8, e=0xbff99150) at kernel/qapplication.cpp:4354
#20 0xb60a06b7 in QApplication::notify (this=0xbff999f8, receiver=0x98de4b8, e=0xbff99150) at kernel/qapplication.cpp:3923
#21 0xb6f83276 in App::notify (this=0xbff999f8, receiver=0x98de4b8, event=0xbff99150) at ../../src/App.cpp:927
#22 0xb5bcc6cb in QCoreApplication::notifyInternal (this=0xbff999f8, receiver=0x98de4b8, event=0xbff99150) at kernel/qcoreapplication.cpp:732
#23 0xb609d992 in QCoreApplication::sendEvent (receiver=0x98de4b8, event=0xbff99150, alienWidget=0x98de4b8, nativeWidget=0x98f5b20, buttonDown=0xb6a25300, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x98de4b8, event=0xbff99150, alienWidget=0x98de4b8, nativeWidget=0x98f5b20, buttonDown=0xb6a25300, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:3023
#25 0xb612bc38 in QETWidget::translateMouseEvent (this=0x98f5b20, event=0xbff9966c) at kernel/qapplication_x11.cpp:4403
#26 0xb612b0c9 in QApplication::x11ProcessEvent (this=0xbff999f8, event=0xbff9966c) at kernel/qapplication_x11.cpp:3414
#27 0xb6159eaa in x11EventSourceDispatch (s=0x930e7a8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0xb349b265 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0xb349f088 in ?? () from /lib/libglib-2.0.so.0
#30 0xb349f268 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0xb5bfaee5 in QEventDispatcherGlib::processEvents (this=0x922d6b8, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#32 0xb6159725 in QGuiEventDispatcherGlib::processEvents (this=0x922d6b8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0xb5bcb1a9 in QEventLoop::processEvents (this=0xbff99964, flags=) at kernel/qeventloop.cpp:149
#34 0xb5bcb5fa in QEventLoop::exec (this=0xbff99964, flags=...) at kernel/qeventloop.cpp:201
#35 0xb5bcfbaf in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#36 0xb6097777 in QApplication::exec () at kernel/qapplication.cpp:3637
#37 0x08050009 in main (argc=1, argv=0xbff9a274) at ../../src/main.cpp:237

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

Possible duplicates by query: bug 254970, bug 252007, bug 247417, bug 245890, bug 245002.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2011-03-12 10:22:49 UTC
Sorry, but Amarok 2.3.0 is rather old, please upgrade, 2.3.2 is available on Ubutnu 10.04.
Anyway, this is a problem in Qt, not in Amarok.

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