Bug 162826 - Plasma crashed when trying to add Device Notifier to the panel
Summary: Plasma crashed when trying to add Device Notifier to the panel
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-29 19:47 UTC by Rosetzky Cedric
Modified: 2008-07-07 01:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rosetzky Cedric 2008-05-29 19:47:19 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          GCC-4.2.3 
OS:                Linux

As the title said, I tried to add the Device Notifier applet to the panel. I dragged it from the desktop to the panel, and the whole plasma crashed.

Backtrace:

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb4cf1740 (LWP 24034)]
[New Thread 0xafb92b90 (LWP 24779)]
[New Thread 0xb05a7b90 (LWP 24690)]
[New Thread 0xb1830b90 (LWP 24060)]
[New Thread 0xb24a9b90 (LWP 24041)]
[New Thread 0xb4597b90 (LWP 24038)]
[KCrash handler]
#6  0x00000010 in ?? ()
#7  0xb7e16ca2 in Plasma::Applet::flushPendingConstraintsEvents (
    this=0x81af538)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdebase/workspace/libs/plasma/applet.cpp:766
#8  0xb7e16d0b in Plasma::Applet::timerEvent (this=0x81af538, event=0xbffea808)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdebase/workspace/libs/plasma/applet.cpp:1323
#9  0xb66f6d7a in QObject::event () from /usr/lib/libQtCore.so.4
#10 0xb62d531f in QGraphicsWidget::event () from /usr/lib/libQtGui.so.4
#11 0xb5d28bac in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#12 0xb5d2d739 in QApplication::notify () from /usr/lib/libQtGui.so.4
#13 0xb6f67fbb in KApplication::notify (this=0x805e318, receiver=0x81af538, 
    event=0xbffea808)
    at /home/loacoon/Documents/Downloads/SVN/KDE4/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#14 0xb66e6899 in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#15 0xb6714281 in ?? () from /usr/lib/libQtCore.so.4
#16 0xb6711b20 in ?? () from /usr/lib/libQtCore.so.4
#17 0xb4e24978 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#18 0xb4e27bce in ?? () from /usr/lib/libglib-2.0.so.0
#19 0x0807ac98 in ?? ()
#20 0x00000000 in ?? ()
#0  0xffffe410 in __kernel_vsyscall ()
Comment 1 Jonathan Thomas 2008-06-02 23:00:49 UTC
I can reproduce this with KDE 4.1 Beta1.
Comment 2 Sebastian Sauer 2008-06-24 09:29:50 UTC
can this still reproduced with beta2?
Comment 3 Rosetzky Cedric 2008-06-30 23:01:44 UTC
Compiled from SVN today. This is still happening.
Comment 4 Bram Schoenmakers 2008-07-01 00:22:42 UTC
Still reproducible, but with a completely different backtrace:

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5802b60 (LWP 10070)]
[New Thread 0xb2896b90 (LWP 10144)]
[New Thread 0xb3097b90 (LWP 10075)]
[New Thread 0xb3ee6b90 (LWP 10073)]
[KCrash handler]
#6  0xb63098dd in QGraphicsLayoutItem::sizePolicy (this=0x80bbe58)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslayoutitem.cpp:332
#7  0xb6317a4b in QGridLayoutItem::sizePolicy (this=0x83139d8,
    orientation=Qt::Horizontal)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:531
#8  0xb631863c in QGridLayoutItem::stretchFactor (this=0x83139d8,
    orientation=Qt::Horizontal)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:512
#9  0xb6318ed8 in QGridLayoutEngine::fillRowData (this=0x80baf8c,
    rowData=0x80baff0, styleInfo=@0xbf80b2c0, orientation=Qt::Horizontal)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:1265
#10 0xb631aaf7 in QGridLayoutEngine::ensureColumnAndRowData (this=0x80baf8c,
    styleInfo=@0xbf80b2c0)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:1417
#11 0xb631b288 in QGridLayoutEngine::sizeHint (this=0x80baf8c,
    styleInfo=@0xbf80b2c0, which=Qt::MaximumSize)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:1011
#12 0xb630b5b9 in QGraphicsLinearLayout::sizeHint (this=0x83d3cc0,
    which=Qt::MaximumSize, constraint=@0x80baf0c)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslinearlayout.cpp:506
#13 0xb630a12b in QGraphicsLayoutItemPrivate::effectiveSizeHints (
    this=0x80baea0, constraint=@0x80bb114)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslayoutitem.cpp:151
#14 0xb630a35f in QGraphicsLayoutItem::effectiveSizeHint (this=0x83d3cc0,
    which=Qt::MaximumSize, constraint=@0x80bb114)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslayoutitem.cpp:697
