Bug 182482

Summary: Plasma crashes from time to time
Product: [Unmaintained] plasma4 Reporter: Jose Couto <coque.couto>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adrien.futschik, andresbajotierra, aseigo, Wurm.Ch
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Unspecified   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Jose Couto 2009-01-30 20:32:31 UTC
Version:            (using KDE 4.2.0)
Installed from:    Debian testing/unstable Packages

I have suffered several plasma crashes on KDE 4.2. This is the backtrace of the last one:

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

Thread 9 (Thread 0xa9bacb90 (LWP 4250)):
#0  0xb7f69424 in __kernel_vsyscall ()
#1  0xb5795025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7e757fd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb689e542 in QWaitCondition::wait (this=0xa375ca0, mutex=0xa375c9c, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xb5979312 in QHostInfoAgent::run (this=0xa375c90) at kernel/qhostinfo.cpp:241
#5  0xb689d52e in QThreadPrivate::start (arg=0xa375c90) at thread/qthread_unix.cpp:185
#6  0xb57914c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb7e676de in clone () from /lib/i686/cmov/libc.so.6

Thread 8 (Thread 0xa9355b90 (LWP 4254)):
#0  0xb7f69424 in __kernel_vsyscall ()
#1  0xb7e5fab1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb696c670 in QProcessManager::run (this=0xa060f78) at io/qprocess_unix.cpp:301
#3  0xb689d52e in QThreadPrivate::start (arg=0xa060f78) at thread/qthread_unix.cpp:185
#4  0xb57914c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb7e676de in clone () from /lib/i686/cmov/libc.so.6

Thread 7 (Thread 0xa8b23b90 (LWP 4258)):
#0  0xb7f69424 in __kernel_vsyscall ()
#1  0xb5795025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7e757fd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb689e542 in QWaitCondition::wait (this=0xa273e00, mutex=0xa273dfc, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xa9d374a2 in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#5  0x0a273e00 in ?? ()
#6  0x0a273dfc in ?? ()
#7  0xffffffff in ?? ()
#8  0xa8b23260 in ?? ()
#9  0xa8b23320 in ?? ()
#10 0xa9d3d2a0 in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#11 0xb79a18a8 in vtable for KSvgRenderer () from /usr/lib/libkdeui.so.5
#12 0xa9d3d1cc in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#13 0xb7ec5648 in ?? () from /lib/i686/cmov/libc.so.6
#14 0xb7ec25d1 in ?? () from /lib/i686/cmov/libc.so.6
#15 0x0a4f72e0 in ?? ()
#16 0xa8b23374 in ?? ()
#17 0xa8b23358 in ?? ()
#18 0x0a05ead0 in ?? ()
#19 0xb7edf198 in ?? () from /lib/i686/cmov/libc.so.6
#20 0x00000070 in ?? ()
#21 0xa9d3d2a0 in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#22 0xa8b23310 in ?? ()
#23 0xa8b23308 in ?? ()
#24 0xa9d3d1f0 in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#25 0xa8b232f4 in ?? ()
#26 0xa8b232e8 in ?? ()
#27 0xa8b232c0 in ?? ()
#28 0x0a273dfc in ?? ()
#29 0x0a273e00 in ?? ()
#30 0x0a273e08 in ?? ()
#31 0x0a273e0c in ?? ()
#32 0x3faaaaab in ?? ()
#33 0x00000000 in ?? ()

Thread 6 (Thread 0xa77edb90 (LWP 5130)):
#0  0xb7f69424 in __kernel_vsyscall ()
#1  0xb5795025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7e757fd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xb689e542 in QWaitCondition::wait (this=0xafd6560, mutex=0xa93cfa0, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xb5c22bbb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xafd6548, th=0xb30abd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#5  0xb5c264dc in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xae1ae08, th=0xb30abd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#6  0xb5c2145b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xafd6548, th=0xb30abd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#7  0xb5c2661f in ThreadWeaver::WorkingHardState::applyForWork (this=0xae1ae08, th=0xb30abd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#8  0xb5c23c33 in ThreadWeaver::WeaverImpl::applyForWork (this=0xafd6548, th=0xb30abd0, previous=0xb387998) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#9  0xb5c2475d in ThreadWeaver::ThreadRunHelper::run (this=0xa77ed370, parent=0xafd6548, th=0xb30abd0) at ../../../threadweaver/Weaver/Thread.cpp:87
#10 0xb5c248d5 in ThreadWeaver::Thread::run (this=0xb30abd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#11 0xb689d52e in QThreadPrivate::start (arg=0xb30abd0) at thread/qthread_unix.cpp:185
#12 0xb57914c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#13 0xb7e676de in clone () from /lib/i686/cmov/libc.so.6

Thread 5 (Thread 0xa7feeb90 (LWP 5172)):
#0  0xb7f69424 in __kernel_vsyscall ()
#1  0xb5795352 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7e75854 in pthread_cond_timedwait () from /lib/i686/cmov/libc.so.6
#3  0xa67ac90f in ?? () from /usr/lib/libxine.so.1

