Bug 217041

Summary: Detaching notifications crashes plasma [QScopedPointer<QGraphicsItemPrivate, QScopedPointerDeleter<QGraphicsItemPrivate> >::operator->, QGraphicsScenePrivate::processDirtyItemsRecursive, QGraphicsScenePrivate::_q_processDirtyItems]
Product: [Unmaintained] plasma4 Reporter: Volker Lanz <vl>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, annma
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Volker Lanz 2009-12-02 10:42:39 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.3.80 (KDE 4.3.80 (KDE 4.4 Beta1)) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.28-16-generic x86_64
Distribution: Ubuntu 9.04

-- Information about the crash:
Detaching notifications from notification widget and moving them elsewhere crashes plasma.

 -- Backtrace:
Application: Plasma Workspace (plasma-desktop), signal: Aborted
[Current thread is 0 (LWP 19200)]

Thread 2 (Thread 0x7f46babd0950 (LWP 19201)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f46d5e3346d in QWaitConditionPrivate::wait (this=0x244d2d0, time=18446744073709551615) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/thread/qwaitcondition_unix.cpp:87
#2  0x00007f46d5e32fca in QWaitCondition::wait (this=0x244cec0, mutex=0x244ceb8, time=18446744073709551615) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/thread/qwaitcondition_unix.cpp:159
#3  0x00007f46d9c51db0 in QHostInfoAgent::run (this=0x244cea0) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/network/kernel/qhostinfo.cpp:252
#4  0x00007f46d5e32a7c in QThreadPrivate::start (arg=0x244cea0) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/thread/qthread_unix.cpp:244
#5  0x00007f46d5b813ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007f46d5143fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f46dc14f7e0 (LWP 19200)):
[KCrash Handler]
#5  0x00007f46d5090fb5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007f46d5092bc3 in *__GI_abort () at abort.c:88
#7  0x00007f46d5e25e59 in qt_message_output (msgType=QtFatalMsg, buf=0x2b734a8 "ASSERT: \"d\" in file ../../include/QtCore/../../../../src/kde-qt/src/corelib/tools/qscopedpointer.h, line 112")
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/global/qglobal.cpp:2226
#8  0x00007f46d5e26074 in qt_message (msgType=QtFatalMsg, msg=0x7f46d5fe8f08 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffbbddce10)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/global/qglobal.cpp:2272
#9  0x00007f46d5e261a0 in qFatal (msg=0x7f46d5fe8f08 "ASSERT: \"%s\" in file %s, line %d") at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/global/qglobal.cpp:2455
#10 0x00007f46d5e26415 in qt_assert (assertion=0x7f46d70d8bef "d", file=0x7f46d70d8ba0 "../../include/QtCore/../../../../src/kde-qt/src/corelib/tools/qscopedpointer.h", line=112)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/global/qglobal.cpp:1989
#11 0x00007f46d6f741b2 in QScopedPointer<QGraphicsItemPrivate, QScopedPointerDeleter<QGraphicsItemPrivate> >::operator-> (this=0x297e5d8)
    at ../../include/QtCore/../../../../src/kde-qt/src/corelib/tools/qscopedpointer.h:112
#12 0x00007f46d6f912d4 in QGraphicsScenePrivate::processDirtyItemsRecursive (this=0x1a62ef0, item=0x297e5d0, dirtyAncestorContainsChildren=false, parentOpacity=1)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/gui/graphicsview/qgraphicsscene.cpp:4895
#13 0x00007f46d6fa22ad in QGraphicsScenePrivate::_q_processDirtyItems (this=0x1a62ef0) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/gui/graphicsview/qgraphicsscene.cpp:466
#14 0x00007f46d6fa269c in QGraphicsScene::qt_metacall (this=0x1937f20, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x2983590) at .moc/debug-shared/moc_qgraphicsscene.cpp:130
#15 0x00007f46daabd701 in Plasma::Corona::qt_metacall (this=0x1937f20, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x2983590) at /home/kde-devel/dev/kde4/trunk/build/kdelibs/plasma/corona.moc:107
#16 0x00007f46dbd2bc21 in DesktopCorona::qt_metacall (this=0x1937f20, _c=QMetaObject::InvokeMetaMethod, _id=18, _a=0x2983590)
    at /home/kde-devel/dev/kde4/trunk/build/kdebase/workspace/plasma/desktop/shell/desktopcorona.moc:78
#17 0x00007f46d5f67073 in QMetaObject::metacall (object=0x1937f20, cl=QMetaObject::InvokeMetaMethod, idx=18, argv=0x2983590)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qmetaobject.cpp:237
#18 0x00007f46d5f74dc3 in QMetaCallEvent::placeMetaCall (this=0x20df9b0, object=0x1937f20) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qobject.cpp:574
#19 0x00007f46d5f76d62 in QObject::event (this=0x1937f20, e=0x20df9b0) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qobject.cpp:1260
#20 0x00007f46d6f9ec29 in QGraphicsScene::event (this=0x1937f20, event=0x20df9b0) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/gui/graphicsview/qgraphicsscene.cpp:3450
#21 0x00007f46d679db99 in QApplicationPrivate::notify_helper (this=0x19422a0, receiver=0x1937f20, e=0x20df9b0) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/gui/kernel/qapplication.cpp:4242
#22 0x00007f46d679dfd5 in QApplication::notify (this=0x192b760, receiver=0x1937f20, e=0x20df9b0) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/gui/kernel/qapplication.cpp:3661
#23 0x00007f46d94be64d in KApplication::notify (this=0x192b760, receiver=0x1937f20, event=0x20df9b0) at /home/kde-devel/dev/kde4/trunk/src/kdelibs/kdeui/kernel/kapplication.cpp:302
#24 0x00007f46d5f5f2b1 in QCoreApplication::notifyInternal (this=0x192b760, receiver=0x1937f20, event=0x20df9b0)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qcoreapplication.cpp:704
#25 0x00007f46d6799d35 in QCoreApplication::sendEvent (receiver=0x1937f20, event=0x20df9b0) at ../../include/QtCore/../../../../src/kde-qt/src/corelib/kernel/qcoreapplication.h:215
#26 0x00007f46d5f5f8c7 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1913390)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qcoreapplication.cpp:1345
#27 0x00007f46d5f5fbd6 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qcoreapplication.cpp:1238
#28 0x00007f46d6892df7 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../src/kde-qt/src/corelib/kernel/qcoreapplication.h:220
#29 0x00007f46d5f9bf1b in postEventSourceDispatch (s=0x1945910) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qeventdispatcher_glib.cpp:276
#30 0x00007f46cff5b20a in IA__g_main_context_dispatch (context=0x1944930) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#31 0x00007f46cff5e8e0 in g_main_context_iterate (context=0x1944930, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#32 0x00007f46cff5ea7c in IA__g_main_context_iteration (context=0x1944930, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#33 0x00007f46d5f9acdd in QEventDispatcherGlib::processEvents (this=0x19129c0, flags={i = -1143086560}) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qeventdispatcher_glib.cpp:407
#34 0x00007f46d689123f in QGuiEventDispatcherGlib::processEvents (this=0x19129c0, flags={i = -1143086464}) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#35 0x00007f46d5f5b65b in QEventLoop::processEvents (this=0x7fffbbdde370, flags={i = -1143086304}) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qeventloop.cpp:149
#36 0x00007f46d5f5b87f in QEventLoop::exec (this=0x7fffbbdde370, flags={i = -1143086192}) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qeventloop.cpp:201
#37 0x00007f46d5f5fcfb in QCoreApplication::exec () at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/kernel/qcoreapplication.cpp:981
#38 0x00007f46d67a07b6 in QApplication::exec () at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/gui/kernel/qapplication.cpp:3570
#39 0x00007f46dbd35524 in kdemain (argc=1, argv=0x7fffbbdde728) at /home/kde-devel/dev/kde4/trunk/src/kdebase/workspace/plasma/desktop/shell/main.cpp:112
#40 0x0000000000400977 in main (argc=1, argv=0x7fffbbdde728) at /home/kde-devel/dev/kde4/trunk/build/kdebase/workspace/plasma/desktop/shell/plasma-desktop_dummy.cpp:3

Reported using DrKonqi
Comment 1 Anne-Marie Mahfouf 2009-12-02 13:35:03 UTC
Seems a duplicate of 210146
Comment 2 Dario Andres 2009-12-02 13:36:02 UTC
Indeed, this could be related to bug 210146 and its duplicates..
It is a Qt4.6 bug which should be fixed on Qt4.6.1 and a recent kde-qt (bug
210146 comment 35)
Let's see if this happens again with that updated version.
Regards
Comment 3 Anne-Marie Mahfouf 2009-12-02 13:38:44 UTC
Not fixed in kde-qt master dario!
Not sure WHERE the fix is and how distros will get it!
Comment 4 Dario Andres 2009-12-04 00:58:43 UTC
Let's say "fixed in a future kde-qt revision" ;)

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