crash in Plasma::Meter

Sebastian Kügler sebas at kde.org
Tue Oct 28 05:08:01 CET 2008


I'm running into a crash, apparently in Plasma::Meter. It happens when I 
initialize it.

I've tried checking for a non empty (valid, not null) size in Plasma::Meter, 
but that didn't seem to help.

Can somebody make sense of it?
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 

-------------- next part --------------
Application: Plasma Widget Viewer (plasmoidviewer), signal SIGSEGV

Thread 1 (Thread 0xb57f48e0 (LWP 15612)):
[KCrash Handler]
#6  0xb7ebcc95 in Plasma::Svg::size (this=0x0) at /data/kdedev/kde/src/kdebase/workspace/libs/plasma/svg.cpp:398
#7  0xb7ed854c in Plasma::Meter::paint (this=0x9dd66f8, p=0xbf871fec, option=0x9e11558, widget=0x9de58e0) at /data/kdedev/kde/src/kdebase/workspace/libs/plasma/widgets/meter.cpp:353
#8  0xb7a53804 in _q_paintItem (item=<value optimized out>, painter=0xbf871fec, option=0x9e11558, widget=0x9de58e0, useWindowOpacity=true, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:3783
#9  0xb7a5601a in QGraphicsScenePrivate::drawItemHelper (item=0x9dd6700, painter=0xbf871fec, option=0x9e11558, widget=0x9de58e0, painterStateProtection=<value optimized out>)
    at graphicsview/qgraphicsscene.cpp:3810
#10 0xb7a571a0 in QGraphicsScene::drawItems (this=0xbf8733f8, painter=0xbf871fec, numItems=36, items=0x9e0e170, options=0x9e10874, widget=0x9de58e0) at graphicsview/qgraphicsscene.cpp:4036
#11 0xb7a691bc in QGraphicsView::drawItems (this=0x9dddd68, painter=0xbf871fec, numItems=36, items=0x9e0e170, options=0x9e10874) at graphicsview/qgraphicsview.cpp:3351
#12 0xb7a71a11 in QGraphicsView::paintEvent (this=0x9dddd68, event=0xbf87254c) at graphicsview/qgraphicsview.cpp:3096
#13 0xb758aed1 in QWidget::event (this=0x9dddd68, event=0xbf87254c) at kernel/qwidget.cpp:7301
#14 0xb787b903 in QFrame::event (this=0x9dddd68, e=0xbf87254c) at widgets/qframe.cpp:651
#15 0xb79059ff in QAbstractScrollArea::viewportEvent (this=0x9dddd68, e=0xbf870df8) at widgets/qabstractscrollarea.cpp:943
#16 0xb7a7001f in QGraphicsView::viewportEvent (this=0x9dddd68, event=0xbf87254c) at graphicsview/qgraphicsview.cpp:2337
#17 0xb7907e25 in QAbstractScrollAreaFilter::eventFilter (this=0x9deb6f8, o=0x9de58e0, e=0xbf87254c) at widgets/qabstractscrollarea_p.h:96
#18 0xb6f9f56a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9c12288, receiver=0x9de58e0, event=0xbf87254c) at kernel/qcoreapplication.cpp:694
#19 0xb753873a in QApplicationPrivate::notify_helper (this=0x9c12288, receiver=0x9de58e0, e=0xbf87254c) at kernel/qapplication.cpp:3799
#20 0xb753f90a in QApplication::notify (this=0xbf87348c, receiver=0x9de58e0, e=0xbf87254c) at kernel/qapplication.cpp:3768
#21 0xb72558d3 in KApplication::notify (this=0xbf87348c, receiver=0x9de58e0, event=0xbf87254c) at /data/kdedev/kde/src/kdelibs/kdeui/kernel/kapplication.cpp:307
#22 0xb6fa0361 in QCoreApplication::notifyInternal (this=0xbf87348c, receiver=0x9de58e0, event=0xbf87254c) at kernel/qcoreapplication.cpp:583
#23 0xb759188e in qt_sendSpontaneousEvent (receiver=0x9de58e0, event=0xbf870df8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#24 0xb75879e0 in QWidgetPrivate::drawWidget (this=0x9dc61a0, pdev=0x9de2574, rgn=@0xbf8726ec, offset=@0xbf8726e4, flags=<value optimized out>, sharedPainter=0x9de7668) at kernel/qwidget.cpp:4636
#25 0xb7588254 in QWidgetPrivate::paintSiblingsRecursive (this=0x9dddd88, pdev=0x9de2574, siblings=@0xbf872840, index=2, rgn=@0xbf87290c, offset=@0xbf872904, flags=4, sharedPainter=0x9de7668)
    at kernel/qwidget.cpp:4735