Thread 4 (Thread 0xa6fecb90 (LWP 5173)):
#0  0xb579299d in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
#1  0xb7e759c6 in pthread_mutex_lock () from /lib/i686/cmov/libc.so.6
#2  0xb57e02d0 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#3  0xb57e071a in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x0aa1edb0 in ?? ()
#5  0xa6fec228 in ?? ()
#6  0x0ab774c0 in ?? ()
#7  0x00000001 in ?? ()
#8  0xb579298e in pthread_mutex_lock () from /lib/i686/cmov/libpthread.so.0
#9  0xb57e0bf1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#10 0xb69b7607 in QEventDispatcherGlib::processEvents (this=0xacde010, flags={i = -1493253464}) at kernel/qeventdispatcher_glib.cpp:321
#11 0xb698b7aa in QEventLoop::processEvents (this=0xa6fec320, flags={i = -1493253400}) at kernel/qeventloop.cpp:143
#12 0xb698b96a in QEventLoop::exec (this=0xa6fec320, flags={i = -1493253336}) at kernel/qeventloop.cpp:194
#13 0xb689a289 in QThread::exec (this=0xa9d0968) at thread/qthread.cpp:458
#14 0xa8046202 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#15 0x0a9d0968 in ?? ()
#16 0x0a9d0968 in ?? ()
#17 0xa8084f34 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#18 0xb69a2935 in QMetaObject::activate (sender=0xa9d0968, m=0x0, local_signal_index=-40, argv=0xa6fec3b4) at kernel/qobject.cpp:3092
#19 0xb689d52e in QThreadPrivate::start (arg=0xa9d0968) at thread/qthread_unix.cpp:185
#20 0xb57914c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#21 0xb7e676de in clone () from /lib/i686/cmov/libc.so.6

Thread 3 (Thread 0xa59e2b90 (LWP 5176)):
#0  0xb7f69424 in __kernel_vsyscall ()
#1  0xb7e5720b in read () from /lib/i686/cmov/libc.so.6
#2  0xa80c4172 in ?? () from /usr/lib/libasound.so.2
#3  0x00000020 in ?? ()
#4  0xa59e2220 in ?? ()
#5  0x00000048 in ?? ()
#6  0xa59e2280 in ?? ()
#7  0x0b292200 in ?? ()
#8  0xa814e024 in ?? () from /usr/lib/libasound.so.2
#9  0xa59e21e8 in ?? ()
#10 0xa80c183d in snd_ctl_read () from /usr/lib/libasound.so.2
Backtrace stopped: frame did not save the PC

Thread 2 (Thread 0xa519fb90 (LWP 5177)):
#0  0xb7f69424 in __kernel_vsyscall ()
#1  0xb5795025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7e757fd in pthread_cond_wait () from /lib/i686/cmov/libc.so.6
#3  0xa67bd91a in ?? () from /usr/lib/libxine.so.1
#4  0x0ac3ea38 in ?? ()
#5  0x0ac3ea20 in ?? ()
#6  0x00000000 in ?? ()

Thread 1 (Thread 0xb53a36c0 (LWP 4241)):
[KCrash Handler]
#6  0x00000000 in ?? ()
#7  0xb6db6b53 in blend_src_generic<RegularSpans> (count=60, spans=0xc32b624, userData=0xc3a0d90) at painting/qdrawhelper.cpp:3180
#8  0xb6db7c90 in blend_transformed_bilinear_argb<RegularSpans> (count=60, spans=0xc32b624, userData=0xc3a0d90) at painting/qdrawhelper.cpp:5307
#9  0xb6da8390 in qBlendTexture (count=60, spans=0xc32b624, userData=0xc3a0d90) at painting/qdrawhelper.cpp:6224
#10 0xb6dc1ffb in gray_convert_glyph (worker=0xc32b210) at painting/qgrayraster.c:1747
#11 0xb6d90d85 in QRasterPaintEnginePrivate::rasterize (this=0xc3a0c38, outline=0xc32febc, callback=0xb6da8340 <qBlendTexture(int, QT_FT_Span_ const*, void*)>, userData=0xc3a0d90, 
    rasterBuffer=0xc36a560) at painting/qpaintengine_raster.cpp:3954
#12 0xb6d997ce in QRasterPaintEngine::fillPath (this=0xc2ca000, path=@0xbff83074, fillData=0xc3a0d90) at painting/qpaintengine_raster.cpp:1626
#13 0xb6d9aaa9 in QRasterPaintEngine::drawPath (this=0xc2ca000, path=@0xbff83074) at painting/qpaintengine_raster.cpp:1866
#14 0xb6d2d6e6 in QPainter::drawPath (this=0xbff82fe8, path=@0xbff83074) at painting/qpainter.cpp:2825
#15 0xb6d284a3 in QPainterPrivate::draw_helper (this=0xc0eb950, originalPath=@0xbff83074, op=<value optimized out>) at painting/qpainter.cpp:358
#16 0xb6d2acd2 in QPainter::drawRects (this=0xbff847ac, rects=0xbff83180, rectCount=1) at painting/qpainter.cpp:2955
#17 0xb6d2cc2b in QPainter::drawPixmap (this=0xbff847ac, r=@0xbff832f0, pm=@0xbff8328c, sr=@0xbff83258) at ../../include/QtGui/../../src/gui/painting/qpainter.h:576
#18 0xb7cb45d1 in Plasma::Svg::paint (this=0xa650ea8, painter=0xbff847ac, rect=@0xbff832f0, elementID=@0xbff833c8) at ../../plasma/svg.cpp:457
#19 0xb7cda4e4 in Plasma::MeterPrivate::paintBackground (this=0xa4186b0, p=0xbff847ac) at ../../plasma/widgets/meter.cpp:83
#20 0xb7cd8af6 in Plasma::Meter::paint (this=0xa7a4e28, p=0xbff847ac, option=0xc309e64, widget=0xa499d08) at ../../plasma/widgets/meter.cpp:509
#21 0xb71ac614 in _q_paintItem (item=<value optimized out>, painter=0xbff847ac, option=0xc309e64, widget=0xa499d08, useWindowOpacity=true, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:3783
#22 0xb71af35a in QGraphicsScenePrivate::drawItemHelper (item=0xa7a4e30, painter=0xbff847ac, option=0xc309e64, widget=0xa499d08, painterStateProtection=<value optimized out>)
    at graphicsview/qgraphicsscene.cpp:3810
