Bug 186725

Summary: Plasma crashes randomly with SIGSEGV, consumes full CPU
Product: [Unmaintained] plasma4 Reporter: Narendra <narendra.parihar>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, kay.abendroth
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Narendra 2009-03-10 06:56:33 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Unlisted Binary Package

Plasma workspace crashes randomly on kde 4.2.1 installation. I am not able to reproduce the exact scenario. Mosty the crash happens after leaving machine un-attended for more than 2-3 hours. On re-login, I see the crash has happened and the CPU usage is 100%. Sometimes crash happens while adjusting system tray applications. The entire workspace would just freeze and on mouse-clicking on system tray application would crash plasma.


Additional configuration
========================
Linux version - Archlinux
Using kdemod 4.2.1 packages 
QT version - 4.4
Nvidia driver version - 180.29 stable

========================

Backtrace
==============================
Application: Plasma Workspace (plasma), signal SIGSEGV
[Current thread is 0 (LWP 5794)]

Thread 7 (Thread 0xa9458b90 (LWP 5802)):
#0  0xb7f50424 in __kernel_vsyscall ()
#1  0xb6764f82 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaa3527b1 in metronom_sync_loop () from /usr/lib/libxine.so.1

Thread 6 (Thread 0xa8c57b90 (LWP 5803)):
#0  0xb676253c in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0xb5aea098 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#2  0xb5aea68a in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#3  0xb5aeab61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb68e5797 in QEventDispatcherGlib::processEvents (this=0xa32db70, flags={i = -1463455176}) at kernel/qeventdispatcher_glib.cpp:321
#5  0xb68bd84a in QEventLoop::processEvents (this=0xa8c572a0, flags={i = -1463455112}) at kernel/qeventloop.cpp:143
#6  0xb68bda0a in QEventLoop::exec (this=0xa8c572a0, flags={i = -1463455064}) at kernel/qeventloop.cpp:190
#7  0xb67e1ba3 in QThread::exec (this=0xa3d8070) at thread/qthread.cpp:458
#8  0xaa39f5b9 in Phonon::Xine::XineThread::run () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb67e4a40 in QThreadPrivate::start (arg=0xa3d8070) at thread/qthread_unix.cpp:185
#10 0xb6761155 in start_thread () from /lib/libpthread.so.0
#11 0xb65c0a5e in clone () from /lib/libc.so.6

Thread 5 (Thread 0xa8456b90 (LWP 5806)):
#0  0xb7f50424 in __kernel_vsyscall ()
#1  0xb65b6e17 in poll () from /lib/libc.so.6
#2  0xa9fb7ee4 in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.25/xineplug_ao_out_alsa.so
#3  0x00000000 in ?? ()

Thread 4 (Thread 0xa7c55b90 (LWP 5807)):
#0  0xb7f50424 in __kernel_vsyscall ()
#1  0xb6764c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xaa364794 in ao_loop () from /usr/lib/libxine.so.1
#3  0x00000000 in ?? ()

