Bug 187464

Summary: plasma signal 11 crash multiple times a day (Qt painting code related)
Product: [Unmaintained] plasma4 Reporter: Tim G <tgilbert328>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra, aseigo, notmart
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Tim G 2009-03-18 00:56:58 UTC
Version:            (using KDE 4.2.1)
Compiler:          gcc (Ubuntu 4.3.2-1ubuntu12) 4.3.2 
OS:                Linux
Installed from:    Ubuntu Packages

Using kubuntu 8.10, unstable repositories running the server kernel:
Linux www.timgilbert.ca 2.6.27-13-server #1 SMP Thu Feb 26 08:12:00 UTC 2009 i686 GNU/Linux

Although the crashes with the -generic version as well.

I am using restricted modules for nvidia driver
03:00.0 VGA compatible controller: nVidia Corporation NV45GL [Quadro FX 3400/4400] (rev a2)

after crash, kde appears okay except for the desktop background is lacking any icons until I roll over with my mouse.  Then they appear.  Windows which are in the notification bar (like pidgen or uTorrent) appear as little icons on the desktop.

The plasma widget (System Monitor Settings) for CPU, Memory and network usage freezes and no longer recognizes mouse clicks or commands.  kdemenu pops up black.  Most applications continue to function.

The crash can go for a day without happening, and then happen 5 times in an hour.  I can't really nail down what activity causes it to happen more frequently- although vlc seems to be common element.

I installed the -dbg and the backtrace has data despite the warning.  I couldn't find a specific -dbg for plasma.

I couldn't figure out what -dbg I needed for this: 

#7  0xb6c78c20 in ?? () from /usr/lib/libQtGui.so.4
#8  0xb6c69320 in ?? () from /usr/lib/libQtGui.so.4
#9  0xb6c82f8b in ?? () from /usr/lib/libQtGui.so.4
#10 0xb6c51bc5 in ?? () from /usr/lib/libQtGui.so.4
#11 0xb6c5a78e in ?? () from /usr/lib/libQtGui.so.4
#12 0xb6c5ba69 in ?? () from /usr/lib/libQtGui.so.4

If you can advise me, I will add it and wait for the next crash.

Here is what I got:

This backtrace appears to be of no use.
This is probably because your packages are built in a way which prevents creation of proper backtraces, or the stack frame was seriously corrupted in the crash.

[Thread debugging using libthread_db enabled]
[New Thread 0xb4779900 (LWP 7884)]
[New Thread 0xa3297b90 (LWP 7897)]
[New Thread 0xa7b55b90 (LWP 7896)]
[New Thread 0xa8700b90 (LWP 7890)]
[New Thread 0xa8f5db90 (LWP 7889)]
0xb80f7424 in __kernel_vsyscall ()
[Current thread is 0 (LWP 7884)]