#23 0xb71b04f1 in QGraphicsScene::drawItems (this=0xa0bf1c8, painter=0xbff847ac, numItems=59, items=0xc36cb98, options=0xc30930c, widget=0xa499d08) at graphicsview/qgraphicsscene.cpp:4036
#24 0xb71c3e8c in QGraphicsView::drawItems (this=0xa47ea28, painter=0xbff847ac, numItems=59, items=0xc36cb98, options=0xc30930c) at graphicsview/qgraphicsview.cpp:3351
#25 0xb71cd55c in QGraphicsView::paintEvent (this=0xa47ea28, event=0xbff84d3c) at graphicsview/qgraphicsview.cpp:3096
#26 0xb6c735ab in QWidget::event (this=0xa47ea28, event=0xbff84d3c) at kernel/qwidget.cpp:7301
#27 0xb6fa6d43 in QFrame::event (this=0xa47ea28, e=0xbff84d3c) at widgets/qframe.cpp:651
#28 0xb703d46f in QAbstractScrollArea::viewportEvent (this=0xa47ea28, e=0xbff807d4) at widgets/qabstractscrollarea.cpp:943
#29 0xb71cab6f in QGraphicsView::viewportEvent (this=0xa47ea28, event=0xbff84d3c) at graphicsview/qgraphicsview.cpp:2337
#30 0xb703fa15 in QAbstractScrollAreaFilter::eventFilter (this=0xa49a540, o=0xa499d08, e=0xbff84d3c) at widgets/qabstractscrollarea_p.h:96
#31 0xb698c2ca in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xa05afb0, receiver=0xa499d08, event=0xbff84d3c) at kernel/qcoreapplication.cpp:694
#32 0xb6c1b77a in QApplicationPrivate::notify_helper (this=0xa05afb0, receiver=0xa499d08, e=0xbff84d3c) at kernel/qapplication.cpp:3799
#33 0xb6c236ea in QApplication::notify (this=0xa0420d0, receiver=0xa499d08, e=0xbff84d3c) at kernel/qapplication.cpp:3768
#34 0xb77f578d in KApplication::notify (this=0xa0420d0, receiver=0xa499d08, event=0xbff84d3c) at ../../kdeui/kernel/kapplication.cpp:307
#35 0xb698d0e1 in QCoreApplication::notifyInternal (this=0xa0420d0, receiver=0xa499d08, event=0xbff84d3c) at kernel/qcoreapplication.cpp:587
#36 0xb6c7c1ee in qt_sendSpontaneousEvent (receiver=0xa499d08, event=0xbff807d4) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:212
#37 0xb6c71f70 in QWidgetPrivate::drawWidget (this=0xa49a670, pdev=0xa49b624, rgn=@0xbff84eec, offset=@0xbff84ee4, flags=<value optimized out>, sharedPainter=0xa805580) at kernel/qwidget.cpp:4636
#38 0xb6c7271c in QWidgetPrivate::paintSiblingsRecursive (this=0xa47ea50, pdev=0xa49b624, siblings=@0xbff85040, index=4, rgn=@0xbff85134, offset=@0xa49946c, flags=4, sharedPainter=0xa805580)
    at kernel/qwidget.cpp:4735
