Summary: | plasma crash when removing panel from within panel settings | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | Viesturs Zarins <viesturs.zarins> |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | felix_michel, linus |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Viesturs Zarins
2008-06-04 14:46:08 UTC
Figured out a sequece to reliably reproduce the bug. First open a application window (I have KMail), make it small, so you can see the top half of desktop. I also have konqui open, but minimized, maybe that's relevant. Add a new panel to plasma (panel appears on top). Click inside the KMail window (the window is now active - has blue lines in titlebar). RClick on the new panel -> Panel settings (the KMail window is still active). Click "Remove this Panel" inside panel settings (the KMail window is still active until the confirmation dialog appears and gets focus) Now click on the KMail window (the window is active again) Click back to the plasma dialog and click Remove (plasma crashes). i can reproduce, here's a slightly better backtrace: Application: Plasma Workspace (plasma), signal SIGSEGV [?1034hUsing host libthread_db library "/lib/libthread_db.so.1". [Thread debugging using libthread_db enabled] [New Thread 0xb55df9a0 (LWP 28986)] [New Thread 0xb1e18b90 (LWP 28990)] [New Thread 0xb2d3fb90 (LWP 28989)] [New Thread 0xb3841b90 (LWP 28988)] [KCrash handler] #6 0x00000005 in ?? () #7 0xb6391dea in QGraphicsWidget::event (this=0x88c5bf0, event=0xbffad55c) at graphicsview/qgraphicswidget.cpp:1153 #8 0xb5da3e0d in QApplicationPrivate::notify_helper (this=0x807ad88, receiver=0x88c5bf0, e=0xbffad55c) at kernel/qapplication.cpp:3772 #9 0xb5da4126 in QApplication::notify (this=0x8075020, receiver=0x88c5bf0, e=0xbffad55c) at kernel/qapplication.cpp:3366 #10 0xb6ffe763 in KApplication::notify (this=0x8075020, receiver=0x88c5bf0, event=0xbffad55c) at /home/aseigo/kde4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311 #11 0xb66ee8d6 in QCoreApplication::notifyInternal (this=0x8075020, receiver=0x88c5bf0, event=0xbffad55c) at kernel/qcoreapplication.cpp:583 #12 0xb77a0bab in QCoreApplication::sendEvent (receiver=0x88c5bf0, event=0xbffad55c) at ../../../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #13 0xb639229a in QGraphicsWidget::sceneEvent (this=0x88c5bf0, event=0xbffad55c) at graphicsview/qgraphicswidget.cpp:1003 #14 0xb6369fd1 in QGraphicsScenePrivate::sendEvent (this=0x80be878, item=0x88c5bf8, event=0xbffad55c) at graphicsview/qgraphicsscene.cpp:1046 #15 0xb636bc9c in QGraphicsScene::setFocusItem (this=0x80cb0d0, item=0x0, focusReason=Qt::OtherFocusReason) at graphicsview/qgraphicsscene.cpp:2634 #16 0xb63591f6 in QGraphicsItem::clearFocus (this=0x88c5bf8) at graphicsview/qgraphicsitem.cpp:1871 #17 0xb6394d4b in ~QGraphicsWidget (this=0x88c5bf0) at graphicsview/qgraphicswidget.cpp:218 #18 0xb7e5cef5 in ~Applet (this=0x88c5bf0) at /home/aseigo/kde4/KDE/kdebase/workspace/libs/plasma/applet.cpp:121 #19 0xb7e8a649 in non-virtual thunk to Plasma::Containment::~Containment() () at /home/aseigo/kde4/KDE/kdebase/workspace/libs/plasma/containment.cpp:103 #20 0x088c5bf0 in ?? () #21 0xb3d38ff4 in ?? () from /opt/kde4/lib/kde4/plasma_containment_panel.so #22 0xbffad5f8 in ?? () #23 0xb3d359a4 in ~Panel (this=0x88c5bf0) at /home/aseigo/kde4/KDE/kdebase/workspace/plasma/containments/panel/panel.cpp:76 Backtrace stopped: frame did not save the PC #0 0xffffe410 in __kernel_vsyscall () SVN commit 816760 by aseigo: safety in removing panels, aka "work around the inane requirement to first remove items from the scene before deleting them if they are a QGraphicsWidget and have a layout" BUG:163205 M +6 -1 applet.cpp M +1 -0 applet_p.h M +5 -1 containment.cpp M +2 -0 corona.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=816760 *** Bug 161899 has been marked as a duplicate of this bug. *** *** Bug 163242 has been marked as a duplicate of this bug. *** |