Bug 246668

Summary: Caida de plasma-desktop luego de añadir plasmoide kget
Product: [Applications] kget Reporter: Jose Simosa <jsimosa>
Component: plasma widgetAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: aseigo
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jose Simosa 2010-08-04 03:20:39 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.33.6-147.2.4.fc13.x86_64 x86_64
Distribution: "Fedora release 13 (Goddard)"

-- Information about the crash:
Al intentar añadir el plasmoide de kget grafico de barras al panel ocurrio una caida de plasma-desktop

 -- Backtrace:
Application: Área de trabajo de Plasma (plasma-desktop), signal: Floating point exception
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[KCrash Handler]
#5  KGetPieChart::PieChart::createAngles (this=0x2009ef0) at /usr/src/debug/kdenetwork-4.4.5/kget/plasma/applet/piechart/kgetpiechart.cpp:92
#6  0x00007f2c5405a410 in KGetPieChart::PieChart::paint (this=0x2009ef0, p=0x7fff900ab670, option=0x7f45e8, widget=<value optimized out>)
    at /usr/src/debug/kdenetwork-4.4.5/kget/plasma/applet/piechart/kgetpiechart.cpp:106
#7  0x0000003f2735c22a in _q_paintItem (item=<value optimized out>, painter=0x7fff900ab670, option=0x7f45e8, widget=0x0, useWindowOpacity=<value optimized out>, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4258
#8  0x0000003f2735c4bc in _q_paintIntoCache (pix=0x7fff900abd00, item=0x2009f00, pixmapExposed=..., itemToPixmap=..., renderHints=..., option=0x7f45e8, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4296
#9  0x0000003f2736fc93 in QGraphicsScenePrivate::drawItemHelper (this=0x7f4390, item=0x2009f00, painter=0x7fff900ae150, option=0x7f45e8, widget=<value optimized out>, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4594
#10 0x0000003f27370585 in QGraphicsScenePrivate::draw (this=0x7f4390, item=0x2009f00, painter=0x7fff900ae150, viewTransform=0x0, transformPtr=0x1feb690, exposedRegion=0x1783be0, widget=0x179aea0, 
    opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4835
#11 0x0000003f273711c2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x7f4390, item=0x2009f00, painter=0x7fff900ae150, viewTransform=0x0, exposedRegion=0x1783be0, widget=0x179aea0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#12 0x0000003f27370620 in QGraphicsScenePrivate::draw (this=0x7f4390, item=0x1a3dc90, painter=0x7fff900ae150, viewTransform=0x0, transformPtr=0x2018900, exposedRegion=0x1783be0, widget=0x179aea0, 
    opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4849
#13 0x0000003f273711c2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x7f4390, item=0x1a3dc90, painter=0x7fff900ae150, viewTransform=0x0, exposedRegion=0x1783be0, widget=0x179aea0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#14 0x0000003f27370620 in QGraphicsScenePrivate::draw (this=0x7f4390, item=0x19dc310, painter=0x7fff900ae150, viewTransform=0x0, transformPtr=0x2039eb0, exposedRegion=0x1783be0, widget=0x179aea0, 
    opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4849
#15 0x0000003f273711c2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x7f4390, item=0x19dc310, painter=0x7fff900ae150, viewTransform=0x0, exposedRegion=0x1783be0, widget=0x179aea0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#16 0x0000003f27370620 in QGraphicsScenePrivate::draw (this=0x7f4390, item=0x1f3d200, painter=0x7fff900ae150, viewTransform=0x0, transformPtr=0x20382c0, exposedRegion=0x1783be0, widget=0x179aea0, 
    opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4849
#17 0x0000003f273711c2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x7f4390, item=0x1f3d200, painter=0x7fff900ae150, viewTransform=0x0, exposedRegion=0x1783be0, widget=0x179aea0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#18 0x0000003f27370620 in QGraphicsScenePrivate::draw (this=0x7f4390, item=0xc62970, painter=0x7fff900ae150, viewTransform=0x0, transformPtr=0xc63800, exposedRegion=0x1783be0, widget=0x179aea0, 
    opacity=1, effectTransform=0x0, wasDirtyParentSceneTransform=false, drawItem=true) at graphicsview/qgraphicsscene.cpp:4849