#39 0xb6c71be8 in QWidgetPrivate::drawWidget (this=0xa47ea50, pdev=0xa49b624, rgn=@0xbff85134, offset=@0xa49946c, flags=4, sharedPainter=0xa805580) at kernel/qwidget.cpp:4677
#40 0xb6ddfb1e in QWidgetBackingStore::cleanRegion (this=0xa499460, rgn=@0xbff85188, widget=0xa47ea28, recursiveCopyToScreen=true) at painting/qbackingstore.cpp:1039
#41 0xb6de0017 in qt_syncBackingStore (widget=0xa47ea28) at painting/qbackingstore.cpp:313
#42 0xb6c733d6 in QWidget::event (this=0xa47ea28, event=0xc2e1b08) at kernel/qwidget.cpp:7447
#43 0xb6fa6d43 in QFrame::event (this=0xa47ea28, e=0xc2e1b08) at widgets/qframe.cpp:651
#44 0xb703df3d in QAbstractScrollArea::event (this=0xa47ea28, e=0xc2e1b08) at widgets/qabstractscrollarea.cpp:899
#45 0xb71c4594 in QGraphicsView::event (this=0xa47ea28, event=0xc2e1b08) at graphicsview/qgraphicsview.cpp:2276
#46 0xb6c1b79c in QApplicationPrivate::notify_helper (this=0xa05afb0, receiver=0xa47ea28, e=0xc2e1b08) at kernel/qapplication.cpp:3803
#47 0xb6c236ea in QApplication::notify (this=0xa0420d0, receiver=0xa47ea28, e=0xc2e1b08) at kernel/qapplication.cpp:3768
#48 0xb77f578d in KApplication::notify (this=0xa0420d0, receiver=0xa47ea28, event=0xc2e1b08) at ../../kdeui/kernel/kapplication.cpp:307
#49 0xb698d0e1 in QCoreApplication::notifyInternal (this=0xa0420d0, receiver=0xa47ea28, event=0xc2e1b08) at kernel/qcoreapplication.cpp:587
#50 0xb698dd65 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa030070) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#51 0xb698df5d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#52 0xb69b799f in postEventSourceDispatch (s=0xa05fd00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#53 0xb57dd398 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0xb57e0a33 in ?? () from /usr/lib/libglib-2.0.so.0
#55 0x0a05d668 in ?? ()
#56 0x00000000 in ?? ()

Hope this helps to improve plasma.

Great work. Thank you for your time and best regards.
Comment 1 Christoph Wurm 2009-01-30 22:00:12 UTC
Thanks for taking the time to report this bug.
Unfortunately, that backtrace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. 
Can you get us a backtrace with debugging symbols? 
Please see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports for more information on how to do so. 

Thanks in advance!
Comment 2 Dario Andres 2009-01-31 13:53:24 UTC
This is similar to bug 176014, but it's happing on drawing the Meter widget instead of the Clock hand in a plasmoid. Anyways, it seems more like a Qt bug.
What is your Qt version (patches applied?)
Comment 3 Jose Couto 2009-01-31 20:20:58 UTC
I'm using latest debian's Qt packages in the experimental repository. From the libqt4-core changelog:

  +++ Changes by Armin Berres:

  * Fix offsets in all patches.
  * Add qt-copy patches:
    - 0255-qtreeview-selection-columns-hidden.diff
    - 0256-fix-recursive-backingstore-sync-crash.diff
    - 0257-qurl-validate-speedup.diff
    - 0260-fix-qgraphicswidget-deletionclearFocus.diff
    - 0261-sync-before-reset-errorhandler.patch
    - 0262-fix-treeview-animation-crash.diff

Hope this helps. Regards.
Comment 4 Jose Couto 2009-02-10 17:34:37 UTC
Surely not the same bug, but it has crashed again just a moment ago. The computer seems to run more and more slowly as time goes, until plasma crashes. The backtrace follows.

Hope his helps. Regards.

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

