<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>217041</bug_id>
          
          <creation_ts>2009-12-02 10:42:39 +0000</creation_ts>
          <short_desc>Detaching notifications crashes plasma [QScopedPointer&lt;QGraphicsItemPrivate, QScopedPointerDeleter&lt;QGraphicsItemPrivate&gt; &gt;::operator-&gt;, QGraphicsScenePrivate::processDirtyItemsRecursive, QGraphicsScenePrivate::_q_processDirtyItems]</short_desc>
          <delta_ts>2009-12-04 00:58:43 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>plasma4</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>210146</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Volker Lanz">vl</reporter>
          <assigned_to name="Plasma Bugs List">plasma-bugs-null</assigned_to>
          <cc>andresbajotierra</cc>
    
    <cc>annma</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>872232</commentid>
    <comment_count>0</comment_count>
    <who name="Volker Lanz">vl</who>
    <bug_when>2009-12-02 10:42:39 +0000</bug_when>
    <thetext>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=&lt;value optimized out&gt;) 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=&lt;value optimized out&gt;) 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 &quot;ASSERT: \&quot;d\&quot; in file ../../include/QtCore/../../../../src/kde-qt/src/corelib/tools/qscopedpointer.h, line 112&quot;)
    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 &quot;ASSERT: \&quot;%s\&quot; in file %s, line %d&quot;, ap=0x7fffbbddce10)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/global/qglobal.cpp:2272
#9  0x00007f46d5e261a0 in qFatal (msg=0x7f46d5fe8f08 &quot;ASSERT: \&quot;%s\&quot; in file %s, line %d&quot;) at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/global/qglobal.cpp:2455
#10 0x00007f46d5e26415 in qt_assert (assertion=0x7f46d70d8bef &quot;d&quot;, file=0x7f46d70d8ba0 &quot;../../include/QtCore/../../../../src/kde-qt/src/corelib/tools/qscopedpointer.h&quot;, line=112)
    at /home/kde-devel/dev/kde4/trunk/src/kde-qt/src/corelib/global/qglobal.cpp:1989
#11 0x00007f46d6f741b2 in QScopedPointer&lt;QGraphicsItemPrivate, QScopedPointerDeleter&lt;QGraphicsItemPrivate&gt; &gt;::operator-&gt; (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=&lt;value optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>872294</commentid>
    <comment_count>1</comment_count>
    <who name="Anne-Marie Mahfouf">annma</who>
    <bug_when>2009-12-02 13:35:03 +0000</bug_when>
    <thetext>Seems a duplicate of 210146</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>872296</commentid>
    <comment_count>2</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-12-02 13:36:02 +0000</bug_when>
    <thetext>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&apos;s see if this happens again with that updated version.
Regards</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>872298</commentid>
    <comment_count>3</comment_count>
    <who name="Anne-Marie Mahfouf">annma</who>
    <bug_when>2009-12-02 13:38:44 +0000</bug_when>
    <thetext>Not fixed in kde-qt master dario!
Not sure WHERE the fix is and how distros will get it!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>873122</commentid>
    <comment_count>4</comment_count>
    <who name="Dario Andres">andresbajotierra</who>
    <bug_when>2009-12-04 00:58:43 +0000</bug_when>
    <thetext>Let&apos;s say &quot;fixed in a future kde-qt revision&quot; ;)

*** This bug has been marked as a duplicate of bug 210146 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>