Bug 244115

Summary: crash while playing with automated playlist generator [@ ArtistDuplicateCounter]
Product: [Applications] amarok Reporter: p92
Component: Playlists/Automated Playlist GeneratorAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED DUPLICATE    
Severity: crash CC: stharward
Priority: NOR    
Version: 2.3.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description p92 2010-07-10 11:44:28 UTC
Application: amarok (2.3.1)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I was playing with APG in amarock  triggerring several times constraint tester on integrated example3 "Example 3: about one hour of tracks from different artists" then editing example3  adding a new constraint group then clicking on "Prevent duplicate" condition then clicking on the selection box on the right. I don't remember exactly in what order and how many times.
Suddenly amarok and all KDE was unresponsive then amarok crashed.

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

Thread 18 (Thread 0x7f6af8b0c710 (LWP 3219)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f6afee76081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f6af830b710 (LWP 3250)):
#0  0x00007f6b06c02eb4 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#1  0x00007f6b06c03318 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6b06c038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f6b0e312406 in QEventDispatcherGlib::processEvents (this=0x21808d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f6b0e2e76c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f6b0e2e7a9c in QEventLoop::exec (this=0x7f6af830ad70, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f6b0e1f68db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f6aff0d2440 in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#8  0x00007f6b0e1f8f95 in QThreadPrivate::start (arg=0x2198d10) at thread/qthread_unix.cpp:248
#9  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f6af7900710 (LWP 3258)):
#0  0x00007f6b0d9a94ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f6aff538fa5 in ?? () from /usr/lib/libasound.so.2
#2  0x00007f6aff533c98 in snd_hctl_handle_events () from /usr/lib/libasound.so.2
#3  0x00007f6aff53da79 in snd_mixer_handle_events () from /usr/lib/libasound.so.2
#4  0x00007f6af7905956 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#5  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f6af70ff710 (LWP 3259)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6afee86e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f6af64f3710 (LWP 3260)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6afee86e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f6af5cf2710 (LWP 3261)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6afee86e23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f6ad8167710 (LWP 3347)):
#0  0x00007f6b0d9aaf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6b06c034a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f6b06c038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f6b0e312406 in QEventDispatcherGlib::processEvents (this=0x2f3cf20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f6b0e2e76c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f6b0e2e7a9c in QEventLoop::exec (this=0x7f6ad8166d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f6b0e1f68db in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f6b0e2c7dd8 in QInotifyFileSystemWatcherEngine::run (this=0x30a0080) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f6b0e1f8f95 in QThreadPrivate::start (arg=0x30a0080) at thread/qthread_unix.cpp:248
#9  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f6ae2e7c710 (LWP 3349)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b08d60d76 in ?? () from /usr/lib/libQtWebKit.so.4
#2  0x00007f6b08d60db9 in ?? () from /usr/lib/libQtWebKit.so.4
#3  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f6ae1491710 (LWP 3356)):
[KCrash Handler]
#5  KSharedPtr (node=0x0, newNode=<value optimized out>) at /usr/include/ksharedptr.h:84
#6  QHashNode (node=0x0, newNode=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:224
#7  QHash<KSharedPtr<Meta::Artist>, int>::duplicateNode (node=0x0, newNode=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:529
#8  0x00007f6b0e215437 in QHashData::detach_helper2 (this=0x53a2440, node_duplicate=0x7f6b0fb75880 <QHash<KSharedPtr<Meta::Artist>, int>::duplicateNode(QHashData::Node*, void*)>, 
    node_delete=<value optimized out>, nodeSize=<value optimized out>, nodeAlign=8) at tools/qhash.cpp:239