Thread 3 (Thread 0xa9c76b90 (LWP 4455)):
#0  0xb7fc5424 in __kernel_vsyscall ()
#1  0xb5841025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7ed17fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libc.so.6
#3  0xb6931542 in QWaitCondition::wait (this=0x930d020, mutex=0x930d01c, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xb5a25312 in QHostInfoAgent::run (this=0x930d010) at kernel/qhostinfo.cpp:241
#5  0xb693052e in QThreadPrivate::start (arg=0x930d010) at thread/qthread_unix.cpp:185
#6  0xb583d4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb7ec36de in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xa4fa3b90 (LWP 4476)):
#0  0xb7fc5424 in __kernel_vsyscall ()
#1  0xb5841025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7ed17fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libc.so.6
#3  0xb6931542 in QWaitCondition::wait (this=0x927b1b8, mutex=0x927b1b4, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xa9de04a2 in RenderThread::run (this=0x927b1ac) at ../../../../plasma/wallpapers/image/renderthread.cpp:91
#5  0xb693052e in QThreadPrivate::start (arg=0x927b1ac) at thread/qthread_unix.cpp:185
#6  0xb583d4c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb7ec36de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb544f6c0 (LWP 4438)):
[KCrash Handler]
#6  QImage::scanLine (this=0xbf9dfff8, i=0) at image/qimage.cpp:1751
#7  0xb6d38840 in QWidgetPrivate::setWindowIcon_sys (this=0xac06f88, forceReset=false) at kernel/qwidget_x11.cpp:1226
#8  0xb6d042fb in QWidget::create (this=0x9f4ae80, window=0, initializeWindow=<value optimized out>, destroyOldWindow=<value optimized out>) at kernel/qwidget.cpp:1267
#9  0xb6d09e4e in QWidget::setVisible (this=0x9f4ae80, visible=true) at kernel/qwidget.cpp:6519
#10 0xb7279076 in QGraphicsProxyWidgetPrivate::setWidget_helper (this=0xabcccc0, newWidget=0x9f4ae80, autoShow=true) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:464
#11 0xb7279483 in QGraphicsProxyWidget::setWidget (this=0xab96f20, widget=0x9f4ae80) at graphicsview/qgraphicsproxywidget.cpp:549
#12 0xb7d31cbb in Label (this=0xab96f20, parent=0x92a7248) at ../../plasma/widgets/label.cpp:99
#13 0xb7cd6053 in Plasma::ExtenderPrivate::updateEmptyExtenderLabel (this=0x92f1ca8) at ../../plasma/extender.cpp:488
#14 0xb7cd6229 in Plasma::Extender::itemRemovedEvent (this=0x92a7248, item=0xa1f6980) at ../../plasma/extender.cpp:247
#15 0xb7cd6cc2 in Plasma::ExtenderPrivate::removeExtenderItem (this=0x92f1ca8, item=0xa1f6980) at ../../plasma/extender.cpp:357
#16 0xb7cdc458 in Plasma::ExtenderItem::destroy (this=0xa1f6980) at ../../plasma/extenderitem.cpp:379
#17 0xa9ebd884 in NotificationWidgetPrivate::destroy (this=0xabc9548) at ../../../../plasma/applets/systemtray/ui/notificationwidget.cpp:220
#18 0xa9ebd910 in NotificationWidget::qt_metacall (this=0xabc94b8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf9e045c) at ./notificationwidget.moc:68
#19 0xb6a34be0 in QMetaObject::activate (sender=0x9ced858, from_signal_index=6, to_signal_index=7, argv=0xbf9e045c) at kernel/qobject.cpp:3031
#20 0xb6a34fe0 in QMetaObject::activate (sender=0x9ced858, m=0xa9ec665c, from_local_signal_index=2, to_local_signal_index=3, argv=0xbf9e045c) at kernel/qobject.cpp:3121
#21 0xa9ea165b in SystemTray::Notification::destroyed (this=0x9ced858, _t1=0x9ced858) at ./notification.moc:96
#22 0xa9ea1da1 in ~Notification (this=0x9ced858) at ../../../../plasma/applets/systemtray/core/notification.cpp:62
#23 0xa9eb0139 in ~DBusNotification (this=0x9ced858) at ../../../../plasma/applets/systemtray/protocols/notifications/dbusnotification.cpp:38
#24 0xb6a2df6c in qDeleteInEventHandler (o=0x0) at kernel/qobject.cpp:3659
#25 0xb6a2f923 in QObject::event (this=0x9ced858, e=0x9cf4bc8) at kernel/qobject.cpp:1139
#26 0xb6cae79c in QApplicationPrivate::notify_helper (this=0x90ac668, receiver=0x9ced858, e=0x9cf4bc8) at kernel/qapplication.cpp:3803
#27 0xb6cb661e in QApplication::notify (this=0x908fc68, receiver=0x9ced858, e=0x9cf4bc8) at kernel/qapplication.cpp:3393
#28 0xb786977d in KApplication::notify (this=0x908fc68, receiver=0x9ced858, event=0x9cf4bc8) at ../../kdeui/kernel/kapplication.cpp:307
#29 0xb6a200e1 in QCoreApplication::notifyInternal (this=0x908fc68, receiver=0x9ced858, event=0x9cf4bc8) at kernel/qcoreapplication.cpp:587
#30 0xb6a20d65 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x907e070) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#31 0xb6a20f5d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#32 0xb6a4a99f in postEventSourceDispatch (s=0x90a9140) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#33 0xb5889398 in IA__g_main_context_dispatch (context=0x90ac298) at /build/buildd/glib2.0-2.18.4/glib/gmain.c:2144
#34 0xb588ca33 in g_main_context_iterate (context=0x90ac298, block=1, dispatch=1, self=0x90ab4d8) at /build/buildd/glib2.0-2.18.4/glib/gmain.c:2778
#35 0xb588cbf1 in IA__g_main_context_iteration (context=0x90ac298, may_block=1) at /build/buildd/glib2.0-2.18.4/glib/gmain.c:2841
#36 0xb6a4a5e8 in QEventDispatcherGlib::processEvents (this=0x90a5ea8, flags={i = -1080161688}) at kernel/qeventdispatcher_glib.cpp:319
#37 0xb6d47d75 in QGuiEventDispatcherGlib::processEvents (this=0x90a5ea8, flags={i = -1080161640}) at kernel/qguieventdispatcher_glib.cpp:198
#38 0xb6a1e7aa in QEventLoop::processEvents (this=0xbf9e0b10, flags={i = -1080161576}) at kernel/qeventloop.cpp:143
#39 0xb6a1e96a in QEventLoop::exec (this=0xbf9e0b10, flags={i = -1080161512}) at kernel/qeventloop.cpp:194
#40 0xb6a21025 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#41 0xb6cae617 in QApplication::exec () at kernel/qapplication.cpp:3331
#42 0xb7f6bc16 in kdemain (argc=1, argv=0xbf9e0cc4) at ../../../../plasma/shells/desktop/main.cpp:54
#43 0x08048592 in main (argc=) at plasma_qgv_dummy.cpp:3
Comment 5 A. Futschik 2009-02-11 08:18:27 UTC
I dont know if this is the same bug, but plasma seems to crash from time to time for me too. 

Here is a sample stacktrace after deleting a mail in kmail.

Here is what I am running :
Qt: 4.4.3
KDE: 4.2.00 (KDE 4.2.0)
kde4-config: 1.0

I add Firefox, Konsole and a few other apps running:
Application : Espace de travail Plasma (plasma), signal SIGSEGV
[Current thread is 1 (Thread 0xb7f85790 (LWP 3676))]

