Bug 325685 - Crash on playing audio file, after removing erroneous song entry [@ CurrentTrack::mousePressEvent]
Summary: Crash on playing audio file, after removing erroneous song entry [@ CurrentTr...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: amarok
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.8.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: 2.9
Assignee: Amarok Bugs
URL:
Keywords: drkonqi
: 331042 333279 354767 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-06 00:52 UTC by Doug
Modified: 2020-12-17 15:27 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Doug 2013-10-06 00:52:14 UTC
Application: amarok (2.8.0)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

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

There was a zero length audio file, double clicked, did nothing but previous file  remained visible in playback display.  Removed erroneous entry from playlist, clicked to play previous file still visible, crashed.  Can't remember if I double-clicked album cover to play, or play button, or both.  At that point it crashed.

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3669c0f780 (LWP 20307))]

Thread 12 (Thread 0x7f3642c48700 (LWP 20317)):
#0  0x00007f3664adbd11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f36458bfe66 in my_service_thread_sleep () from /usr/lib64/libmysqld.so.18
#2  0x00007f364588fcd7 in ma_checkpoint_background () from /usr/lib64/libmysqld.so.18
#3  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 11 (Thread 0x7f3640ccc700 (LWP 20318)):
#0  0x00007f3664adbd11 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3666fbd587 in wait (time=60000, this=0x30654b0) at thread/qwaitcondition_unix.cpp:84
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x303f278, time=60000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3668c660f5 in AbstractDirectoryWatcher::run (this=0x303f250) at /usr/src/debug/amarok-2.8.0/src/scanner/AbstractDirectoryWatcher.cpp:65
#4  0x00007f3663bec83a in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f3640ccbdb0, th=th@entry=0x2f659a0, job=job@entry=0x303f250) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Job.cpp:106
#5  0x00007f3663bec9b1 in ThreadWeaver::Job::execute (this=0x303f250, th=0x2f659a0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Job.cpp:135
#6  0x00007f3663bec00f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f3640ccbe00, parent=0x3066900, th=th@entry=0x2f659a0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:95
#7  0x00007f3663bec0cb in ThreadWeaver::Thread::run (this=0x2f659a0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f3666fbd0cc in QThreadPrivate::start (arg=0x2f659a0) at thread/qthread_unix.cpp:338
#9  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 10 (Thread 0x7f3623fff700 (LWP 20319)):
#0  0x00007f3664adadf3 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f3660c54aa1 in g_mutex_unlock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3660c1732b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3660c179cb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3660c17bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f36670e72e6 in QEventDispatcherGlib::processEvents (this=0x7f361c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f36670b7adf in QEventLoop::processEvents (this=this@entry=0x7f3623ffedd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f36670b7d68 in QEventLoop::exec (this=0x7f3623ffedd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3666fba0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f366709829f in QInotifyFileSystemWatcherEngine::run (this=0x3069cd0) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f3666fbd0cc in QThreadPrivate::start (arg=0x3069cd0) at thread/qthread_unix.cpp:338
#11 0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 9 (Thread 0x7f36374dc700 (LWP 20320)):
#0  0x00007f3664adb964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3666fbd62b in wait (time=18446744073709551615, this=0x3066a50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x279eff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3663bea981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3066900, th=0x3327f50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f3663bed1cb in ThreadWeaver::WorkingHardState::applyForWork (this=0x279e470, th=0x3327f50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3663bed1e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x279e470, th=0x3327f50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f3663bec03f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f36374dbe00, parent=0x3066900, th=th@entry=0x3327f50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f3663bec0cb in ThreadWeaver::Thread::run (this=0x3327f50) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f3666fbd0cc in QThreadPrivate::start (arg=0x3327f50) at thread/qthread_unix.cpp:338
#9  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 8 (Thread 0x7f3636cdb700 (LWP 20321)):
#0  0x00007f3664adb964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3666fbd62b in wait (time=18446744073709551615, this=0x3066a50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x279eff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3663bea981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3066900, th=0x3364fd0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f3663bed1cb in ThreadWeaver::WorkingHardState::applyForWork (this=0x279e470, th=0x3364fd0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3663bec03f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f3636cdae00, parent=0x3066900, th=th@entry=0x3364fd0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:87
#6  0x00007f3663bec0cb in ThreadWeaver::Thread::run (this=0x3364fd0) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142
#7  0x00007f3666fbd0cc in QThreadPrivate::start (arg=0x3364fd0) at thread/qthread_unix.cpp:338
#8  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f36364da700 (LWP 20322)):
#0  0x00007f3664adb964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3666fbd62b in wait (time=18446744073709551615, this=0x3066a50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x279eff0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3663bea981 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3066900, th=0x3152830) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f3663bed1cb in ThreadWeaver::WorkingHardState::applyForWork (this=0x279e470, th=0x3152830) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f3663bed1e4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x279e470, th=0x3152830) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f3663bec03f in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0x7f36364d9e00, parent=0x3066900, th=th@entry=0x3152830) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:87
#7  0x00007f3663bec0cb in ThreadWeaver::Thread::run (this=0x3152830) at /usr/src/debug/kdelibs-4.10.5/threadweaver/Weaver/Thread.cpp:142
#8  0x00007f3666fbd0cc in QThreadPrivate::start (arg=0x3152830) at thread/qthread_unix.cpp:338
#9  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f3634ce7700 (LWP 20325)):
#0  0x00007f3664adb964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f36227d3543 in ?? () from /usr/lib64/dri/r600_dri.so
#2  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#3  0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f36225e4700 (LWP 20326)):
#0  0x00007f3664adb964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f365cce17c7 in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f365cce17f9 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f3621ccb700 (LWP 20327)):
#0  0x00007f36669664ed in poll () from /lib64/libc.so.6
#1  0x00007f3660c17aa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3660c17bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f36670e72e6 in QEventDispatcherGlib::processEvents (this=0x7f36100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f36670b7adf in QEventLoop::processEvents (this=this@entry=0x7f3621ccae00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f36670b7d68 in QEventLoop::exec (this=0x7f3621ccae00, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3666fba0f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f3666fbd0cc in QThreadPrivate::start (arg=0x3b84a10) at thread/qthread_unix.cpp:338
#8  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f360bfff700 (LWP 20330)):
#0  0x00007f3664adb964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3662c42307 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f3662f4f660 <QTWTF::pageheap_memory>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f3662c42339 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f3648793700 (LWP 20379)):
#0  0x00007f36669664ed in poll () from /lib64/libc.so.6
#1  0x00007f365d94212f in ?? () from /usr/lib64/libpulse.so.0
#2  0x00007f365d9334cc in pa_mainloop_poll () from /usr/lib64/libpulse.so.0
#3  0x00007f365d933b29 in pa_mainloop_iterate () from /usr/lib64/libpulse.so.0
#4  0x00007f365d933be0 in pa_mainloop_run () from /usr/lib64/libpulse.so.0
#5  0x00007f365d9420df in ?? () from /usr/lib64/libpulse.so.0
#6  0x00007f36590c89d3 in ?? () from /usr/lib64/pulseaudio/libpulsecommon-4.0.so
#7  0x00007f3664ad7e0f in start_thread () from /lib64/libpthread.so.0
#8  0x00007f366696f44d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3669c0f780 (LWP 20307)):
[KCrash Handler]
#6  0x00007f363532f65c in CurrentTrack::mousePressEvent (this=0x3871b30, event=0x7fff54b6ff10) at /usr/src/debug/amarok-2.8.0/src/context/applets/currenttrack/CurrentTrack.cpp:258
#7  0x00007f3667bb2807 in QGraphicsItem::sceneEvent (this=0x3871b40, event=0x7fff54b6ff10) at graphicsview/qgraphicsitem.cpp:6739
#8  0x00007f3667bdbcd0 in sendMouseEvent (mouseEvent=0x7fff54b6ff10, this=0x36e09a0) at graphicsview/qgraphicsscene.cpp:1295
#9  QGraphicsScenePrivate::sendMouseEvent (this=0x36e09a0, mouseEvent=0x7fff54b6ff10) at graphicsview/qgraphicsscene.cpp:1274
#10 0x00007f3667be1e76 in QGraphicsScenePrivate::mousePressEventHandler (this=this@entry=0x36e09a0, mouseEvent=mouseEvent@entry=0x7fff54b6ff10) at graphicsview/qgraphicsscene.cpp:1422
#11 0x00007f3667be237f in QGraphicsScene::mousePressEvent (this=<optimized out>, mouseEvent=0x7fff54b6ff10) at graphicsview/qgraphicsscene.cpp:4074
#12 0x00007f3667bef45a in QGraphicsScene::event (this=0x36e1240, event=0x7fff54b6ff10) at graphicsview/qgraphicsscene.cpp:3455
#13 0x00007f36675f686c in QApplicationPrivate::notify_helper (this=this@entry=0x262f410, receiver=receiver@entry=0x36e1240, e=e@entry=0x7fff54b6ff10) at kernel/qapplication.cpp:4562
#14 0x00007f36675faceb in QApplication::notify (this=0x7fff54b71aa0, receiver=0x36e1240, e=0x7fff54b6ff10) at kernel/qapplication.cpp:4423
#15 0x00007f36696457f6 in KApplication::notify (this=0x7fff54b71aa0, receiver=0x36e1240, event=0x7fff54b6ff10) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#16 0x00007f36670b8d8e in QCoreApplication::notifyInternal (this=0x7fff54b71aa0, receiver=0x36e1240, event=0x7fff54b6ff10) at kernel/qcoreapplication.cpp:946
#17 0x00007f3667c00371 in QGraphicsView::mousePressEvent (this=0x36d5b00, event=0x7fff54b70840) at graphicsview/qgraphicsview.cpp:3164
#18 0x00007f3667646130 in QWidget::event (this=0x36d5b00, event=0x7fff54b70840) at kernel/qwidget.cpp:8371
#19 0x00007f36679f0f26 in QFrame::event (this=0x36d5b00, e=0x7fff54b70840) at widgets/qframe.cpp:557
#20 0x00007f3667c08bbb in QGraphicsView::viewportEvent (this=0x36d5b00, event=0x7fff54b70840) at graphicsview/qgraphicsview.cpp:2866
#21 0x00007f36670b8ef6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x3866420, event=0x7fff54b70840) at kernel/qcoreapplication.cpp:1056
#22 0x00007f36675f683c in QApplicationPrivate::notify_helper (this=this@entry=0x262f410, receiver=receiver@entry=0x3866420, e=e@entry=0x7fff54b70840) at kernel/qapplication.cpp:4558
#23 0x00007f36675fb54b in QApplication::notify (this=<optimized out>, receiver=0x3866420, e=0x7fff54b70840) at kernel/qapplication.cpp:4105
#24 0x00007f36696457f6 in KApplication::notify (this=0x7fff54b71aa0, receiver=0x3866420, event=0x7fff54b70840) at /usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#25 0x00007f36670b8d8e in QCoreApplication::notifyInternal (this=0x7fff54b71aa0, receiver=0x3866420, event=0x7fff54b70840) at kernel/qcoreapplication.cpp:946
#26 0x00007f36675f76ab in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=0x3866420, event=0x7fff54b70840, alienWidget=0x0, nativeWidget=0x3866420, buttonDown=0x7f36680cb268 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#28 0x00007f3667671e94 in QETWidget::translateMouseEvent (this=this@entry=0x3866420, event=event@entry=0x7fff54b70fb0) at kernel/qapplication_x11.cpp:4527
#29 0x00007f3667670c21 in QApplication::x11ProcessEvent (this=0x7fff54b71aa0, event=0x7fff54b70fb0) at kernel/qapplication_x11.cpp:3650
#30 0x00007f3667696fa2 in x11EventSourceDispatch (s=0x262fd60, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007f3660c177d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#32 0x00007f3660c17b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#33 0x00007f3660c17bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#34 0x00007f36670e72c6 in QEventDispatcherGlib::processEvents (this=0x251fa70, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007f3667696c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f36670b7adf in QEventLoop::processEvents (this=this@entry=0x7fff54b71380, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f36670b7d68 in QEventLoop::exec (this=0x7fff54b71380, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f36670bca08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#39 0x0000000000407af4 in main (argc=1, argv=0x7fff54b71c08) at /usr/src/debug/amarok-2.8.0/src/main.cpp:329

Possible duplicates by query: bug 321542, bug 319969, bug 317230.

Reported using DrKonqi
Comment 1 Myriam Schweingruber 2013-10-06 07:48:11 UTC
Is this crash reproducible? Could you provide the zero-length file for testing?
Comment 2 Mark Kretschmann 2013-10-06 08:49:24 UTC
Not needed, the backtrace is good. I can see what's wrong.
Comment 3 Myriam Schweingruber 2014-02-12 12:13:16 UTC
*** Bug 331042 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2014-04-11 00:34:22 UTC
*** Bug 333279 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2015-11-03 13:09:25 UTC
*** Bug 354767 has been marked as a duplicate of this bug. ***
Comment 6 Justin Zobel 2020-12-17 05:21:37 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 7 Myriam Schweingruber 2020-12-17 15:27:13 UTC
Closing this, as it is about an obsolete version. Feel free to reopen this report with a new backtrace if this is reproducible with the kf5 version or later.