#9  0x00007f6b0fb737fe in QHash<KSharedPtr<Meta::Artist>, int>::detach_helper (this=0x393a370, tl=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:581
#10 QHash<KSharedPtr<Meta::Artist>, int>::detach (this=0x393a370, tl=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:299
#11 QHash<KSharedPtr<Meta::Artist>, int>::insert (this=0x393a370, tl=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:749
#12 ArtistDuplicateCounter (this=0x393a370, tl=<value optimized out>) at ../../src/playlistgenerator/constraints/PreventDuplicates.cpp:380
#13 0x00007f6b0fb741c0 in ConstraintTypes::PreventDuplicates::satisfaction (this=0x33b5e00, tl=...) at ../../src/playlistgenerator/constraints/PreventDuplicates.cpp:123
#14 0x00007f6b0fb5a845 in APG::ConstraintTester::testConstraint (this=0x2961ce0, name=<value optimized out>, c=0x33b5e00) at ../../src/playlistgenerator/ConstraintTester.cpp:195
#15 0x00007f6b0fb5d289 in APG::ConstraintTester::run (this=<value optimized out>) at ../../src/playlistgenerator/ConstraintTester.cpp:112
#16 0x00007f6b0a84c8dd in ThreadWeaver::JobRunHelper::runTheJob (this=0x7f6ae1490d50, th=0x3242c00, job=0x2961ce0) at ../../../threadweaver/Weaver/Job.cpp:106
#17 0x00007f6b0a84cbde in ThreadWeaver::Job::execute (this=0x2961ce0, th=0x3242c00) at ../../../threadweaver/Weaver/Job.cpp:135
#18 0x00007f6b0a84bbcf in ThreadWeaver::ThreadRunHelper::run (this=0x7f6ae1490de0, parent=0x3241d60, th=0x3242c00) at ../../../threadweaver/Weaver/Thread.cpp:95
#19 0x00007f6b0a84c168 in ThreadWeaver::Thread::run (this=0x3242c00) at ../../../threadweaver/Weaver/Thread.cpp:142
#20 0x00007f6b0e1f8f95 in QThreadPrivate::start (arg=0x3242c00) at thread/qthread_unix.cpp:248
#21 0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#22 0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f6ae0c90710 (LWP 3357)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b0e1f9fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x32426d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x32426d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6b0a84b026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3241d60, th=0x3244400) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6b0a84d6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x3241960, th=0x3244400) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6b0a84bbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f6ae0c8fde0, parent=0x3241d60, th=0x3244400) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f6b0a84c168 in ThreadWeaver::Thread::run (this=0x3244400) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f6b0e1f8f95 in QThreadPrivate::start (arg=0x3244400) at thread/qthread_unix.cpp:248
#8  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f6ae048f710 (LWP 3390)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b0e1f9fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x32426d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x32426d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6b0a84b026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3241d60, th=0x328a190) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6b0a84d6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x3241960, th=0x328a190) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6b0a84d6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3241960, th=0x328a190) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6b0a84bbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f6ae048ede0, parent=0x3241d60, th=0x328a190) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f6b0a84c168 in ThreadWeaver::Thread::run (this=0x328a190) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f6b0e1f8f95 in QThreadPrivate::start (arg=0x328a190) at thread/qthread_unix.cpp:248
#9  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f6adfc8e710 (LWP 3391)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b0e1f9fdb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x32426d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x32426d0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6b0a84b026 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x3241d60, th=0x3273ca0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f6b0a84d6ab in ThreadWeaver::WorkingHardState::applyForWork (this=0x3241960, th=0x3273ca0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f6b0a84d6c4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x3241960, th=0x3273ca0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007f6b0a84bbff in ThreadWeaver::ThreadRunHelper::run (this=0x7f6adfc8dde0, parent=0x3241d60, th=0x3273ca0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007f6b0a84c168 in ThreadWeaver::Thread::run (this=0x3273ca0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007f6b0e1f8f95 in QThreadPrivate::start (arg=0x3273ca0) at thread/qthread_unix.cpp:248
#9  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f6ad00e9710 (LWP 3557)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6b0a0b52a6 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f6b0a394220) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#2  0x00007f6b0a0b52e9 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f6b0a3a22ec) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#3  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f6adb993710 (LWP 11658)):
#0  0x00007f6b0d9affe3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f6afee9f2c5 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f6afee83c99 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6adadfd710 (LWP 11659)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6afee7993b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6afee7f9dd in ?? () from /usr/lib/libxine.so.1
#3  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6ac0bf1710 (LWP 11660)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6afee7993b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6afee80a15 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6ac03f0710 (LWP 11661)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6afee89f6b in ?? () from /usr/lib/libxine.so.1
#2  0x00007f6b0be019ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f6b0d9b76fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6b10afe780 (LWP 3178)):
#0  0x00007f6b0d9aaf83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6b0524829a in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f6b05249c2c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x00007f6b0cf668d3 in _XReply () from /usr/lib/libX11.so.6
#4  0x00007f6b0cf42a45 in XGetImage () from /usr/lib/libX11.so.6
#5  0x00007f6b0ed599c3 in QX11PixmapData::toImage (this=0x39a87d0) at image/qpixmap_x11.cpp:1492
#6  0x00007f6b0ed41ae0 in QPixmap::toImage (this=0x5425360) at image/qpixmap.cpp:486
#7  0x00007f6b0ed89683 in QTexturedBrushData::image (this=<value optimized out>) at painting/qbrush.cpp:208
#8  QBrush::textureImage (this=<value optimized out>) at painting/qbrush.cpp:785
#9  0x00007f6b0ee33a4f in QSpanData::setup (this=0x534ce10, brush=..., alpha=<value optimized out>, compositionMode=<value optimized out>) at painting/qpaintengine_raster.cpp:5078
#10 0x00007f6b0ee34aea in QRasterPaintEngine::updateBrush (this=0x53a0ac0, brush=...) at painting/qpaintengine_raster.cpp:868
#11 0x00007f6b0ee34dea in QRasterPaintEngine::ensureBrush (this=0x53a0ac0, path=..., brush=...) at painting/qpaintengine_raster_p.h:268
#12 QRasterPaintEngine::fill (this=0x53a0ac0, path=..., brush=...) at painting/qpaintengine_raster.cpp:1799
#13 0x00007f6b0edab0b5 in QPaintEngineEx::draw (this=0x7fff8d77e1c0, path=...) at painting/qpaintengineex.cpp:598
#14 0x00007f6b0edbb23a in QPainterPrivate::draw_helper (this=0x53b3360, originalPath=..., op=<value optimized out>) at painting/qpainter.cpp:458
#15 0x00007f6b0edbd7ac in QPainter::drawRects (this=<value optimized out>, rects=<value optimized out>, rectCount=1) at painting/qpainter.cpp:3571
#16 0x00007f6b0edbe5f3 in QPainter::drawRect (this=0x7fff8d781330, p=<value optimized out>, pm=...) at ../../include/QtGui/../../src/gui/painting/qpainter.h:622
#17 QPainter::drawPixmap (this=0x7fff8d781330, p=<value optimized out>, pm=...) at painting/qpainter.cpp:5295
#18 0x00007f6b0f282495 in QPainter::drawPixmap (this=<value optimized out>, item=<value optimized out>, painter=0x7fff8d781330, option=0x2f03b88, widget=<value optimized out>, 
    painterStateProtection=true) at ../../include/QtGui/../../src/gui/painting/qpainter.h:811