Thread 4 (Thread 0x8d0db90 (LWP 3681)):
#0  0x0021d424 in __kernel_vsyscall ()
#1  0x00204105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x03a937a2 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:82
#3  QWaitCondition::wait (this=0xa4c8730, mutex=0xa4c872c, time=4294967295) at thread/qwaitcondition_unix.cpp:154
#4  0x07711a72 in QHostInfoAgent::run (this=0xa4c8720) at kernel/qhostinfo.cpp:241
#5  0x03a9275e in QThreadPrivate::start (arg=0xa4c8720) at thread/qthread_unix.cpp:185
#6  0x0020051f in start_thread () from /lib/libpthread.so.0
#7  0x0589a04e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xacd47b90 (LWP 3683)):
#0  0x0021d424 in __kernel_vsyscall ()
#1  0x058923d1 in select () from /lib/libc.so.6
#2  0x03b62627 in QProcessManager::run (this=0x9f6f5c0) at io/qprocess_unix.cpp:301
#3  0x03a9275e in QThreadPrivate::start (arg=0x9f6f5c0) at thread/qthread_unix.cpp:185
#4  0x0020051f in start_thread () from /lib/libpthread.so.0
#5  0x0589a04e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xac346b90 (LWP 3687)):
#0  0x0021d424 in __kernel_vsyscall ()
#1  0x00204105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x03a937a2 in QWaitConditionPrivate::wait () at thread/qwaitcondition_unix.cpp:82
#3  QWaitCondition::wait (this=0xa276240, mutex=0xa27623c, time=4294967295) at thread/qwaitcondition_unix.cpp:154
#4  0x025badca in ?? () from /usr/lib/kde4/plasma_wallpaper_image.so
#5  0x03a9275e in QThreadPrivate::start (arg=0xa276234) at thread/qthread_unix.cpp:185
#6  0x0020051f in start_thread () from /lib/libpthread.so.0
#7  0x0589a04e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb7f85790 (LWP 3676)):
[KCrash Handler]
#6  0x03b98b91 in QMetaObject::activate (sender=0xa996968, m=0x7799f80, local_signal_index=0, argv=0xbfab019c) at kernel/qobject.cpp:3097
#7  0x076ce123 in QHttp::stateChanged (this=0xa996968, _t1=6) at .moc/release-shared/moc_qhttp.cpp:135
#8  0x076ce15a in QHttpPrivate::setState (this=0xa99c118, s=6) at access/qhttp.cpp:2965
#9  0x076ce56b in QHttpPrivate::closeConn (this=0xa99c118) at access/qhttp.cpp:2976
#10 0x076d5795 in QHttpPrivate::_q_slotError (this=0xa99c118, err=QAbstractSocket::NetworkError) at access/qhttp.cpp:2607
#11 0x076d8879 in QHttp::qt_metacall (this=0x9f9bbc8, _c=QMetaObject::InvokeMetaMethod, _id=16, _a=0xbfab03dc) at .moc/release-shared/moc_qhttp.cpp:120
#12 0x03b97df0 in QMetaObject::activate (sender=0xaa23f80, from_signal_index=12, to_signal_index=12, argv=0xbfab03dc) at kernel/qobject.cpp:3031
#13 0x03b98b72 in QMetaObject::activate (sender=0xaa23f80, m=0x779ae70, local_signal_index=4, argv=0xbfab03dc) at kernel/qobject.cpp:3101
#14 0x07727033 in QAbstractSocket::error (this=0xaa23f80, _t1=QAbstractSocket::NetworkError) at .moc/release-shared/moc_qabstractsocket.cpp:146
#15 0x0774318e in QSslSocketPrivate::_q_errorSlot (this=0xaa5da98, error=QAbstractSocket::NetworkError) at ssl/qsslsocket.cpp:1987
#16 0x0774639f in QSslSocket::qt_metacall (this=0xaa23f80, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0xbfab052c) at .moc/release-shared/moc_qsslsocket.cpp:112
#17 0x03b97df0 in QMetaObject::activate (sender=0xa7de100, from_signal_index=12, to_signal_index=12, argv=0xbfab052c) at kernel/qobject.cpp:3031
#18 0x03b98b72 in QMetaObject::activate (sender=0xa7de100, m=0x779ae70, local_signal_index=4, argv=0xbfab052c) at kernel/qobject.cpp:3101
#19 0x07727033 in QAbstractSocket::error (this=0xa7de100, _t1=QAbstractSocket::NetworkError) at .moc/release-shared/moc_qabstractsocket.cpp:146
#20 0x07728a46 in QAbstractSocketPrivate::_q_connectToNextAddress (this=0xaa5dc48) at socket/qabstractsocket.cpp:797
#21 0x07728c32 in QAbstractSocketPrivate::_q_testConnection (this=0xaa5dc48) at socket/qabstractsocket.cpp:912
#22 0x0772a548 in QAbstractSocketPrivate::canWriteNotification (this=0xaa5dc48) at socket/qabstractsocket.cpp:614
#23 0x0771a26b in QAbstractSocketEngine::writeNotification (this=0xaa2e288) at socket/qabstractsocketengine.cpp:142
#24 0x0771b556 in QWriteNotifier::event (this=0xa7f1b78, e=0xbfab0980) at socket/qnativesocketengine.cpp:997
#25 0x03ee768c in QApplicationPrivate::notify_helper (this=0x9f6c138, receiver=0xa7f1b78, e=0xbfab0980) at kernel/qapplication.cpp:3803
#26 0x03eef4ce in QApplication::notify (this=0x9f5f3e0, receiver=0xa7f1b78, e=0xbfab0980) at kernel/qapplication.cpp:3393
#27 0x00f81fdd in KApplication::notify () from /usr/lib/libkdeui.so.5
#28 0x03b831c1 in QCoreApplication::notifyInternal (this=0x9f5f3e0, receiver=0xa7f1b78, event=0xbfab0980) at kernel/qcoreapplication.cpp:587
#29 0x03bada8a in QCoreApplication::sendEvent () at ../../src/corelib/kernel/qcoreapplication.h:209
#30 socketNotifierSourceDispatch (source=0x9f6b308) at kernel/qeventdispatcher_glib.cpp:105
#31 0x03999238 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x0399c8e3 in ?? () from /lib/libglib-2.0.so.0
#33 0x0399caa1 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x03bad7f8 in QEventDispatcherGlib::processEvents (this=0x9f67f48, flags={i = 4}) at kernel/qeventdispatcher_glib.cpp:319
#35 0x03f80515 in QGuiEventDispatcherGlib::processEvents (this=0x9f67f48, flags={i = 4}) at kernel/qguieventdispatcher_glib.cpp:198
#36 0x03b8188a in QEventLoop::processEvents (this=0xbfab0b80, flags={i = 4}) at kernel/qeventloop.cpp:143
#37 0x03b81a4a in QEventLoop::exec (this=0xbfab0b80, flags={i = 0}) at kernel/qeventloop.cpp:194
#38 0x03b84105 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#39 0x03ee7507 in QApplication::exec () at kernel/qapplication.cpp:3331
#40 0x00bf9e46 in kdemain () from /usr/lib/libkdeinit4_plasma.so
#41 0x080486f2 in _start ()