#15 0xb630d371 in QGraphicsWidget::sizeHint (this=0x8459258,
    which=Qt::MaximumSize, constraint=@0x80bb114)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:581
#16 0xb7e5a005 in Plasma::Applet::sizeHint (this=0x8459258,
    which=Qt::MaximumSize, constraint=@0x80bb114)
    at /home/bram/KDE/kdebase/workspace/libs/plasma/applet.cpp:1412
#17 0xb630a12b in QGraphicsLayoutItemPrivate::effectiveSizeHints (
    this=0x80bb0a8, constraint=@0xbf80b688)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslayoutitem.cpp:151
#18 0xb630a35f in QGraphicsLayoutItem::effectiveSizeHint (this=0x8459268,
    which=Qt::PreferredSize, constraint=@0xbf80b688)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslayoutitem.cpp:697
#19 0xb6317a16 in QGridLayoutItem::sizeHint (this=0x849ac98,
    which=Qt::PreferredSize, constraint=@0xbf80b688)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:543
#20 0xb63180d3 in QGridLayoutItem::box (this=0x849ac98,
    orientation=Qt::Horizontal, constraint=-1)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:554
#21 0xb6319015 in QGridLayoutEngine::fillRowData (this=0x8214a24,
    rowData=0x8214a88, styleInfo=@0xbf80bc2c, orientation=Qt::Horizontal)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:1285
#22 0xb631aaf7 in QGridLayoutEngine::ensureColumnAndRowData (this=0x8214a24,
    styleInfo=@0xbf80bc2c)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:1417
#23 0xb631ac06 in QGridLayoutEngine::ensureGeometries (this=0x8214a24,
    styleInfo=@0xbf80bc2c, size=@0xbf80bb50)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:1432
#24 0xb631b081 in QGridLayoutEngine::setGeometries (this=0x8214a24,
    styleInfo=@0xbf80bc2c, contentsGeometry=@0xbf80bbe0)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgridlayoutengine.cpp:961
#25 0xb630b7a1 in QGraphicsLinearLayout::setGeometry (this=0x8164380,
    rect=@0xbf80bc78)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslinearlayout.cpp:489
#26 0xb63084a4 in QGraphicsLayout::activate (this=0x8164380)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslayout.cpp:252
#27 0xb6308565 in QGraphicsLayout::widgetEvent (this=0x8164380, e=0x82c2998)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicslayout.cpp:315
#28 0xb630c735 in QGraphicsWidget::event (this=0x820ab28, event=0x82c2998)
    at /home/bram/KDE/qt-copy/src/gui/graphicsview/qgraphicswidget.cpp:1153
#29 0xb5c6e175 in QApplicationPrivate::notify_helper (this=0x8073ee8,
    receiver=0x820ab28, e=0x82c2998)
    at /home/bram/KDE/qt-copy/src/gui/kernel/qapplication.cpp:3772
#30 0xb5c6e48b in QApplication::notify (this=0x80560e0, receiver=0x820ab28,
    e=0x82c2998) at /home/bram/KDE/qt-copy/src/gui/kernel/qapplication.cpp:3366
#31 0xb6dda346 in KApplication::notify (this=0x80560e0, receiver=0x820ab28,
    event=0x82c2998)
    at /home/bram/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#32 0xb673e991 in QCoreApplication::notifyInternal (this=0x80560e0,
    receiver=0x820ab28, event=0x82c2998)
    at /home/bram/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:587
#33 0xb6742e1d in QCoreApplication::sendEvent (receiver=0x820ab28,
    event=0x82c2998)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#34 0xb673ef28 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0,
    event_type=0, data=0x804c148)
    at /home/bram/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1198
#35 0xb673f19b in QCoreApplication::sendPostedEvents (receiver=0x0,
    event_type=0)
    at /home/bram/KDE/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1091
#36 0xb67744a2 in QCoreApplication::sendPostedEvents ()
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:220
#37 0xb6773399 in postEventSourceDispatch (s=0x80760a8)
    at /home/bram/KDE/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:211
#38 0xb583dccd in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0xb5840ee3 in ?? () from /usr/lib/libglib-2.0.so.0
#40 0x08076020 in ?? ()
#41 0x00000000 in ?? ()
#0  0xb7fb4410 in __kernel_vsyscall ()
Comment 5 Alex Merry 2008-07-05 13:19:18 UTC
What Qt are you using?  4.4.0 from you distro, or qt-copy?
Comment 6 Rosetzky Cedric 2008-07-05 21:48:12 UTC
Debian's QT 4.4.0.
Comment 7 Aaron J. Seigo 2008-07-07 01:20:19 UTC
SVN commit 828920 by aseigo:

remove the proxy from the layout before we delete it as otherwise we get caught in a relayouting with a deleted item
BUG:162826


 M  +4 -5      devicenotifier.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=828920