Thread 3 (Thread 0xa6c2ab90 (LWP 5830)):
#0  0xb7f50424 in __kernel_vsyscall ()
#1  0xb6764c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e57d2 in QWaitCondition::wait (this=0xa5c5ed0, mutex=0xa5c5ecc, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#3  0xb795a0ca in QHostInfoAgent::run (this=0xa5c5ec0) at kernel/qhostinfo.cpp:241
#4  0xb67e4a40 in QThreadPrivate::start (arg=0xa5c5ec0) at thread/qthread_unix.cpp:185
#5  0xb6761155 in start_thread () from /lib/libpthread.so.0
#6  0xb65c0a5e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xa63f7b90 (LWP 5839)):
#0  0xb7f50424 in __kernel_vsyscall ()
#1  0xb6764c55 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67e57d2 in QWaitCondition::wait (this=0xa2581b8, mutex=0xa2581b4, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#3  0xaa63e4f2 in RenderThread::run (this=0xa2581ac) at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/wallpapers/image/renderthread.cpp:91
#4  0xb67e4a40 in QThreadPrivate::start (arg=0xa2581ac) at thread/qthread_unix.cpp:185
#5  0xb6761155 in start_thread () from /lib/libpthread.so.0
#6  0xb65c0a5e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb47d9730 (LWP 5794)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb6c409e6 in blend_src_generic<RegularSpans> (count=32, spans=0xabe3934, userData=0xa7af200) at painting/qdrawhelper.cpp:3180
#8  0xb6c41b00 in blend_transformed_bilinear_argb<RegularSpans> (count=32, spans=0xabe3934, userData=0xa7af200) at painting/qdrawhelper.cpp:5307
#9  0xb6c32b50 in qBlendTexture (count=32, spans=0xabe3934, userData=0xa7af200) at painting/qdrawhelper.cpp:6224
#10 0xb6c4c59b in gray_convert_glyph (worker=0xabe3520) at painting/qgrayraster.c:1747
#11 0xb6c1c460 in QRasterPaintEnginePrivate::rasterize (this=0xa7af0a8, outline=0xa84d834, callback=0xb6c32b00 <qBlendTexture(int, QT_FT_Span_ const*, void*)>, userData=0xa7af200, 
    rasterBuffer=0xa71dda8) at painting/qpaintengine_raster.cpp:3954
#12 0xb6c25376 in QRasterPaintEngine::fillPath (this=0xac0ff90, path=@0xbfe6ba94, fillData=0xa7af200) at painting/qpaintengine_raster.cpp:1626
#13 0xb6c28e49 in QRasterPaintEngine::drawPath (this=0xac0ff90, path=@0xbfe6ba94) at painting/qpaintengine_raster.cpp:1866
#14 0xb6bc0496 in QPainter::drawPath (this=0xbfe6ba08, path=@0xbfe6ba94) at painting/qpainter.cpp:2825
#15 0xb6bbb789 in QPainterPrivate::draw_helper (this=0xa76b770, originalPath=@0xbfe6ba94, op=<value optimized out>) at painting/qpainter.cpp:358
#16 0xb6bbdc32 in QPainter::drawRects (this=0xbfe6c804, rects=0xbfe6bb90, rectCount=1) at painting/qpainter.cpp:2955
#17 0xb6bbfa87 in QPainter::drawPixmap (this=0xbfe6c804, r=@0xbfe6bd40, pm=@0xbfe6bc9c, sr=@0xbfe6bc68) at ../../include/QtGui/../../src/gui/painting/qpainter.h:576
#18 0xb7e38611 in Plasma::Svg::paint () from /usr/lib/libplasma.so.3
#19 0xaa6a40b7 in Battery::paintBattery (this=0xa25ef08, p=0xbfe6c804, contentsRect=@0xbfe6bf0c, batteryPercent=100, plugState=true)
    at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/applets/battery/battery.cpp:825
#20 0xaa6a467e in Battery::paintInterface (this=0xa25ef08, p=0xbfe6c804, option=0xbfe6c3c4, contentsRect=@0xbfe6c200)
    at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/applets/battery/battery.cpp:861
#21 0xb7dce029 in Plasma::Applet::paint () from /usr/lib/libplasma.so.3
#22 0xb6fd93e2 in _q_paintItem (item=<value optimized out>, painter=0xbfe6c804, option=0xbfe6c3c4, widget=0x0, useWindowOpacity=false, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:3775
#23 0xb6fdc7dc in QGraphicsScenePrivate::drawItemHelper (item=0xa25ef10, painter=0xbfe6d43c, option=0xa96e458, widget=0xa398788, painterStateProtection=<value optimized out>)
    at graphicsview/qgraphicsscene.cpp:3940