#19 0x0000003f273711c2 in QGraphicsScenePrivate::drawSubtreeRecursive (this=0x7f4390, item=0xc62970, painter=0x7fff900ae150, viewTransform=0x0, exposedRegion=0x1783be0, widget=0x179aea0, 
    parentOpacity=<value optimized out>, effectTransform=0x0) at graphicsview/qgraphicsscene.cpp:4757
#20 0x0000003f273719f4 in QGraphicsScenePrivate::drawItems (this=0x7f4390, painter=0x7fff900ae150, viewTransform=0x0, exposedRegion=0x1783be0, widget=0x179aea0)
    at graphicsview/qgraphicsscene.cpp:4639
#21 0x0000003f2738f9cc in QGraphicsView::paintEvent (this=<value optimized out>, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3387
#22 0x0000003f26df606a in QWidget::event (this=0x95c840, event=0x7fff900aea80) at kernel/qwidget.cpp:8190
#23 0x0000003f271730c6 in QFrame::event (this=0x95c840, e=0x7fff900aea80) at widgets/qframe.cpp:557
#24 0x0000003f2738c5db in QGraphicsView::viewportEvent (this=0x95c840, event=0x7fff900aea80) at graphicsview/qgraphicsview.cpp:2787
#25 0x00000033d93531f7 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x179aea0, event=0x7fff900aea80) at kernel/qcoreapplication.cpp:841
#26 0x0000003f26dab36c in QApplicationPrivate::notify_helper (this=0x6aea40, receiver=0x179aea0, e=0x7fff900aea80) at kernel/qapplication.cpp:4302
#27 0x0000003f26db165b in QApplication::notify (this=<value optimized out>, receiver=0x179aea0, e=0x7fff900aea80) at kernel/qapplication.cpp:4189
#28 0x0000003f28007016 in KApplication::notify (this=0x6939c0, receiver=0x179aea0, event=0x7fff900aea80) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#29 0x00000033d9353ddc in QCoreApplication::notifyInternal (this=0x6939c0, receiver=0x179aea0, event=0x7fff900aea80) at kernel/qcoreapplication.cpp:726
#30 0x0000003f26dfdcbc in sendSpontaneousEvent (this=0x179af60, pdev=0x179c838, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x179c7d0)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#31 QWidgetPrivate::drawWidget (this=0x179af60, pdev=0x179c838, rgn=..., offset=..., flags=68, sharedPainter=0x0, backingStore=0x179c7d0) at kernel/qwidget.cpp:5363
#32 0x0000003f26fa2846 in QWidgetBackingStore::sync (this=0x179c7d0) at painting/qbackingstore.cpp:1292
#33 0x0000003f26defae0 in QWidgetPrivate::syncBackingStore (this=0x1783720) at kernel/qwidget.cpp:1688
#34 0x0000003f26df6773 in QWidget::event (this=0x95c840, event=0x1fbb590) at kernel/qwidget.cpp:8337
#35 0x0000003f271730c6 in QFrame::event (this=0x95c840, e=0x1fbb590) at widgets/qframe.cpp:557
#36 0x0000003f271f25cb in QAbstractScrollArea::event (this=0x95c840, e=0x1fbb590) at widgets/qabstractscrollarea.cpp:989
#37 0x0000003f26dab39c in QApplicationPrivate::notify_helper (this=0x6aea40, receiver=0x95c840, e=0x1fbb590) at kernel/qapplication.cpp:4306
#38 0x0000003f26db165b in QApplication::notify (this=<value optimized out>, receiver=0x95c840, e=0x1fbb590) at kernel/qapplication.cpp:4189
#39 0x0000003f28007016 in KApplication::notify (this=0x6939c0, receiver=0x95c840, event=0x1fbb590) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#40 0x00000033d9353ddc in QCoreApplication::notifyInternal (this=0x6939c0, receiver=0x95c840, event=0x1fbb590) at kernel/qcoreapplication.cpp:726
#41 0x00000033d9355ed4 in sendEvent (receiver=0x95c840, event_type=77, data=0x67b910) at kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x95c840, event_type=77, data=0x67b910) at kernel/qcoreapplication.cpp:1367
#43 0x0000003f273788ba in dispatchPendingUpdateRequests (this=0x7f4390) at ../../src/gui/graphicsview/qgraphicsview_p.h:184
#44 QGraphicsScenePrivate::_q_processDirtyItems (this=0x7f4390) at graphicsview/qgraphicsscene.cpp:509
#45 0x0000003f27378e2a in QGraphicsScene::qt_metacall (this=0x7f3e00, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x20bc300) at .moc/release-shared/moc_qgraphicsscene.cpp:130
#46 0x0000003f2e7144a5 in Plasma::Corona::qt_metacall (this=0x7f3e00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x20bc300)
    at /usr/src/debug/kdelibs-4.4.5/x86_64-redhat-linux-gnu/plasma/corona.moc:107