Adrien
Comment 6 Dario Andres 2009-02-11 23:35:55 UTC
@Adrien: are you using some Google Gadgets plasmoid. If you are, your crash is probably a duplicate of bug 182961. Anyways, your crash is unrelated to the original reported here. Thanks
Comment 7 A. Futschik 2009-02-12 09:28:56 UTC
(In reply to comment #6)
> @Adrien: are you using some Google Gadgets plasmoid. If you are, your crash is
> probably a duplicate of bug 182961. Anyways, your crash is unrelated to the
> original reported here. Thanks
> 

Yes, I was using the "Analog Clock" from google. I hope, this will solve the problem.
Comment 8 Jose Couto 2009-02-12 17:26:34 UTC
I have just suffered another crash. It seem related to the second one I reported. It has happened when I pressed the "Device Notifier" icon after connecting an external USB HD. This is the backtrace:

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

Thread 3 (Thread 0xa9c81b90 (LWP 4618)):
#0  0xb7f8d424 in __kernel_vsyscall ()
#1  0xb5808025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7e987fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libc.so.6
#3  0xb68f8542 in QWaitCondition::wait (this=0x957b7a0, mutex=0x957b79c, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xb59ec312 in QHostInfoAgent::run (this=0x957b790) at kernel/qhostinfo.cpp:241
#5  0xb68f752e in QThreadPrivate::start (arg=0x957b790) at thread/qthread_unix.cpp:185
#6  0xb58044c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb7e8a6de in clone () from /lib/i686/cmov/libc.so.6

Thread 2 (Thread 0xa92ddb90 (LWP 4624)):
#0  0xb7f8d424 in __kernel_vsyscall ()
#1  0xb5808025 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libpthread.so.0
#2  0xb7e987fd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/cmov/libc.so.6
#3  0xb68f8542 in QWaitCondition::wait (this=0x9410a80, mutex=0x9410a7c, time=4294967295) at thread/qwaitcondition_unix.cpp:82
#4  0xa9d914a2 in RenderThread::run (this=0x9410a74) at ../../../../plasma/wallpapers/image/renderthread.cpp:91
#5  0xb68f752e in QThreadPrivate::start (arg=0x9410a74) at thread/qthread_unix.cpp:185
#6  0xb58044c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#7  0xb7e8a6de in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb54166c0 (LWP 4617)):
[KCrash Handler]
#6  QImage::scanLine (this=0xbf9a6518, i=0) at image/qimage.cpp:1751
#7  0xb6cff840 in QWidgetPrivate::setWindowIcon_sys (this=0x936bcc0, forceReset=false) at kernel/qwidget_x11.cpp:1226
#8  0xb6ccb2fb in QWidget::create (this=0x936e808, window=0, initializeWindow=<value optimized out>, destroyOldWindow=<value optimized out>) at kernel/qwidget.cpp:1267
#9  0xb6cc7123 in QWidgetPrivate::createWinId (this=0x936bcc0, winid=0) at kernel/qwidget.cpp:2014
#10 0xb6ccb8a9 in QWidget::winId (this=0x936e808) at kernel/qwidget.cpp:1977
#11 0xb7ccaac3 in Plasma::WindowPreview::setInfo (this=0x93691d8) at ../../plasma/private/windowpreview.cpp:117
#12 0xb7cc956c in Plasma::ToolTip::prepareShowing (this=0x936e808) at ../../plasma/private/tooltip.cpp:249
#13 0xb7ce6158 in Plasma::ToolTipManager::setContent (this=0x936e2f8, widget=0x94333c0, data=@0xbf9a6744) at ../../plasma/tooltipmanager.cpp:220
#14 0xaa2ab3e6 in DeviceNotifier::toolTipAboutToShow (this=0x94333c0) at ../../../../plasma/applets/devicenotifier/devicenotifier.cpp:230
#15 0xaa2ae5fb in DeviceNotifier::qt_metacall (this=0x94333c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf9a6a6c) at ./devicenotifier.moc:74
#16 0xb69efc5c in QMetaObject::invokeMethod (obj=0x94333c0, member=0xb7d8519b "toolTipAboutToShow", type=Qt::QueuedConnection, ret=
        {<QGenericArgument> = {_data = 0x0, _name = 0x0}, <No data fields>}, val0={_data = 0x0, _name = 0x0}, val1={_data = 0x0, _name = 0x0}, val2={_data = 0x0, _name = 0x0}, val3=
      {_data = 0x0, _name = 0x0}, val4={_data = 0x0, _name = 0x0}, val5={_data = 0x0, _name = 0x0}, val6={_data = 0x0, _name = 0x0}, val7={_data = 0x0, _name = 0x0}, val8={_data = 0x0, _name = 0x0}, 
    val9={_data = 0x0, _name = 0x0}) at kernel/qmetaobject.cpp:984