#19 QGraphicsScenePrivate::drawItemHelper (this=<value optimized out>, item=<value optimized out>, painter=0x7fff8d781330, option=0x2f03b88, widget=<value optimized out>, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4616
#20 0x00007f6b0f282a25 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x2d0f960, painter=0x7fff8d781330, viewTransform=<value optimized out>, transformPtr=<value optimized out>, 
    exposedRegion=<value optimized out>, widget=0x3098ac0, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true)
    at graphicsview/qgraphicsscene.cpp:4835
#21 0x00007f6b0f283662 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x2d0f960, painter=0x7fff8d781330, viewTransform=0x0, exposedRegion=0x3051570, 
    widget=0x3098ac0, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#22 0x00007f6b0f282ac0 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x30e5b00, painter=0x7fff8d781330, viewTransform=<value optimized out>, transformPtr=<value optimized out>, 
    exposedRegion=<value optimized out>, widget=0x3098ac0, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true)
    at graphicsview/qgraphicsscene.cpp:4849
#23 0x00007f6b0f283662 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x30e5b00, painter=0x7fff8d781330, viewTransform=0x0, exposedRegion=0x3051570, 
    widget=0x3098ac0, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#24 0x00007f6b0f282ac0 in QGraphicsScenePrivate::draw (this=<value optimized out>, item=0x3042d10, painter=0x7fff8d781330, viewTransform=<value optimized out>, transformPtr=<value optimized out>, 
    exposedRegion=<value optimized out>, widget=0x3098ac0, opacity=<value optimized out>, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true)
    at graphicsview/qgraphicsscene.cpp:4849