Thread 5 (Thread 0xa8f5db90 (LWP 7889)):
#0  0xb80f7424 in __kernel_vsyscall ()
#1  0xb5966075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6571bbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb675b6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb7ab5532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb675a6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb596250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6563a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xa8700b90 (LWP 7890)):
#0  0xb80f7424 in __kernel_vsyscall ()
#1  0xb655bdf1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb682a150 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb675a6ae in ?? () from /usr/lib/libQtCore.so.4
#4  0xb596250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb6563a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xa7b55b90 (LWP 7896)):
#0  0xb80f7424 in __kernel_vsyscall ()
#1  0xb5966075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6571bbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb675b6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xa9066c8a in RenderThread::run (this=0xa1cfc04) at /build/buildd/kdebase-workspace-4.2.1a/plasma/wallpapers/image/renderthread.cpp:91
#5  0xb675a6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb596250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6563a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xa3297b90 (LWP 7897)):
#0  0xb80f7424 in __kernel_vsyscall ()
#1  0xb5966075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb6571bbd in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb675b6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xa9066c8a in RenderThread::run (this=0xa0b7ecc) at /build/buildd/kdebase-workspace-4.2.1a/plasma/wallpapers/image/renderthread.cpp:91
#5  0xb675a6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb596250f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb6563a0e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb4779900 (LWP 7884)):
#0  0xb80f7424 in __kernel_vsyscall ()
#1  0xb651ef36 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb651ed4e in sleep () from /lib/tls/i686/cmov/libc.so.6
#3  0xb78afe92 in KCrash::startDrKonqi (argv=0xbfef02b4, argc=17) at /build/buildd/kde4libs-4.2.1a/kdeui/util/kcrash.cpp:412
#4  0xb78b0854 in KCrash::defaultCrashHandler (sig=11) at /build/buildd/kde4libs-4.2.1a/kdeui/util/kcrash.cpp:337
#5  <signal handler called>
#6  0x00000000 in ?? ()
#7  0xb6c78c20 in ?? () from /usr/lib/libQtGui.so.4
#8  0xb6c69320 in ?? () from /usr/lib/libQtGui.so.4
#9  0xb6c82f8b in ?? () from /usr/lib/libQtGui.so.4
#10 0xb6c51bc5 in ?? () from /usr/lib/libQtGui.so.4
#11 0xb6c5a78e in ?? () from /usr/lib/libQtGui.so.4
#12 0xb6c5ba69 in ?? () from /usr/lib/libQtGui.so.4
#13 0xb6bedd36 in QPainter::drawPath () from /usr/lib/libQtGui.so.4
#14 0xb6be8af3 in ?? () from /usr/lib/libQtGui.so.4
#15 0xb6beb322 in QPainter::drawRects () from /usr/lib/libQtGui.so.4
#16 0xb6bed27b in QPainter::drawPixmap () from /usr/lib/libQtGui.so.4
#17 0xb7f88481 in Plasma::Svg::paint () from /usr/lib/libplasma.so.3
#18 0xb7fad184 in ?? () from /usr/lib/libplasma.so.3
#19 0xb7fab4d9 in Plasma::Meter::paint () from /usr/lib/libplasma.so.3
#20 0xb706f7a4 in ?? () from /usr/lib/libQtGui.so.4
#21 0xb70724ea in ?? () from /usr/lib/libQtGui.so.4
#22 0xb7073681 in QGraphicsScene::drawItems () from /usr/lib/libQtGui.so.4
#23 0xb708702c in QGraphicsView::drawItems () from /usr/lib/libQtGui.so.4
#24 0xb70906fc in QGraphicsView::paintEvent () from /usr/lib/libQtGui.so.4
#25 0xb6b3274b in QWidget::event () from /usr/lib/libQtGui.so.4
#26 0xb6e69fd3 in QFrame::event () from /usr/lib/libQtGui.so.4
#27 0xb6f007df in QAbstractScrollArea::viewportEvent () from /usr/lib/libQtGui.so.4
#28 0xb708dd0f in QGraphicsView::viewportEvent () from /usr/lib/libQtGui.so.4
#29 0xb6f02d85 in ?? () from /usr/lib/libQtGui.so.4
#30 0xb684a04a in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#31 0xb6ada8ca in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#32 0xb6ae27fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#33 0xb784010d in KApplication::notify (this=0xa044330, receiver=0xa78e0e8, event=0xbfef8cdc) at /build/buildd/kde4libs-4.2.1a/kdeui/kernel/kapplication.cpp:307
#34 0xb684ae61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#35 0xb6b3b3de in ?? () from /usr/lib/libQtGui.so.4
#36 0xb6b31110 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#37 0xb6b318b2 in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#38 0xb6b30d88 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#39 0xb6ca0fae in ?? () from /usr/lib/libQtGui.so.4
#40 0xb6ca14a7 in ?? () from /usr/lib/libQtGui.so.4
#41 0xb6b32576 in QWidget::event () from /usr/lib/libQtGui.so.4
#42 0xb6e69fd3 in QFrame::event () from /usr/lib/libQtGui.so.4
#43 0xb6f012ad in QAbstractScrollArea::event () from /usr/lib/libQtGui.so.4
#44 0xb7087734 in QGraphicsView::event () from /usr/lib/libQtGui.so.4
#45 0xb6ada8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#46 0xb6ae27fa in QApplication::notify () from /usr/lib/libQtGui.so.4
#47 0xb784010d in KApplication::notify (this=0xa044330, receiver=0xa77d068, event=0xacdb408) at /build/buildd/kde4libs-4.2.1a/kdeui/kernel/kapplication.cpp:307
#48 0xb684ae61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#49 0xb684bae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#50 0xb684bcdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#51 0xb687582f in ?? () from /usr/lib/libQtCore.so.4
#52 0xb57a7718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#53 0xb57aadc3 in ?? () from /usr/lib/libglib-2.0.so.0
#54 0xb57aaf81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#55 0xb6875478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#56 0xb6b74ea5 in ?? () from /usr/lib/libQtGui.so.4
#57 0xb684952a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#58 0xb68496ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#59 0xb684bda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#60 0xb6ada767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#61 0xb80847f6 in kdemain (argc=1, argv=0xbfef9a04) at /build/buildd/kdebase-workspace-4.2.1a/plasma/shells/desktop/main.cpp:54
#62 0x08048712 in main (argc=181245000, argv=0xb6c50ac0) at /build/buildd/kdebase-workspace-4.2.1a/obj-i486-linux-gnu/plasma/shells/desktop/plasma_qgv_dummy.cpp:3
#0  0xb80f7424 in __kernel_vsyscall ()
Comment 1 Dario Andres 2009-03-18 13:07:39 UTC
About the "#7  0xb6c78c20 in ?? () from /usr/lib/libQtGui.so.4" you need to install the "libqt4-dbg" package, and hopefully you will get a complete backtrace the next time. Thanks
Comment 2 Marco Martin 2009-03-18 19:40:00 UTC
yeah both debug symbols missing and is one of those where kcrash crashes, in this cases the backtrace has to be fetched directly with gdb (bit easier when you know what is the plasmoid that crashes)
Comment 3 Tim G 2009-03-18 21:59:29 UTC
@Dario

I seem to already have this library installed:
sudo apt-get install libqt4-dbg
Reading package lists... Done
Building dependency tree
Reading state information... Done
libqt4-dbg is already the newest version.
libqt4-dbg set to manually installed.

@Marco

I'll do my best to capture this.  I have never tried to attach the debugger to a process that wasn't my own... We'll see how it works.

Thanks for the advice.  BTW, last night a new kernel was installed (2.6.27-14-server), and I dropped the plasma widgets.  No crashes in the couple of hours since.
Comment 4 Aaron J. Seigo 2009-05-09 01:48:11 UTC

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