#17 0xb7ce6c86 in Plasma::ToolTipManagerPrivate::showToolTip (this=0x936e840) at /usr/include/qt4/QtCore/qobjectdefs.h:382
#18 0xb7ce6e78 in Plasma::ToolTipManager::qt_metacall (this=0x936e2f8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf9a6c28) at ./tooltipmanager.moc:68
#19 0xb69fbbe0 in QMetaObject::activate (sender=0x93c5c30, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3031
#20 0xb69fc962 in QMetaObject::activate (sender=0x93c5c30, m=0xb6aca0c4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3101
#21 0xb6a36867 in QTimer::timeout (this=0x93c5c30) at .moc/release-shared/moc_qtimer.cpp:126
#22 0xb6a0258e in QTimer::timerEvent (this=0x93c5c30, e=0xbf9a70bc) at kernel/qtimer.cpp:257
#23 0xb69f66bf in QObject::event (this=0x93c5c30, e=0xbf9a70bc) at kernel/qobject.cpp:1120
#24 0xb6c7579c in QApplicationPrivate::notify_helper (this=0x92ce100, receiver=0x93c5c30, e=0xbf9a70bc) at kernel/qapplication.cpp:3803
#25 0xb6c7d61e in QApplication::notify (this=0x92b4c68, receiver=0x93c5c30, e=0xbf9a70bc) at kernel/qapplication.cpp:3393
#26 0xb783077d in KApplication::notify (this=0x92b4c68, receiver=0x93c5c30, event=0xbf9a70bc) at ../../kdeui/kernel/kapplication.cpp:307
#27 0xb69e70e1 in QCoreApplication::notifyInternal (this=0x92b4c68, receiver=0x93c5c30, event=0xbf9a70bc) at kernel/qcoreapplication.cpp:587
#28 0xb6a15041 in QTimerInfoList::activateTimers (this=0x92d2f34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#29 0xb6a11690 in timerSourceDispatch (source=0x92d2f00) at kernel/qeventdispatcher_glib.cpp:160
#30 0xb5850398 in IA__g_main_context_dispatch (context=0x92d07b8) at /build/buildd/glib2.0-2.18.4/glib/gmain.c:2144
#31 0xb5853a33 in g_main_context_iterate (context=0x92d07b8, block=1, dispatch=1, self=0x92d0510) at /build/buildd/glib2.0-2.18.4/glib/gmain.c:2778
#32 0xb5853bf1 in IA__g_main_context_iteration (context=0x92d07b8, may_block=1) at /build/buildd/glib2.0-2.18.4/glib/gmain.c:2841
#33 0xb6a115e8 in QEventDispatcherGlib::processEvents (this=0x92caeb8, flags={i = -1080397256}) at kernel/qeventdispatcher_glib.cpp:319
#34 0xb6d0ed75 in QGuiEventDispatcherGlib::processEvents (this=0x92caeb8, flags={i = -1080397208}) at kernel/qguieventdispatcher_glib.cpp:198
#35 0xb69e57aa in QEventLoop::processEvents (this=0xbf9a72e0, flags={i = -1080397144}) at kernel/qeventloop.cpp:143
#36 0xb69e596a in QEventLoop::exec (this=0xbf9a72e0, flags={i = -1080397080}) at kernel/qeventloop.cpp:194
#37 0xb69e8025 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#38 0xb6c75617 in QApplication::exec () at kernel/qapplication.cpp:3331
#39 0xb7f32c16 in kdemain (argc=1, argv=0xbf9a7494) at ../../../../plasma/shells/desktop/main.cpp:54
#40 0x08048592 in main (argc=) at plasma_qgv_dummy.cpp:3

Thank you and best regards.
Comment 10 Aaron J. Seigo 2009-03-24 02:06:03 UTC

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