Bug 159226 - Adding a picture frame to desktop causes plasma to crash
Summary: Adding a picture frame to desktop causes plasma to crash
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Plasma
Component: widget-frame (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 07:35 UTC by Mark Eaton
Modified: 2008-03-14 07:09 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Eaton 2008-03-13 07:35:36 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.3 
OS:                Linux

Plasma crashed when I attempt to add a picture frame widget to the desktop. For me at least this is 100% repeatable. the following is the backtrace.

Application: Plasma Workspace (plasma), signal SIGSEGV
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0xb5441740 (LWP 7787)]
[New Thread 0xb3ca9b90 (LWP 7788)]
[KCrash handler]
#6  0xb6578760 in __dynamic_cast () from /usr/lib/libstdc++.so.6
#7  0xb7ee353a in Plasma::Widget::managingLayoutChanged (this=0xbfe81380)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/widgets/widget.cpp:425
#8  0xb7ee4564 in Plasma::Widget::setGeometry (this=0x85a8138, 
    geometry=@0xbfe814c8)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/widgets/widget.cpp:249
#9  0xb7e70706 in Plasma::Applet::setGeometry (this=0x85a8138, 
    geometry=@0xbfe814c8)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/applet.cpp:1494
#10 0xb7ee3b41 in Plasma::Widget::resize (this=0x85a8138, size=@0xbfe81520)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/widgets/widget.cpp:310
#11 0xb7ee3cc0 in Plasma::Widget::resize (this=0x85a8138, w=350, h=350)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/widgets/widget.cpp:315
#12 0xb344d1a6 in Frame (this=0x85a8138, parent=0x0, args=@0xbfe8176c)
    at /home/mark/code/kde4/extragear/plasma/applets/frame/frame.cpp:61
#13 0xb344f47c in KPluginFactory::createInstance<Frame, QObject> (
    parentWidget=0x0, parent=0x0, args=@0xbfe8176c)
    at /kde4/include/kpluginfactory.h:459
#14 0xb796f387 in KPluginFactory::create (this=0x85bbd90, 
    iface=0xb7f4f880 "Plasma::Applet", parentWidget=0x0, parent=0x0, 
    args=@0xbfe8176c, keyword=@0xbfe816a0)
    at /home/mark/code/kde4/kdelibs/kdecore/util/kpluginfactory.cpp:181
#15 0xb7e789a6 in KService::createInstance<Plasma::Applet> (this=0x8565ab8, 
    parent=0x0, args=@0xbfe8176c, error=0xbfe81764)
    at /kde4/include/kpluginfactory.h:513
#16 0xb7e75aa4 in Plasma::Applet::load (appletName=@0xbfe81990, appletId=13, 
    args=@0xbfe8199c)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/applet.cpp:1393
#17 0xb7e9ea8d in Plasma::Containment::addApplet (this=0x8142818, 
    name=@0xbfe81990, args=@0xbfe8199c, id=0, appletGeometry=@0xbfe81908, 
    delayInit=false)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/containment.cpp:510
#18 0xb7e9f359 in Plasma::Containment::dropEvent (this=0x8142818, 
    event=0xbfe81ed0)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/containment.cpp:881
#19 0xb6cbfb0f in QGraphicsItem::sceneEvent (this=0x8142820, event=0xbfe81ed0)
    at /home/mark/code/kde4/qt-copy/src/gui/graphicsview/qgraphicsitem.cpp:3829
#20 0xb7ee421f in Plasma::Widget::sceneEvent (this=0x8142818, 
    event=0xbfe81ed0)
    at /home/mark/code/kde4/kdebase/workspace/libs/plasma/widgets/widget.cpp:537
#21 0xb6cca005 in QGraphicsScenePrivate::sendEvent (this=0x8103668, 
    item=0x8142820, event=0xbfe81ed0)
    at /home/mark/code/kde4/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1046