#47 0x0000003f2ec32023 in DesktopCorona::qt_metacall (this=0x7f3e00, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x20bc300)
    at /usr/src/debug/kdebase-workspace-4.4.5/x86_64-redhat-linux-gnu/plasma/desktop/shell/desktopcorona.moc:86
#48 0x00000033d9362f31 in QObject::event (this=0x7f3e00, e=0x731a40) at kernel/qobject.cpp:1248
#49 0x0000003f27374ad0 in QGraphicsScene::event (this=0x7f3e00, event=0x731a40) at graphicsview/qgraphicsscene.cpp:3509
#50 0x0000003f26dab39c in QApplicationPrivate::notify_helper (this=0x6aea40, receiver=0x7f3e00, e=0x731a40) at kernel/qapplication.cpp:4306
#51 0x0000003f26db165b in QApplication::notify (this=<value optimized out>, receiver=0x7f3e00, e=0x731a40) at kernel/qapplication.cpp:4189
#52 0x0000003f28007016 in KApplication::notify (this=0x6939c0, receiver=0x7f3e00, event=0x731a40) at /usr/src/debug/kdelibs-4.4.5/kdeui/kernel/kapplication.cpp:302
#53 0x00000033d9353ddc in QCoreApplication::notifyInternal (this=0x6939c0, receiver=0x7f3e00, event=0x731a40) at kernel/qcoreapplication.cpp:726
#54 0x00000033d9355ed4 in sendEvent (receiver=0x0, event_type=0, data=0x67b910) at kernel/qcoreapplication.h:215
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x67b910) at kernel/qcoreapplication.cpp:1367
#56 0x00000033d9379d23 in sendPostedEvents (s=<value optimized out>) at kernel/qcoreapplication.h:220
#57 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#58 0x00000033cea3bd02 in g_main_dispatch (context=0x6b1120) at gmain.c:1960
#59 IA__g_main_context_dispatch (context=0x6b1120) at gmain.c:2513
#60 0x00000033cea3fae8 in g_main_context_iterate (context=0x6b1120, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2591
#61 0x00000033cea3fc9c in IA__g_main_context_iteration (context=0x6b1120, may_block=1) at gmain.c:2654
#62 0x00000033d9379863 in QEventDispatcherGlib::processEvents (this=0x67b510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#63 0x0000003f26e4a84e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00000033d9352822 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#65 0x00000033d9352aec in QEventLoop::exec (this=0x7fff900b06e0, flags=...) at kernel/qeventloop.cpp:201
#66 0x00000033d93561bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#67 0x0000003f2ec37eb2 in kdemain (argc=1, argv=0x7fff900b0a78) at /usr/src/debug/kdebase-workspace-4.4.5/plasma/desktop/shell/main.cpp:112
#68 0x00000033cce1ec5d in __libc_start_main (main=0x4008f0 <main(int, char**)>, argc=1, ubp_av=0x7fff900b0a78, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fff900b0a68) at libc-start.c:226
#69 0x0000000000400829 in _start ()

Reported using DrKonqi
Comment 1 Matthias Fuchs 2010-08-13 17:53:10 UTC
SVN commit 1163286 by mfuchs:

Do not divide by zero. Happens after starting a download with an empty download list.
BUG:246668

 M  +4 -2      kgetpiechart.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1163286
Comment 2 Matthias Fuchs 2010-08-13 17:54:23 UTC
SVN commit 1163288 by mfuchs:

Backport r1163286
Do not divide by zero. Happens after starting a download with an empty download list.
CCBUG:246668

 M  +4 -2      kgetpiechart.cpp  


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