#25 0x00007f6b0f283662 in QGraphicsScenePrivate::drawSubtreeRecursive (this=<value optimized out>, item=0x3042d10, painter=0x7fff8d781330, viewTransform=0x0, exposedRegion=0x3051570, 
    widget=0x3098ac0, parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#26 0x00007f6b0f283e94 in QGraphicsScenePrivate::drawItems (this=0x2f03930, painter=0x7fff8d781330, viewTransform=0x0, exposedRegion=0x3051570, widget=0x3098ac0)
    at graphicsview/qgraphicsscene.cpp:4639
#27 0x00007f6b0f2a357c in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3387
#28 0x00007f6b0ecb4af2 in QWidget::event (this=0x30a3570, event=0x7fff8d781c60) at kernel/qwidget.cpp:8190
#29 0x00007f6b0f05d646 in QFrame::event (this=0x30a3570, e=0x7fff8d781c60) at widgets/qframe.cpp:557
#30 0x00007f6b0f2a014b in QGraphicsView::viewportEvent (this=0x30a3570, event=0x7fff8d781c60) at graphicsview/qgraphicsview.cpp:2787
#31 0x00007f6b0e2e81b7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x3098ac0, event=0x7fff8d781c60) at kernel/qcoreapplication.cpp:841
#32 0x00007f6b0ec5ebdc in QApplicationPrivate::notify_helper (this=0x1fb63f0, receiver=0x3098ac0, e=0x7fff8d781c60) at kernel/qapplication.cpp:4298
#33 0x00007f6b0ec650eb in QApplication::notify (this=0x7fff8d7860b0, receiver=0x3098ac0, e=0x7fff8d781c60) at kernel/qapplication.cpp:4185
#34 0x00007f6b1050da16 in KApplication::notify (this=0x7fff8d7860b0, receiver=0x3098ac0, event=0x7fff8d781c60) at ../../kdeui/kernel/kapplication.cpp:302
#35 0x00007f6b0e2e8d9c in QCoreApplication::notifyInternal (this=0x7fff8d7860b0, receiver=0x3098ac0, event=0x7fff8d781c60) at kernel/qcoreapplication.cpp:726
#36 0x00007f6b0ecbd0ed in QCoreApplication::sendSpontaneousEvent (this=0x3098f20, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x340d180) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 QWidgetPrivate::drawWidget (this=0x3098f20, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, backingStore=0x340d180)
    at kernel/qwidget.cpp:5363
#38 0x00007f6b0ecbdd88 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=2, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x340d180) at kernel/qwidget.cpp:5476
#39 0x00007f6b0ecbce4a in QWidgetPrivate::drawWidget (this=0x30510b0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x340d180) at kernel/qwidget.cpp:5412
#40 0x00007f6b0ecbdd88 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=1, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x340d180) at kernel/qwidget.cpp:5476
#41 0x00007f6b0ecbce4a in QWidgetPrivate::drawWidget (this=0x2f03380, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x340d180) at kernel/qwidget.cpp:5412
#42 0x00007f6b0ecbdd88 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=5, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x340d180) at kernel/qwidget.cpp:5476
#43 0x00007f6b0ecbce4a in QWidgetPrivate::drawWidget (this=0x301cde0, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x340d180) at kernel/qwidget.cpp:5412
#44 0x00007f6b0ecbdd88 in QWidgetPrivate::paintSiblingsRecursive (this=<value optimized out>, pdev=<value optimized out>, siblings=..., index=84, rgn=<value optimized out>, 
    offset=<value optimized out>, flags=4, sharedPainter=0x0, backingStore=0x340d180) at kernel/qwidget.cpp:5476
#45 0x00007f6b0ecbce4a in QWidgetPrivate::drawWidget (this=0x2498270, pdev=<value optimized out>, rgn=..., offset=<value optimized out>, flags=<value optimized out>, sharedPainter=0x0, 
    backingStore=0x340d180) at kernel/qwidget.cpp:5412