#24 0xb6fdcd30 in QGraphicsScene::drawItems (this=0xa08c690, painter=0xbfe6d43c, numItems=2, items=0xa6bdf68, options=0xa96e3d4, widget=0xa398788) at graphicsview/qgraphicsscene.cpp:4028
#25 0xb6feeb3c in QGraphicsView::drawItems (this=0xa3a4b70, painter=0xbfe6d43c, numItems=2, items=0xa6bdf68, options=0xa96e3d4) at graphicsview/qgraphicsview.cpp:3351
#26 0xb6ff7329 in QGraphicsView::paintEvent (this=0xa3a4b70, event=0xbfe6d9ac) at graphicsview/qgraphicsview.cpp:3096
#27 0xb7f1626c in PanelView::paintEvent (this=0xa3a4b70, event=0xbfe6d9ac)
    at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/shells/desktop/panelview.cpp:1150
#28 0xb6b19a51 in QWidget::event (this=0xa3a4b70, event=0xbfe6d9ac) at kernel/qwidget.cpp:7301
#29 0xb6e028e3 in QFrame::event (this=0xa3a4b70, e=0xbfe6d9ac) at widgets/qframe.cpp:651
#30 0xb6e8c32f in QAbstractScrollArea::viewportEvent (this=0xa3a4b70, e=0xbfe691c4) at widgets/qabstractscrollarea.cpp:943
#31 0xb6ff593f in QGraphicsView::viewportEvent (this=0xa3a4b70, event=0xbfe6d9ac) at graphicsview/qgraphicsview.cpp:2337
#32 0xb6e8e725 in QAbstractScrollAreaFilter::eventFilter (this=0xa3a9fa0, o=0xa398788, e=0xbfe6d9ac) at widgets/qabstractscrollarea_p.h:96
#33 0xb68be2ea in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xa08c450, receiver=0xa398788, event=0xbfe6d9ac) at kernel/qcoreapplication.cpp:694
#34 0xb6ac79ca in QApplicationPrivate::notify_helper (this=0xa08c450, receiver=0xa398788, e=0xbfe6d9ac) at kernel/qapplication.cpp:3799
#35 0xb6aceb5a in QApplication::notify (this=0xa0682b8, receiver=0xa398788, e=0xbfe6d9ac) at kernel/qapplication.cpp:3768
#36 0xb76f9cfd in KApplication::notify () from /usr/lib/libkdeui.so.5
#37 0xb68bf0e1 in QCoreApplication::notifyInternal (this=0xa0682b8, receiver=0xa398788, event=0xbfe6d9ac) at kernel/qcoreapplication.cpp:583
#38 0xb6b203ce in qt_sendSpontaneousEvent (receiver=0xa398788, event=0xbfe691c4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#39 0xb6b165d0 in QWidgetPrivate::drawWidget (this=0xa3aa0d0, pdev=0xa3aa45c, rgn=@0xbfe6db3c, offset=@0xbfe6db34, flags=<value optimized out>, sharedPainter=0xa8e2290) at kernel/qwidget.cpp:4636
#40 0xb6b16de4 in QWidgetPrivate::paintSiblingsRecursive (this=0xa3a4c10, pdev=0xa3aa45c, siblings=@0xbfe6dc90, index=2, rgn=@0xbfe6dd84, offset=@0xa3aaaac, flags=4, sharedPainter=0xa8e2290)
    at kernel/qwidget.cpp:4735
#41 0xb6b16347 in QWidgetPrivate::drawWidget (this=0xa3a4c10, pdev=0xa3aa45c, rgn=@0xbfe6dd84, offset=@0xa3aaaac, flags=4, sharedPainter=0xa8e2290) at kernel/qwidget.cpp:4677
#42 0xb6c661f6 in QWidgetBackingStore::cleanRegion (this=0xa3aaaa0, rgn=@0xbfe6ddd8, widget=0xa3a4b70, recursiveCopyToScreen=true) at painting/qbackingstore.cpp:1039
#43 0xb6c666c2 in qt_syncBackingStore (widget=0xa3a4b70) at painting/qbackingstore.cpp:313
#44 0xb6b19e1f in QWidget::event (this=0xa3a4b70, event=0xabd45b8) at kernel/qwidget.cpp:7447
#45 0xb6e028e3 in QFrame::event (this=0xa3a4b70, e=0xabd45b8) at widgets/qframe.cpp:651
#46 0xb6e8cded in QAbstractScrollArea::event (this=0xa3a4b70, e=0xabd45b8) at widgets/qabstractscrollarea.cpp:899
#47 0xb6fef224 in QGraphicsView::event (this=0xa3a4b70, event=0xabd45b8) at graphicsview/qgraphicsview.cpp:2276
#48 0xb7f15b33 in PanelView::event (this=0xa3a4b70, event=0xabd45b8)
    at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/shells/desktop/panelview.cpp:1173
