Bug 248643

Summary: Amarok crashed while using Automated Playlist Generator [@ ConstraintGroup::deleteTrack]
Product: [Applications] amarok Reporter: Leonardo La Malfa <leonardo.la.malfa>
Component: Playlists/Automated Playlist GeneratorAssignee: Amarok Bugs <amarok-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: cfeck, daniel.falsetti, hugo.pereira.da.costa, optiluca, stharward
Priority: NOR    
Version First Reported In: 2.3.1.90   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Leonardo La Malfa 2010-08-22 00:20:23 UTC
Application: amarok (2.3.1.90)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.32-24-generic i686
Distribution: Ubuntu 10.04.1 LTS

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

I was trying to use the Automated Playlist Generator, and after choosing one of the APG Presets (example 3, if memory serves well) I pressed the blue arrow (run APG with selected preset). At first it did nothing, which made me think I didn't press it properly, so after a while I hit it again, and the music playing in the meantime in the pre-existing playlist stuttered, then Amarok crashed.

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

Thread 18 (Thread 0xb4e2bb70 (LWP 1606)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d342 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a2a34 in pthread_cond_timedwait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02a57ce7 in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 17 (Thread 0xb462ab70 (LWP 1607)):
#0  0x00e3c344 in __pthread_mutex_unlock_usercnt () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x009a2be6 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#2  0x08615ab8 in IA__g_main_context_prepare (context=0x9b0b630, priority=0xb462a0cc) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2278
#3  0x08615ee9 in g_main_context_iterate (context=0x9b0b630, block=<value optimized out>, dispatch=1, self=0x9b0a8a8) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2571
#4  0x086164b8 in IA__g_main_context_iteration (context=0x9b0b630, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#5  0x002a71cf in QEventDispatcherGlib::processEvents (this=0x9a49ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00277419 in QEventLoop::processEvents (this=0xb462a220, flags=) at kernel/qeventloop.cpp:149
#7  0x0027789a in QEventLoop::exec (this=0xb462a220, flags=...) at kernel/qeventloop.cpp:201
#8  0x00174b5e in QThread::exec (this=0x9b749b8) at thread/qthread.cpp:490
#9  0x02eb381a in Phonon::Xine::XineThread::run (this=0x9b749b8) at ../../xine/xinethread.cpp:143
#10 0x00177e39 in QThreadPrivate::start (arg=0x9b749b8) at thread/qthread_unix.cpp:266
#11 0x00e3896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x00995a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 16 (Thread 0xb3e29b70 (LWP 1610)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00985e2b in read () from /lib/tls/i686/cmov/libc.so.6
#2  0x06c9ede2 in ?? () from /usr/lib/libasound.so.2
#3  0x06c9bb8d in snd_ctl_read () from /usr/lib/libasound.so.2
#4  0x06c97f4f in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#5  0x06ca3dc1 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#6  0x02dbaad8 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 15 (Thread 0xb35e6b70 (LWP 1611)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02a689ee in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 14 (Thread 0xb2da3b70 (LWP 1612)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02a689ee in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 13 (Thread 0xb2560b70 (LWP 1613)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02a689ee in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 12 (Thread 0xb1665b70 (LWP 1615)):
[KCrash Handler]
#7  0x0121944b in ConstraintGroup::deleteTrack (this=0xa405e38, tl=..., place=1) at ../../src/playlistgenerator/ConstraintGroup.cpp:387
#8  0x01219460 in ConstraintGroup::deleteTrack (this=0xa402270, tl=..., place=1) at ../../src/playlistgenerator/ConstraintGroup.cpp:388
#9  0x012215e9 in APG::ConstraintSolver::mutateRandom (this=0xd210140, temperature=0.84238885977473188) at ../../src/playlistgenerator/ConstraintSolver.cpp:304
#10 0x0122655e in APG::ConstraintSolver::run (this=0xd210140) at ../../src/playlistgenerator/ConstraintSolver.cpp:174
#11 0x02dda164 in ThreadWeaver::JobRunHelper::runTheJob (this=0xb166520c, th=0xa6a5748, job=0xd210140) at ../../../threadweaver/Weaver/Job.cpp:106
#12 0x02dda4c1 in ThreadWeaver::Job::execute (this=0xd210140, th=0xa6a5748) at ../../../threadweaver/Weaver/Job.cpp:135
#13 0x02dd918a in ThreadWeaver::ThreadRunHelper::run (this=0xb1665294, parent=0xa6c6ec0, th=0xa6a5748) at ../../../threadweaver/Weaver/Thread.cpp:95
#14 0x02dd98db in ThreadWeaver::Thread::run (this=0xa6a5748) at ../../../threadweaver/Weaver/Thread.cpp:142
#15 0x00177e39 in QThreadPrivate::start (arg=0xa6a5748) at thread/qthread_unix.cpp:266
#16 0x00e3896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x00995a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 11 (Thread 0xaf737b70 (LWP 1618)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x019ea437 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x1ae81a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#4  0x019ea481 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x1ae81a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#5  0x00e3896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x00995a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 10 (Thread 0xad13fb70 (LWP 1682)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00178a07 in QWaitConditionPrivate::wait (this=0xa6c6ed8, mutex=0xa6ed180, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa6c6ed8, mutex=0xa6ed180, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x02dd7890 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa6c6ec0, th=0x9a3bb80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x02ddb03c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa51b310, th=0x9a3bb80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x02dd6dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa6c6ec0, th=0x9a3bb80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x02ddb132 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa51b310, th=0x9a3bb80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x02dd7d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa6c6ec0, th=0x9a3bb80, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x02ddb151 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa51b310, th=0x9a3bb80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0x02dd7d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa6c6ec0, th=0x9a3bb80, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0x02ddb151 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa51b310, th=0x9a3bb80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#13 0x02dd7d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa6c6ec0, th=0x9a3bb80, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#14 0x02ddb151 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa51b310, th=0x9a3bb80) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#15 0x02dd7d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa6c6ec0, th=0x9a3bb80, previous=0xb3a3be0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#16 0x02dd91be in ThreadWeaver::ThreadRunHelper::run (this=0xad13f294, parent=0xa6c6ec0, th=0x9a3bb80) at ../../../threadweaver/Weaver/Thread.cpp:87
#17 0x02dd98db in ThreadWeaver::Thread::run (this=0x9a3bb80) at ../../../threadweaver/Weaver/Thread.cpp:142
#18 0x00177e39 in QThreadPrivate::start (arg=0x9a3bb80) at thread/qthread_unix.cpp:266
#19 0x00e3896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#20 0x00995a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xac93eb70 (LWP 1683)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00178a07 in QWaitConditionPrivate::wait (this=0xcca2a80, mutex=0xcca2a84, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xcca2a80, mutex=0xcca2a84, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x04c4dfa0 in XmlParseJob::run (this=0xcca2a60) at ../../../../../src/core-impl/collections/sqlcollection/ScanManager.cpp:717
#6  0x02dda164 in ThreadWeaver::JobRunHelper::runTheJob (this=0xac93e20c, th=0xa0868d0, job=0xcca2a60) at ../../../threadweaver/Weaver/Job.cpp:106
#7  0x02dda4c1 in ThreadWeaver::Job::execute (this=0xcca2a60, th=0xa0868d0) at ../../../threadweaver/Weaver/Job.cpp:135
#8  0x02dd918a in ThreadWeaver::ThreadRunHelper::run (this=0xac93e294, parent=0xa6c6ec0, th=0xa0868d0) at ../../../threadweaver/Weaver/Thread.cpp:95
#9  0x02dd98db in ThreadWeaver::Thread::run (this=0xa0868d0) at ../../../threadweaver/Weaver/Thread.cpp:142
#10 0x00177e39 in QThreadPrivate::start (arg=0xa0868d0) at thread/qthread_unix.cpp:266
#11 0x00e3896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x00995a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xac13db70 (LWP 1684)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x00178a07 in QWaitConditionPrivate::wait (this=0xa6c6ed8, mutex=0xa6ed180, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa6c6ed8, mutex=0xa6ed180, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x02dd7890 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa6c6ec0, th=0xa149a90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0x02ddb03c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa51b310, th=0xa149a90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0x02dd6dbb in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa6c6ec0, th=0xa149a90) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0x02ddb132 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa51b310, th=0xa149a90) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0x02dd7d93 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa6c6ec0, th=0xa149a90, previous=0xa9ee088) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0x02dd91be in ThreadWeaver::ThreadRunHelper::run (this=0xac13d294, parent=0xa6c6ec0, th=0xa149a90) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0x02dd98db in ThreadWeaver::Thread::run (this=0xa149a90) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0x00177e39 in QThreadPrivate::start (arg=0xa149a90) at thread/qthread_unix.cpp:266
#13 0x00e3896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0x00995a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xa5990b70 (LWP 1685)):
#0  0x08bc7e16 in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0x001d2edb in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x002a92f5 in QTimerInfoList::updateCurrentTime (this=0xa8d27ac) at kernel/qeventdispatcher_unix.cpp:339
#4  0x002a933a in QTimerInfoList::timerWait (this=0xa8d27ac, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x002a73d8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xa599005c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x002a7465 in timerSourcePrepare (source=0x0, timeout=0x8bcbff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x08615aca in IA__g_main_context_prepare (context=0xa906ea8, priority=0xa59900dc) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2280
#8  0x08615ee9 in g_main_context_iterate (context=0xa906ea8, block=<value optimized out>, dispatch=1, self=0xa906f30) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2571
#9  0x086164b8 in IA__g_main_context_iteration (context=0xa906ea8, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#10 0x002a71cf in QEventDispatcherGlib::processEvents (this=0xa8d2870, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00277419 in QEventLoop::processEvents (this=0xa5990230, flags=) at kernel/qeventloop.cpp:149
#12 0x0027789a in QEventLoop::exec (this=0xa5990230, flags=...) at kernel/qeventloop.cpp:201
#13 0x00174b5e in QThread::exec (this=0xa4adf30) at thread/qthread.cpp:490
#14 0x0025655b in QInotifyFileSystemWatcherEngine::run (this=0xa4adf30) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00177e39 in QThreadPrivate::start (arg=0xa4adf30) at thread/qthread_unix.cpp:266
#16 0x00e3896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#17 0x00995a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xab934b70 (LWP 1686)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x05ed551d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x63d8680) at wtf/FastMalloc.cpp:2378
#4  0x05ed5601 in WTF::TCMalloc_PageHeap::runScavengerThread (context=0x63d8680) at wtf/FastMalloc.cpp:1497
#5  0x00e3896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x00995a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xaac00b70 (LWP 1687)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x0098e971 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0x02a815cc in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 4 (Thread 0xa9548b70 (LWP 1917)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02a5b2aa in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xa8d47b70 (LWP 1918)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02a5b2aa in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread 0xa80adb70 (LWP 1919)):
#0  0x00e5a422 in __kernel_vsyscall ()
#1  0x00e3d015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x009a29dd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x02a6b9da in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb77d7770 (LWP 1604)):
#0  0x00e3c408 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libpthread.so.0
#1  0x009a2be6 in pthread_mutex_unlock () from /lib/tls/i686/cmov/libc.so.6
#2  0x05073d41 in ?? () from /usr/lib/libxcb.so.1
#3  0x050759b2 in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#4  0x08d44f96 in _XReply () from /usr/lib/libX11.so.6
#5  0x08d21739 in XGetImage () from /usr/lib/libX11.so.6
#6  0x03f16338 in QX11PixmapData::toImage (this=0xa9ec568) at image/qpixmap_x11.cpp:1498
#7  0x03efb20b in QPixmap::toImage (this=0xbfc98288) at image/qpixmap.cpp:487
#8  0x03efb25c in operator<< (stream=..., pixmap=...) at image/qpixmap.cpp:1301
#9  0x0059ca7a in KIconLoaderPrivate::insertCachedPixmapWithPath (this=0x9a16948, key=..., data=..., path=...) at ../../kdeui/icons/kiconloader.cpp:830
#10 0x005a4837 in KIconLoader::loadIcon (this=0x9a496c0, _name=..., group=KIconLoader::Desktop, size=16, state=0, overlays=..., path_store=0x0, canReturnNull=false)
    at ../../kdeui/icons/kiconloader.cpp:1306
#11 0x0059a989 in KIconEngine::pixmap (this=0xb380c80, size=..., mode=QIcon::Normal, state=QIcon::Off) at ../../kdeui/icons/kiconengine.cpp:93
#12 0x03ec6dc6 in QIcon::pixmap (this=0xbfc99444, size=..., mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:676
#13 0x04170d46 in QCommonStyle::drawControl (this=0x9a43f00, element=QStyle::CE_ToolButtonLabel, opt=0xbfc9940c, p=0xbfc999f4, widget=0xa175dd8) at styles/qcommonstyle.cpp:1598
#14 0x006064fc in KStyle::drawControl (this=0x9a43f00, element=QStyle::CE_ToolButtonLabel, option=0xbfc9940c, p=0xbfc999f4, widget=0xa175dd8) at ../../kdeui/kernel/kstyle.cpp:2508
#15 0x02cef61d in Oxygen::Style::drawControl (this=0x9a43f00, element=QStyle::CE_ToolButtonLabel, option=0xbfc99670, p=0xbfc999f4, widget=0xa175dd8) at ../../../kstyles/oxygen/oxygenstyle.cpp:937
#16 0x0060394d in KStyle::drawComplexControl (this=0x9a43f00, cc=QStyle::CC_ToolButton, opt=0xbfc99994, p=0xbfc999f4, w=0xa175dd8) at ../../kdeui/kernel/kstyle.cpp:3479
#17 0x02cd87c8 in Oxygen::Style::drawComplexControl (this=0x9a43f00, control=QStyle::CC_ToolButton, option=0xbfc99994, painter=0xbfc999f4, widget=0xa175dd8)
    at ../../../kstyles/oxygen/oxygenstyle.cpp:308
#18 0x04317c3e in QStylePainter::drawComplexControl (this=0xa175dd8) at ../../include/QtGui/../../src/gui/painting/qstylepainter.h:94
#19 QToolButton::paintEvent (this=0xa175dd8) at widgets/qtoolbutton.cpp:556
#20 0x03e60b06 in QWidget::event (this=0xa175dd8, event=0xbfc99ff4) at kernel/qwidget.cpp:8303
#21 0x0422ccde in QAbstractButton::event (this=0xa175dd8, e=0x1) at widgets/qabstractbutton.cpp:1080
#22 0x04317b9a in QToolButton::event (this=0xa175dd8, event=0xbfc99ff4) at widgets/qtoolbutton.cpp:1163
#23 0x03e030cc in QApplicationPrivate::notify_helper (this=0x99e8908, receiver=0xa175dd8, e=0xbfc99ff4) at kernel/qapplication.cpp:4389
#24 0x03e091b9 in QApplication::notify (this=0xbfc9c408, receiver=0xa175dd8, e=0xbfc99ff4) at kernel/qapplication.cpp:4354
#25 0x005f282a in KApplication::notify (this=0xbfc9c408, receiver=0xa175dd8, event=0xbfc99ff4) at ../../kdeui/kernel/kapplication.cpp:310
#26 0x0027896b in QCoreApplication::notifyInternal (this=0xbfc9c408, receiver=0xa175dd8, event=0xbfc99ff4) at kernel/qcoreapplication.cpp:732
#27 0x03e67e56 in QCoreApplication::sendSpontaneousEvent (this=0xa0ec6e8, pdev=0xa3aacec, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa3ab258)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#28 QWidgetPrivate::drawWidget (this=0xa0ec6e8, pdev=0xa3aacec, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa3ab258) at kernel/qwidget.cpp:5390
#29 0x03e68c95 in QWidgetPrivate::paintSiblingsRecursive (this=0xa177348, pdev=0xa3aacec, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5597
#30 0x03e67ba5 in QWidgetPrivate::drawWidget (this=0xa177348, pdev=0xa3aacec, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa3ab258) at kernel/qwidget.cpp:5443
#31 0x03e68c95 in QWidgetPrivate::paintSiblingsRecursive (this=0xa177070, pdev=0xa3aacec, siblings=..., index=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5597
#32 0x03e68ace in QWidgetPrivate::paintSiblingsRecursive (this=0xa177070, pdev=0xa3aacec, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5584
#33 0x03e68ace in QWidgetPrivate::paintSiblingsRecursive (this=0xa177070, pdev=0xa3aacec, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5584
#34 0x03e67ba5 in QWidgetPrivate::drawWidget (this=0xa177070, pdev=0xa3aacec, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa3ab258) at kernel/qwidget.cpp:5443
#35 0x03e68c95 in QWidgetPrivate::paintSiblingsRecursive (this=0xa176760, pdev=0xa3aacec, siblings=..., index=2, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5597
#36 0x03e67ba5 in QWidgetPrivate::drawWidget (this=0xa176760, pdev=0xa3aacec, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa3ab258) at kernel/qwidget.cpp:5443
#37 0x03e68c95 in QWidgetPrivate::paintSiblingsRecursive (this=0xa1762e8, pdev=0xa3aacec, siblings=..., index=4, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5597
#38 0x03e67ba5 in QWidgetPrivate::drawWidget (this=0xa1762e8, pdev=0xa3aacec, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa3ab258) at kernel/qwidget.cpp:5443
#39 0x03e68c95 in QWidgetPrivate::paintSiblingsRecursive (this=0x9b9e2b8, pdev=0xa3aacec, siblings=..., index=79, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5597
#40 0x03e68ace in QWidgetPrivate::paintSiblingsRecursive (this=0x9b9e2b8, pdev=0xa3aacec, siblings=..., index=81, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5584
#41 0x03e68ace in QWidgetPrivate::paintSiblingsRecursive (this=0x9b9e2b8, pdev=0xa3aacec, siblings=..., index=82, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5584
#42 0x03e68ace in QWidgetPrivate::paintSiblingsRecursive (this=0x9b9e2b8, pdev=0xa3aacec, siblings=..., index=83, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5584
#43 0x03e68ace in QWidgetPrivate::paintSiblingsRecursive (this=0x9b9e2b8, pdev=0xa3aacec, siblings=..., index=94, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xa3ab258)
    at kernel/qwidget.cpp:5584
#44 0x03e67ba5 in QWidgetPrivate::drawWidget (this=0x9b9e2b8, pdev=0xa3aacec, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0xa3ab258) at kernel/qwidget.cpp:5443
#45 0x04058cf0 in QWidgetBackingStore::sync (this=0xa3ab258) at painting/qbackingstore.cpp:1328
#46 0x03e5a0b3 in QWidgetPrivate::syncBackingStore (this=0x9b9e2b8) at kernel/qwidget.cpp:1775
#47 0x03e612a6 in QWidget::event (this=0x9df40f0, event=0xb0bd320) at kernel/qwidget.cpp:8450
#48 0x0429d5d7 in QMainWindow::event (this=0x9df40f0, event=0xb0bd320) at widgets/qmainwindow.cpp:1417
#49 0x006e8a04 in KMainWindow::event (this=0x9df40f0, ev=0xb0bd320) at ../../kdeui/widgets/kmainwindow.cpp:1100
#50 0x03e030cc in QApplicationPrivate::notify_helper (this=0x99e8908, receiver=0x9df40f0, e=0xb0bd320) at kernel/qapplication.cpp:4389
#51 0x03e091b9 in QApplication::notify (this=0xbfc9c408, receiver=0x9df40f0, e=0xb0bd320) at kernel/qapplication.cpp:4354
#52 0x005f282a in KApplication::notify (this=0xbfc9c408, receiver=0x9df40f0, event=0xb0bd320) at ../../kdeui/kernel/kapplication.cpp:310
#53 0x0027896b in QCoreApplication::notifyInternal (this=0xbfc9c408, receiver=0x9df40f0, event=0xb0bd320) at kernel/qcoreapplication.cpp:732
#54 0x0027bbcb in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x98f74a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x98f74a0) at kernel/qcoreapplication.cpp:1373
#56 0x0027bd8d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#57 0x002a769f in QCoreApplication::sendPostedEvents (s=0x99e2fa0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#58 postEventSourceDispatch (s=0x99e2fa0) at kernel/qeventdispatcher_glib.cpp:276
#59 0x086125e5 in g_main_dispatch (context=0x99e2f18) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#60 IA__g_main_context_dispatch (context=0x99e2f18) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#61 0x086162d8 in g_main_context_iterate (context=0x99e2f18, block=<value optimized out>, dispatch=1, self=0x99e92d0) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#62 0x086164b8 in IA__g_main_context_iteration (context=0x99e2f18, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#63 0x002a7195 in QEventDispatcherGlib::processEvents (this=0x99e0a80, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#64 0x03ec43b5 in QGuiEventDispatcherGlib::processEvents (this=0x99e0a80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00277419 in QEventLoop::processEvents (this=0xbfc9c374, flags=) at kernel/qeventloop.cpp:149
#66 0x0027789a in QEventLoop::exec (this=0xbfc9c374, flags=...) at kernel/qeventloop.cpp:201
#67 0x0027be4f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#68 0x03e01ef7 in QApplication::exec () at kernel/qapplication.cpp:3665
#69 0x08050001 in main (argc=1, argv=0xbfc9cc84) at ../../src/main.cpp:237

Reported using DrKonqi
Comment 1 Soren Harward 2010-08-23 02:33:06 UTC
Which versions of Qt and kdelibs were you running?

Can you run Amarok with debugging output (run "amarok --nofork --debug &> debug.log") and post the debugging log as an attachment here?
Comment 2 Leonardo La Malfa 2010-08-23 09:53:30 UTC
> Which versions of Qt and kdelibs were you running?
Qt Version: 4.7.0
kdelibs: while I took the former from this bug report, I'm not sure how to 
check this one. Can you please show me how to find that out?

> Can you run Amarok with debugging output (run "amarok --nofork --debug &>
> debug.log") and post the debugging log as an attachment here?
Sure. Do you mean I should wait for another crash, then report back, or just 
report it in any case? Because I've tried a couple of times, already, and it 
doesn't seem to be reproducible.
Comment 3 Soren Harward 2010-08-23 14:22:32 UTC
(In reply to comment #2)
> > Which versions of Qt and kdelibs were you running?
> Qt Version: 4.7.0
> kdelibs: while I took the former from this bug report, I'm not sure how to 
> check this one. Can you please show me how to find that out?

The version of kdelibs is synonymous with the version of KDE.  So just run any KDE application, and then select "Help > About KDE" and give me the version there.

> > Can you run Amarok with debugging output (run "amarok --nofork --debug &>
> > debug.log") and post the debugging log as an attachment here?
> Sure. Do you mean I should wait for another crash, then report back, or just 
> report it in any case? Because I've tried a couple of times, already, and it 
> doesn't seem to be reproducible.

Yeah, I need the debugging log from when it crashes.  I can't reproduce it either, and even though I'm pretty sure I know what happened, the likely cause was something that shouldn't happen because I have measures in place in the code to prevent it from happening.

Further question: did you change the constraint at all between when you ran it the first time and it didn't appear to work, and when you ran it again and it crashed?  Did you even open the constraint editor dialog?
Comment 4 Leonardo La Malfa 2010-08-23 14:44:51 UTC
> The version of kdelibs is synonymous with the version of KDE.  So just run
> any KDE application, and then select "Help > About KDE" and give me the
> version there.
OK, sorry, I'm still sort of a noob. Then it would be the same as in the bug 
report: 4.5 :)

> Yeah, I need the debugging log from when it crashes.  I can't reproduce it
> either, and even though I'm pretty sure I know what happened, the likely
> cause was something that shouldn't happen because I have measures in place
> in the code to prevent it from happening.
I've kept testing, and still nothing happened. I will keep doing so until it 
does.

> Further question: did you change the constraint at all between when you ran
> it the first time and it didn't appear to work, and when you ran it again
> and it crashed?  Did you even open the constraint editor dialog?
It was the first time I tried that feature, I didn't even know what 
"constraint" exactly meant, go figure! And I haven't changed them afterwards, 
either.
Comment 5 Soren Harward 2010-08-23 15:11:17 UTC
(In reply to comment #4)
> > Yeah, I need the debugging log from when it crashes.  I can't reproduce it
> > either, and even though I'm pretty sure I know what happened, the likely
> > cause was something that shouldn't happen because I have measures in place
> > in the code to prevent it from happening.
> I've kept testing, and still nothing happened. I will keep doing so until it 
> does.

Okay.  Right now, the existing safety checks make crashes "very unlikely", which isn't the same as "never".  I've got some ideas for how to bolster them, but they're a few steps down the priority list.
Comment 6 Myriam Schweingruber 2010-12-13 11:34:16 UTC
*** Bug 255927 has been marked as a duplicate of this bug. ***
Comment 7 Myriam Schweingruber 2010-12-13 11:35:15 UTC
Confirmed by duplicate
Comment 8 Aaron J. Seigo 2011-05-06 17:08:29 UTC
*** Bug 249175 has been marked as a duplicate of this bug. ***
Comment 9 Hugo Pereira Da Costa 2011-05-06 18:59:01 UTC
Not an oxygen bug I'd say.
Crash occurs deep inside Qt via KIconLoader, triggered by a QCommonStyle call.
Re-assigning to kdelibs, though it might also be Qt upstream.
Comment 10 Christoph Feck 2011-08-05 14:42:29 UTC
Who reads the backtrace?

The crash is in Thread 12, in "ConstraintGroup::deleteTrack", which is from Amarok source, and neither in kdelibs, nor in Qt, nor in Oxygen.

Reassigning back.
Comment 11 Myriam Schweingruber 2011-08-07 10:30:41 UTC
@Christoph: please see comment #8, Aaron reassigned that to Oxygen on May 6th. I set it to the APG in Amarok earlier though, no idea why this was reassigned.
Leonardo or Soren, is this still valid?
Comment 12 Leonardo La Malfa 2011-08-07 13:57:39 UTC
(In reply to comment #11)
> @Christoph: please see comment #8, Aaron reassigned that to Oxygen on May 6th.
> I set it to the APG in Amarok earlier though, no idea why this was reassigned.
> Leonardo or Soren, is this still valid?

It was a one time crash, I didn't experience it anymore.
Comment 13 Myriam Schweingruber 2011-08-08 07:57:54 UTC
Thank you for the feedback.