#22 0xb6ccd46b in QGraphicsScenePrivate::sendDragDropEvent (this=0x8103668, 
    item=0x8142820, dragDropEvent=0xbfe81ed0)
    at /home/mark/code/kde4/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:1075
#23 0xb6ccd4b2 in QGraphicsScene::dropEvent (this=0x8103238, event=0xbfe81ed0)
    at /home/mark/code/kde4/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:3250
#24 0xb6cd3c75 in QGraphicsScene::event (this=0x8103238, event=0xbfe81ed0)
    at /home/mark/code/kde4/qt-copy/src/gui/graphicsview/qgraphicsscene.cpp:2971
#25 0xb6713fcd in QApplicationPrivate::notify_helper (this=0x807b258, 
    receiver=0x8103238, e=0xbfe81ed0)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3735
#26 0xb67142b3 in QApplication::notify (this=0x807fea0, receiver=0x8103238, 
    e=0xbfe81ed0)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3329
#27 0xb760305d in KApplication::notify (this=0x807fea0, receiver=0x8103238, 
    event=0xbfe81ed0)
    at /home/mark/code/kde4/kdelibs/kdeui/kernel/kapplication.cpp:311
#28 0xb6ff8fca in QCoreApplication::notifyInternal (this=0x807fea0, 
    receiver=0x8103238, event=0xbfe81ed0)
    at /home/mark/code/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:582
#29 0xb6ffc8f5 in QCoreApplication::sendEvent (receiver=0x8103238, 
    event=0xbfe81ed0)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#30 0xb6ce7576 in QGraphicsView::dropEvent (this=0x8104e70, event=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2311
#31 0xb6771a57 in QWidget::event (this=0x8104e70, event=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qwidget.cpp:7028
#32 0xb6ad6b9c in QFrame::event (this=0x8104e70, e=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/widgets/qframe.cpp:657
#33 0xb6b6dca1 in QAbstractScrollArea::viewportEvent (this=0x8104e70, 
    e=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/widgets/qabstractscrollarea.cpp:938
#34 0xb6ce2768 in QGraphicsView::viewportEvent (this=0x8104e70, 
    event=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/graphicsview/qgraphicsview.cpp:2267
#35 0xb6b7078e in QAbstractScrollAreaPrivate::viewportEvent (this=0x828f998, 
    event=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:102
#36 0xb6b707c0 in QAbstractScrollAreaFilter::eventFilter (this=0x828eca8, 
    o=0x828e478, e=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/widgets/qabstractscrollarea_p.h:113
#37 0xb6ff72be in QCoreApplicationPrivate::sendThroughObjectEventFilters (
    this=0x807b258, receiver=0x828e478, event=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:693
#38 0xb6713fa7 in QApplicationPrivate::notify_helper (this=0x807b258, 
    receiver=0x828e478, e=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3731
#39 0xb6715b56 in QApplication::notify (this=0x807fea0, receiver=0x828e478, 
    e=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3694
#40 0xb760305d in KApplication::notify (this=0x807fea0, receiver=0x828e478, 
    event=0xbfe824dc)
    at /home/mark/code/kde4/kdelibs/kdeui/kernel/kapplication.cpp:311
#41 0xb6ff8fca in QCoreApplication::notifyInternal (this=0x807fea0, 
    receiver=0x828e478, event=0xbfe824dc)
    at /home/mark/code/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:582
#42 0xb6ffc8f5 in QCoreApplication::sendEvent (receiver=0x828e478, 
    event=0xbfe824dc)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:215
#43 0xb679b9a1 in QX11Data::xdndHandleDrop (this=0x8081288, xe=0xbfe825c0, 
    passive=false)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qdnd_x11.cpp:1151
#44 0xb679bd5b in QDragManager::drop (this=0x8595390)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qdnd_x11.cpp:1680
#45 0xb679ea93 in QDragManager::eventFilter (this=0x8595390, o=0x8580500, 
    e=0xbfe82aa8)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qdnd_x11.cpp:1280