#49 0xb6ac79ec in QApplicationPrivate::notify_helper (this=0xa08c450, receiver=0xa3a4b70, e=0xabd45b8) at kernel/qapplication.cpp:3803
#50 0xb6aceb5a in QApplication::notify (this=0xa0682b8, receiver=0xa3a4b70, e=0xabd45b8) at kernel/qapplication.cpp:3768
#51 0xb76f9cfd in KApplication::notify () from /usr/lib/libkdeui.so.5
#52 0xb68bf0e1 in QCoreApplication::notifyInternal (this=0xa0682b8, receiver=0xa3a4b70, event=0xabd45b8) at kernel/qcoreapplication.cpp:583
#53 0xb68bfa39 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa03d808) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#54 0xb68bfbcd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#55 0xb68e5b1f in postEventSourceDispatch (s=0xa086f18) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#56 0xb5ae7311 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#57 0xb5aea9a3 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#58 0xb5aeab61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#59 0xb68e5778 in QEventDispatcherGlib::processEvents (this=0xa045258, flags={i = -1075387272}) at kernel/qeventdispatcher_glib.cpp:319
#60 0xb6b50af5 in QGuiEventDispatcherGlib::processEvents (this=0xa045258, flags={i = -1075387224}) at kernel/qguieventdispatcher_glib.cpp:198
#61 0xb68bd84a in QEventLoop::processEvents (this=0xbfe6e510, flags={i = -1075387160}) at kernel/qeventloop.cpp:143
#62 0xb68bda0a in QEventLoop::exec (this=0xbfe6e510, flags={i = -1075387112}) at kernel/qeventloop.cpp:190
#63 0xb68bfc8d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#64 0xb6ac7867 in QApplication::exec () at kernel/qapplication.cpp:3331
#65 0xb7f0e0a6 in kdemain (argc=1, argv=0xbfe6e6c4) at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/shells/desktop/main.cpp:54
#66 0x08048772 in main (argc=175234472, argv=0xb6c1b030)
    at /home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/shells/desktop/plasma_qgv_dummy.cpp:3
==============================
Comment 1 Narendra 2009-03-10 07:21:50 UTC
I am using following plasmoids 
-------------------------------
Battery monitor
Show Desktop
System Monitor - network
System Monitor - CPU
System Monitor - Harddisk
Flickr on plasma
Eyes
Desktop Notes
RSS news feed
-------------------------------
Comment 2 Dario Andres 2009-03-10 19:06:17 UTC
What is your Qt version ?

May be disabling the battery widget will be a workaround to this:
((
#19 0xaa6a40b7 in Battery::paintBattery (this=0xa25ef08, p=0xbfe6c804,
contentsRect=@0xbfe6bf0c, batteryPercent=100, plugState=true)
    at
/home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/applets/battery/battery.cpp:825
#20 0xaa6a467e in Battery::paintInterface (this=0xa25ef08, p=0xbfe6c804,
option=0xbfe6c3c4, contentsRect=@0xbfe6c200)
    at
/home/jan/ScratchPad/kdemod-new-makepkg/work/core/kdebase-workspace/src/kdebase-workspace-4.2.1/plasma/applets/battery/battery.cpp:861
))

This seems to be a duplicate of bug 184730

*** This bug has been marked as a duplicate of bug 184730 ***