#26 0xb7587757 in QWidgetPrivate::drawWidget (this=0x9dddd88, pdev=0x9de2574, rgn=@0xbf87290c, offset=@0xbf872904, flags=4, sharedPainter=0x9de7668) at kernel/qwidget.cpp:4677
#27 0xb7588254 in QWidgetPrivate::paintSiblingsRecursive (this=0x9de20d0, pdev=0x9de2574, siblings=@0xbf872a60, index=2, rgn=@0xbf872b44, offset=@0x9d3073c, flags=4, sharedPainter=0x9de7668)
    at kernel/qwidget.cpp:4735
#28 0xb7587757 in QWidgetPrivate::drawWidget (this=0x9de20d0, pdev=0x9de2574, rgn=@0xbf872b44, offset=@0x9d3073c, flags=4, sharedPainter=0x9de7668) at kernel/qwidget.cpp:4677
#29 0xb76dc68c in QWidgetBackingStore::cleanRegion (this=0x9d30730, rgn=@0xbf872bac, widget=0x9ddf6a8, recursiveCopyToScreen=true) at painting/qbackingstore.cpp:1035
#30 0xb76dc9d5 in qt_syncBackingStore (rgn={d = 0xbf872bac, static shared_empty = {ref = {_q_value = 123}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, widget=0x9ddf6a8, 
    recursive=<value optimized out>) at painting/qbackingstore.cpp:232
#31 0xb76dca40 in qt_syncBackingStore (rgn={d = 0xbf872c58, static shared_empty = {ref = {_q_value = 123}, rgn = 0x0, xrectangles = 0x0, qt_rgn = 0x0}}, widget=0x9ddf6a8)
    at painting/qbackingstore.cpp:239
#32 0xb7593076 in QETWidget::translatePaintEvent (this=0x9ddf6a8, event=0xbf87311c) at kernel/qapplication_x11.cpp:4628
#33 0xb759cd98 in QApplication::x11ProcessEvent (this=0xbf87348c, event=0xbf87311c) at kernel/qapplication_x11.cpp:3060
#34 0xb75c3c3a in x11EventSourceDispatch (s=0x9c15058, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:142
#35 0xb5bd06f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb5bd3da3 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb5bd3f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb6fc6bf8 in QEventDispatcherGlib::processEvents (this=0x9c11960, flags={i = -1081658664}) at kernel/qeventdispatcher_glib.cpp:319
#39 0xb75c33e5 in QGuiEventDispatcherGlib::processEvents (this=0x9c11960, flags={i = -1081658616}) at kernel/qguieventdispatcher_glib.cpp:198
#40 0xb6f9eaca in QEventLoop::processEvents (this=0xbf873370, flags={i = -1081658552}) at kernel/qeventloop.cpp:143
#41 0xb6f9ec8a in QEventLoop::exec (this=0xbf873370, flags={i = -1081658504}) at kernel/qeventloop.cpp:190
#42 0xb6fa0f0d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#43 0xb75385d7 in QApplication::exec () at kernel/qapplication.cpp:3331
#44 0x0804f0f5 in main (argc=) at /data/kdedev/kde/src/kdebase/workspace/plasma/shells/plasmoidviewer/main.cpp:157

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20081028/425879a7/attachment.sig 


More information about the Plasma-devel mailing list