#46 0x00007f6b0ee77c75 in QWidgetBackingStore::sync (this=0x340d180) at painting/qbackingstore.cpp:1300
#47 0x00007f6b0ecaea60 in QWidgetPrivate::syncBackingStore (this=0x2498270) at kernel/qwidget.cpp:1688
#48 0x00007f6b0ecb51f5 in QWidget::event (this=0x24980e0, event=0x537da90) at kernel/qwidget.cpp:8337
#49 0x00007f6b0f078f8b in QMainWindow::event (this=0x24980e0, event=0x537da90) at widgets/qmainwindow.cpp:1414
#50 0x00007f6b0ec5ec0c in QApplicationPrivate::notify_helper (this=0x1fb63f0, receiver=0x24980e0, e=0x537da90) at kernel/qapplication.cpp:4302
#51 0x00007f6b0ec650eb in QApplication::notify (this=0x7fff8d7860b0, receiver=0x24980e0, e=0x537da90) at kernel/qapplication.cpp:4185
#52 0x00007f6b1050da16 in KApplication::notify (this=0x7fff8d7860b0, receiver=0x24980e0, event=0x537da90) at ../../kdeui/kernel/kapplication.cpp:302
#53 0x00007f6b0e2e8d9c in QCoreApplication::notifyInternal (this=0x7fff8d7860b0, receiver=0x24980e0, event=0x537da90) at kernel/qcoreapplication.cpp:726
#54 0x00007f6b0e2ec454 in QCoreApplication::sendEvent (receiver=0x24980e0, event_type=<value optimized out>, data=0x1e4e9f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x24980e0, event_type=<value optimized out>, data=0x1e4e9f0) at kernel/qcoreapplication.cpp:1367
#56 0x00007f6b0f28adca in QGraphicsViewPrivate::dispatchPendingUpdateRequests (this=0x2f03930) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:184
#57 QGraphicsScenePrivate::_q_processDirtyItems (this=0x2f03930) at graphicsview/qgraphicsscene.cpp:509
#58 0x00007f6b0f28b352 in QGraphicsScene::qt_metacall (this=0x2f03290, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x58c9000) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#59 0x00007f6b0adeadf5 in Plasma::Corona::qt_metacall (this=0x7fff8d77e1c0, _c=QMetaObject::ReadProperty, _id=-1, _a=0xffffffffffffffff) at ./corona.moc:107
#60 0x00007f6b0f8fa210 in Context::ContextScene::qt_metacall (this=0x7fff8d77e1c0, _c=QMetaObject::ReadProperty, _id=-1, _a=0xffffffffffffffff) at ./ContextScene.moc:70
#61 0x00007f6b0e2f8b79 in QObject::event (this=0x2f03290, e=0x2ce2040) at kernel/qobject.cpp:1248
#62 0x00007f6b0f286fe0 in QGraphicsScene::event (this=0x2f03290, event=0x2ce2040) at graphicsview/qgraphicsscene.cpp:3509
#63 0x00007f6b0ec5ec0c in QApplicationPrivate::notify_helper (this=0x1fb63f0, receiver=0x2f03290, e=0x2ce2040) at kernel/qapplication.cpp:4302
#64 0x00007f6b0ec650eb in QApplication::notify (this=0x7fff8d7860b0, receiver=0x2f03290, e=0x2ce2040) at kernel/qapplication.cpp:4185
#65 0x00007f6b1050da16 in KApplication::notify (this=0x7fff8d7860b0, receiver=0x2f03290, event=0x2ce2040) at ../../kdeui/kernel/kapplication.cpp:302
#66 0x00007f6b0e2e8d9c in QCoreApplication::notifyInternal (this=0x7fff8d7860b0, receiver=0x2f03290, event=0x2ce2040) at kernel/qcoreapplication.cpp:726
#67 0x00007f6b0e2ec454 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1e4e9f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#68 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1e4e9f0) at kernel/qcoreapplication.cpp:1367
#69 0x00007f6b0e312873 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#70 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#71 0x00007f6b06bff8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#72 0x00007f6b06c03748 in ?? () from /lib/libglib-2.0.so.0
#73 0x00007f6b06c038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#74 0x00007f6b0e3123b3 in QEventDispatcherGlib::processEvents (this=0x1e4e140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#75 0x00007f6b0ed0f18e in QGuiEventDispatcherGlib::processEvents (this=0x7fff8d77e1c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#76 0x00007f6b0e2e76c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#77 0x00007f6b0e2e7a9c in QEventLoop::exec (this=0x7fff8d784890, flags=) at kernel/qeventloop.cpp:201
#78 0x00007f6b0f12a7de in QDialog::exec (this=0x2cc7d60) at dialogs/qdialog.cpp:546
#79 0x00007f6b0fb6633e in APG::PresetModel::editPreset (this=<value optimized out>, index=<value optimized out>) at ../../src/playlistgenerator/PresetModel.cpp:138
#80 0x00007f6b0fb66405 in APG::PresetModel::edit (this=0x3398ad0) at ../../src/playlistgenerator/PresetModel.cpp:128
#81 0x00007f6b0f89a6f0 in APG::PresetModel::qt_metacall (this=0x3398ad0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff8d784aa0) at moc_PresetModel.cpp:91
#82 0x00007f6b0e2fc036 in QMetaObject::activate (sender=0x33893f0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3295
#83 0x00007f6b0ec58a12 in QAction::triggered (this=0x7fff8d77e1c0, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#84 0x00007f6b0ec5aa8b in QAction::activate (this=0x33893f0, event=<value optimized out>) at kernel/qaction.cpp:1255
#85 0x00007f6b0f0165ba in QAbstractButtonPrivate::click (this=0x33a84f0) at widgets/qabstractbutton.cpp:528
#86 0x00007f6b0f01686c in QAbstractButton::mouseReleaseEvent (this=0x33a8b30, e=0x7fff8d785400) at widgets/qabstractbutton.cpp:1121
#87 0x00007f6b0f0e2c6a in QToolButton::mouseReleaseEvent (this=0x7fff8d77e1c0, e=0x1) at widgets/qtoolbutton.cpp:721
#88 0x00007f6b0ecb4f12 in QWidget::event (this=0x33a8b30, event=0x7fff8d785400) at kernel/qwidget.cpp:8044
#89 0x00007f6b0ec5ec0c in QApplicationPrivate::notify_helper (this=0x1fb63f0, receiver=0x33a8b30, e=0x7fff8d785400) at kernel/qapplication.cpp:4302
#90 0x00007f6b0ec658bb in QApplication::notify (this=0x7fff8d7860b0, receiver=0x33a8b30, e=0x7fff8d785400) at kernel/qapplication.cpp:3867
#91 0x00007f6b1050da16 in KApplication::notify (this=0x7fff8d7860b0, receiver=0x33a8b30, event=0x7fff8d785400) at ../../kdeui/kernel/kapplication.cpp:302
#92 0x00007f6b0e2e8d9c in QCoreApplication::notifyInternal (this=0x7fff8d7860b0, receiver=0x33a8b30, event=0x7fff8d785400) at kernel/qcoreapplication.cpp:726
#93 0x00007f6b0ec64a9e in QCoreApplication::sendEvent (receiver=0x33a8b30, event=0x7fff8d785400, alienWidget=0x33a8b30, nativeWidget=0x2e7f830, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#94 QApplicationPrivate::sendMouseEvent (receiver=0x33a8b30, event=0x7fff8d785400, alienWidget=0x33a8b30, nativeWidget=0x2e7f830, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2967
#95 0x00007f6b0ece4ba5 in QETWidget::translateMouseEvent (this=0x2e7f830, event=<value optimized out>) at kernel/qapplication_x11.cpp:4380
#96 0x00007f6b0ece34ec in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff8d785d20) at kernel/qapplication_x11.cpp:3513
#97 0x00007f6b0ed0f5a2 in x11EventSourceDispatch (s=0x1fb41e0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#98 0x00007f6b06bff8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#99 0x00007f6b06c03748 in ?? () from /lib/libglib-2.0.so.0
#100 0x00007f6b06c038fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#101 0x00007f6b0e3123b3 in QEventDispatcherGlib::processEvents (this=0x1e4e140, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#102 0x00007f6b0ed0f18e in QGuiEventDispatcherGlib::processEvents (this=0x7fff8d77e1c0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#103 0x00007f6b0e2e76c2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#104 0x00007f6b0e2e7a9c in QEventLoop::exec (this=0x7fff8d786050, flags=) at kernel/qeventloop.cpp:201
#105 0x00007f6b0e2ec73b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#106 0x0000000000408752 in main (argc=3, argv=0x7fff8d788028) at ../../src/main.cpp:237

Reported using DrKonqi
Comment 1 Soren Harward 2010-08-10 00:55:26 UTC
This is another KSharedPtr/QHash bug.  I'm already aware of the situation, but it's proving difficult to track down exactly what the cause is, since I've never been able to reproduce the bug myself.

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