Bug 161567

Summary: Crash when removing an applet that failed to launch.
Product: [Unmaintained] plasma4 Reporter: Christopher Blauvelt <cblauvelt>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christopher Blauvelt 2008-05-03 18:50:13 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          G++ 4.1.3 
OS:                Linux

When removing an applet that has failed to launch plasma crashes.  I've attached the backtrace in which it appears to be a problem with QGraphicsItem accessing something that has already been deleted.

Application: Plasma Workspace (plasma), signal SIGABRT
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread -1249748784 (LWP 20300)]
[New Thread -1278067824 (LWP 20301)]
[KCrash handler]
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb5bb1875 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb5bb3201 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5dbc6e0 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#10 0xb5db9f65 in ?? () from /usr/lib/libstdc++.so.6
#11 0xb5db9fa2 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0xb5dba865 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0xb6500fa7 in QGraphicsItem::sceneBoundingRect (this=0x838e4a0)
    at graphicsview/qgraphicsitem.cpp:2559
#14 0xb651b88b in QGraphicsScenePrivate::estimateItemsInRect (this=0x80f0388, 
    rect=@0xbf837260) at graphicsview/qgraphicsscene.cpp:351
#15 0xb652e42d in QGraphicsViewPrivate::itemsInArea (this=0x82ad9a0, 
    path=@0xbf8373ac, mode=Qt::IntersectsItemShape)
    at graphicsview/qgraphicsview.cpp:1696
#16 0xb652eb4d in QGraphicsView::items (this=0x8080ae8, pos=@0xbf837484)
    at graphicsview/qgraphicsview.cpp:1755
#17 0xb652ebc3 in QGraphicsView::itemAt (this=0x8080ae8, pos=@0xbf837484)
    at graphicsview/qgraphicsview.cpp:1862
#18 0xb6504cd2 in QGraphicsItem::unsetCursor (this=0x86b6cb8)
    at graphicsview/qgraphicsitem.cpp:1325
#19 0xb654efb0 in QGraphicsProxyWidgetPrivate::setWidget_helper (
    this=0x868f448, newWidget=0x0, autoShow=true)
    at graphicsview/qgraphicsproxywidget.cpp:561
#20 0xb654f646 in QGraphicsProxyWidget::setWidget (this=0x86b6cb0, widget=0x0)
    at graphicsview/qgraphicsproxywidget.cpp:546
#21 0xb654f6d9 in ~QGraphicsProxyWidget (this=0x86b6cb0)
    at graphicsview/qgraphicsproxywidget.cpp:515
#22 0xb650891a in ~QGraphicsItem (this=0x838e4a0)
    at graphicsview/qgraphicsitem.cpp:795
#23 0xb653d55f in ~QGraphicsWidget (this=0x838e498)
    at graphicsview/qgraphicswidget.cpp:219
#24 0xb7e5c189 in ~Applet (this=0x838e498)
    at /home/jackrabbit/kde/src/KDE/kdebase/workspace/libs/plasma/applet.cpp:110
#25 0xb685bf65 in qDeleteInEventHandler (o=0x838e498)
    at kernel/qobject.cpp:3586
#26 0xb686097a in QObject::event (this=0x838e498, e=0x8617320)
    at kernel/qobject.cpp:1115
#27 0xb653a9f8 in QGraphicsWidget::event (this=0x838e498, event=0x8617320)
    at graphicsview/qgraphicswidget.cpp:1229
#28 0xb5f47f37 in QApplicationPrivate::notify_helper (this=0x807d518, 
    receiver=0x838e498, e=0x8617320) at kernel/qapplication.cpp:3766
#29 0xb5f48229 in QApplication::notify (this=0x805f440, receiver=0x838e498, 
    e=0x8617320) at kernel/qapplication.cpp:3360
#30 0xb6e83c67 in KApplication::notify (this=0x805f440, receiver=0x838e498, 
    event=0x8617320)
    at /home/jackrabbit/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#31 0xb684d62a in QCoreApplication::notifyInternal (this=0x805f440, 
    receiver=0x838e498, event=0x8617320) at kernel/qcoreapplication.cpp:583
#32 0xb6850f87 in QCoreApplication::sendEvent (receiver=0x838e498, 
    event=0x8617320)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 0xb684db42 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, 
    event_type=0, data=0x804b310) at kernel/qcoreapplication.cpp:1195
#34 0xb684dcf3 in QCoreApplication::sendPostedEvents (receiver=0x0, 
    event_type=0) at kernel/qcoreapplication.cpp:1091
#35 0xb687d5c4 in QCoreApplication::sendPostedEvents ()
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#36 0xb687c5df in postEventSourceDispatch (s=0x807f6e0)
    at kernel/qeventdispatcher_glib.cpp:211
#37 0xb5a1d11c in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb5a2055f in ?? () from /usr/lib/libglib-2.0.so.0
#39 0x0807f658 in ?? ()
#40 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Sebastian Sauer 2008-06-04 04:01:07 UTC
bug #162018 is a duplicate of this one but since I already marked bug #161757 as duplicate of bug #162018 and like to prevent ugly roundtrips (161757=>162018=>161567), let's go the easy way to mark this one a dup of the other. Thanks again to Raúl!


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