#46 0xb6ff7395 in QCoreApplicationPrivate::sendThroughApplicationEventFilters
    (this=0x807b258, receiver=0x8580500, event=0xbfe82aa8)
    at /home/mark/code/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:675
#47 0xb6713e74 in QApplicationPrivate::notify_helper (this=0x807b258, 
    receiver=0x8580500, e=0xbfe82aa8)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3712
#48 0xb6714aa1 in QApplication::notify (this=0x807fea0, receiver=0x8580500, 
    e=0xbfe82aa8)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication.cpp:3464
#49 0xb760305d in KApplication::notify (this=0x807fea0, receiver=0x8580500, 
    event=0xbfe82aa8)
    at /home/mark/code/kde4/kdelibs/kdeui/kernel/kapplication.cpp:311
#50 0xb6ff8fca in QCoreApplication::notifyInternal (this=0x807fea0, 
    receiver=0x8580500, event=0xbfe82aa8)
    at /home/mark/code/kde4/qt-copy/src/corelib/kernel/qcoreapplication.cpp:582
#51 0xb671fe01 in QCoreApplication::sendSpontaneousEvent (receiver=0x8580500, 
    event=0xbfe82aa8)
    at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218
#52 0xb671890c in QApplicationPrivate::sendMouseEvent (receiver=0x8580500, 
    event=0xbfe82aa8, alienWidget=0x0, nativeWidget=0x8580500, 
    buttonDown=0xb6e0abe0, lastMouseReceiver=@0xb6e0abe4)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication.cpp:2729
#53 0xb6791b7b in QETWidget::translateMouseEvent (this=0x8580500, 
    event=0xbfe8304c)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication_x11.cpp:4096
#54 0xb678f218 in QApplication::x11ProcessEvent (this=0x807fea0, 
    event=0xbfe8304c)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qapplication_x11.cpp:3096
#55 0xb67bb835 in x11EventSourceDispatch (s=0x8080a38, callback=0, 
    user_data=0x0)
    at /home/mark/code/kde4/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:148
#56 0xb6169d86 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb616d143 in ?? () from /usr/lib/libglib-2.0.so.0
#58 0x0807fc98 in ?? ()
#59 0x00000000 in ?? ()
#0  0xb7f79410 in __kernel_vsyscall ()
Comment 1 Anne-Marie Mahfouf 2008-03-13 07:48:28 UTC
KDE 4.0.2 or trunk? 
Did you try to remove your plasma config files?
Can you add any other applets without problems?
Comment 2 Mark Eaton 2008-03-13 07:59:04 UTC
This is the trunk, Updated and built last night.
I can add the clock & battery mon.
Tried adding picture frame, 3d earth, dictionary, comic strip and they crash plasma.

I will do a clean build of everything tonight to make sure it isn't that.
Comment 3 Anne-Marie Mahfouf 2008-03-13 08:04:19 UTC
OK so it's not only the Frame! What about the other backtraces?
You updated trunk last night: did all applets (that crash now) load and behave correctly BEFORE this update? 
Comment 4 Mark Eaton 2008-03-13 10:54:11 UTC
No this has been happening for a few days.
Al the backtraces are pretty much the same, in that is in the set geometry method it happens.
Comment 5 Anne-Marie Mahfouf 2008-03-13 13:05:50 UTC
When you rebuild: if you could rebuild in a clean install dir and test with a clean KDEHOME, that would be neat.
Also be sure to rebuild extragear/plasma witht he same kdelibs version than the rest.
Cannot reproduce here with today's trunk.
Comment 6 Mark Eaton 2008-03-14 07:09:19 UTC
Sorry it took me so long to reply. but I forgot my laptop was in powersaving mode so it took all day to compile.

I did a clean rebuild and I discovered that the extragear/plasma modules weren't being rebuild. (I've been using the kdesvn-build script). Manually rebuilt it and they work. sorry about the false report, but thanks to the prompt help.