Bug 196428 - Desktop Plasma Crash while-system-idle (QX11PixmapData::*, QPixmap*, QIcon::paint, AbstractTaskItem::drawTask)
Summary: Desktop Plasma Crash while-system-idle (QX11PixmapData::*, QPixmap*, QIcon::p...
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 196591 196758 198430 199448 207333 208088 208783 225918 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-14 02:55 UTC by Sam Azer
Modified: 2010-03-21 22:42 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Azer 2009-06-14 02:55:15 UTC
Application that crashed: plasma-desktop
Version of the application: 0.3
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.0
Operating System: Linux 2.6.28-11-generic x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
* kubuntu 9.04 on x86_64
* including updates from http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu
* Weather, CPU and Network applets running on Desktop
* Firefox 3.0.11 running (same crash many times with Firefox 3.0.10 also.)
* Pterm running (part of the Putty SSH package.)
* Amarok 2.1 running / seems to be stable / working fine even now.
* dolphin running.
* two KVM VM's running in the background (not affected by these crashes.) One is Windows XP and the other is CentOS 5.3.
* Rdesktop is running (talking to the WinXP VM.)
* smb4k is running
* kdebluetooth & keepassx & "System Load Viewer" in task tray along with Volume and Pulseaudio applets.

* System running fine for several hours
* Went out for dinner, came back & unlocked screen, desktop crashed.

* This happens quite often lately - desktop is seriously unstable. After a few hours of work (more or less as described above,) the task buttons on the task bar start to disappear and, eventually, the desktop crashes. 

I learned to shell into the system and run service kdm restart to avoid a hard reset in many cases. In other cases the crash reporting tool would come-up and the desktop would restart okay. Eventually figured out how to install the debug packages. This is the first report I am able to post because I have changed my network config. to allow this report to work. A proxy server option in the crash reporting tool is badly needed.

Thanks,
Sam.

p.s. added the repo (http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu) to get Amarok 2.1 - forgot to remove it. Wasn't actually planning on running a beta desktop on my main workstation!! Any suggestions for going back to a more stable / non-beta configuration? 



 -- Backtrace:
Application: Plasma Workspace (kdeinit), signal: Segmentation fault
[Current thread is 0 (LWP 8023)]

Thread 2 (Thread 0x7f1aa4100950 (LWP 8029)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f1ac538f939 in QWaitCondition::wait (this=0x14a92f0, mutex=0x14a92e8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f1ac420c4cc in QHostInfoAgent::run (this=0x14a92d0) at kernel/qhostinfo.cpp:260
#3  0x00007f1ac538e952 in QThreadPrivate::start (arg=0x14a92d0) at thread/qthread_unix.cpp:189
#4  0x00007f1ac12103ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007f1ac1df4fcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1ac5956750 (LWP 8023)):
[KCrash Handler]
#5  0x00007f1ac2ad587f in QX11PixmapData::toImage (this=0x2b3afd0) at image/qpixmap_x11.cpp:1579
#6  0x00007f1ac2ad5f09 in QX11PixmapData::transformed (this=0x2b3afd0, transform=@0x7fffcd98a920, mode=Qt::SmoothTransformation) at image/qpixmap_x11.cpp:1720
#7  0x00007f1ac2ac55a0 in QPixmap::transformed (this=0x7fffcd98aad0, transform=@0x7fffcd98a920, mode=Qt::SmoothTransformation) at image/qpixmap.cpp:1490
#8  0x00007f1ac2ac5950 in QPixmap::scaled (this=0x7fffcd98aad0, s=<value optimized out>, aspectMode=<value optimized out>, mode=Qt::SmoothTransformation) at image/qpixmap.cpp:1404
#9  0x00007f1ac2a9ee91 in QPixmapIconEngine::pixmap (this=<value optimized out>, size=<value optimized out>, mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:327
#10 0x00007f1ac2a9c731 in QPixmapIconEngine::paint (this=<value optimized out>, painter=0x7fffcd98c390, rect=@0x7fffcd98ad30, mode=QIcon::Normal, state=255) at image/qicon.cpp:184
#11 0x00007f1ac2a9c538 in QIcon::paint (this=0x2951d20, painter=0x7fffcd98c390, rect=@0x7fffcd98b020, alignment={i = -845631200}, mode=QIcon::Normal, state=QIcon::Off) at image/qicon.cpp:759
#12 0x00007f1aa839e82a in AbstractTaskItem::drawTask (this=0x2951cc0, painter=0x7fffcd98c390, option=0x17153e0) at /build/buildd/kdebase-workspace-4.2.90/plasma/applets/tasks/abstracttaskitem.cpp:556
#13 0x00007f1ac2fe8d15 in _q_paintItem (item=<value optimized out>, painter=0x7fffcd98c390, option=0x17153e0, widget=0x13a6090, useWindowOpacity=true, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4483
#14 0x00007f1ac2fea408 in QGraphicsScenePrivate::drawItemHelper (this=<value optimized out>, item=0x2951cd0, painter=0x7fffcd98c390, option=0x17153e0, widget=0x13a6090, painterStateProtection=true)
    at graphicsview/qgraphicsscene.cpp:4552
#15 0x00007f1ac2fec51e in QGraphicsScene::drawItems (this=<value optimized out>, painter=0x7fffcd98c390, numItems=41, items=<value optimized out>, options=0x1714030, widget=0x13a6090)
    at graphicsview/qgraphicsscene.cpp:4957
#16 0x00007f1ac300e260 in QGraphicsView::paintEvent (this=0x1687460, event=<value optimized out>) at graphicsview/qgraphicsview.cpp:3542
#17 0x00007f1aba023706 in PanelView::paintEvent (this=0xff, event=0xff) at /build/buildd/kdebase-workspace-4.2.90/plasma/shells/desktop/panelview.cpp:1266
#18 0x00007f1ac2a526e6 in QWidget::event (this=0x1687460, event=0x7fffcd98cb60) at kernel/qwidget.cpp:7654
#19 0x00007f1ac2dec40b in QFrame::event (this=0x1687460, e=0x7fffcd98cb60) at widgets/qframe.cpp:559
#20 0x00007f1ac3008d1b in QGraphicsView::viewportEvent (this=0x1687460, event=0x7fffcd98cb60) at graphicsview/qgraphicsview.cpp:2933
#21 0x00007f1ac5476a68 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x13a6090, event=0x7fffcd98cb60) at kernel/qcoreapplication.cpp:718
#22 0x00007f1ac2a0175c in QApplicationPrivate::notify_helper (this=0xbe1430, receiver=0x13a6090, e=0x7fffcd98cb60) at kernel/qapplication.cpp:4080
#23 0x00007f1ac2a0997a in QApplication::notify (this=0xba0340, receiver=0x13a6090, e=0x7fffcd98cb60) at kernel/qapplication.cpp:4049
#24 0x00007f1ac3b4406b in KApplication::notify (this=0xba0340, receiver=0x13a6090, event=0x7fffcd98cb60) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#25 0x00007f1ac547775c in QCoreApplication::notifyInternal (this=0xba0340, receiver=0x13a6090, event=0x7fffcd98cb60) at kernel/qcoreapplication.cpp:602
#26 0x00007f1ac2a599a5 in QWidgetPrivate::drawWidget (this=0x1679720, pdev=0x1318758, rgn=@0x7fffcd98cd90, offset=@0x7fffcd98cd80, flags=4, sharedPainter=0x0, backingStore=0x168d970)
    at kernel/qwidget.cpp:5046
#27 0x00007f1ac2a5a117 in QWidgetPrivate::paintSiblingsRecursive (this=0x128ef50, pdev=0x1318758, siblings=@0x128ef68, index=2, rgn=@0x7fffcd98ce80, offset=@0x168d9b4, flags=4, sharedPainter=0x0, 
    backingStore=0x168d970) at kernel/qwidget.cpp:5156
#28 0x00007f1ac2a5a026 in QWidgetPrivate::paintSiblingsRecursive (this=0x128ef50, pdev=0x1318758, siblings=@0x128ef68, index=4, rgn=@0x7fffcd98cf70, offset=@0x168d9b4, flags=4, sharedPainter=0x0, 
    backingStore=0x168d970) at kernel/qwidget.cpp:5147
#29 0x00007f1ac2a5a026 in QWidgetPrivate::paintSiblingsRecursive (this=0x128ef50, pdev=0x1318758, siblings=@0x128ef68, index=5, rgn=@0x7fffcd98d060, offset=@0x168d9b4, flags=4, sharedPainter=0x0, 
    backingStore=0x168d970) at kernel/qwidget.cpp:5147
#30 0x00007f1ac2a5a026 in QWidgetPrivate::paintSiblingsRecursive (this=0x128ef50, pdev=0x1318758, siblings=@0x128ef68, index=6, rgn=@0x7fffcd98d150, offset=@0x168d9b4, flags=4, sharedPainter=0x0, 
    backingStore=0x168d970) at kernel/qwidget.cpp:5147
#31 0x00007f1ac2a5a026 in QWidgetPrivate::paintSiblingsRecursive (this=0x128ef50, pdev=0x1318758, siblings=@0x128ef68, index=7, rgn=@0x7fffcd98d240, offset=@0x168d9b4, flags=4, sharedPainter=0x0, 
    backingStore=0x168d970) at kernel/qwidget.cpp:5147
#32 0x00007f1ac2a5a026 in QWidgetPrivate::paintSiblingsRecursive (this=0x128ef50, pdev=0x1318758, siblings=@0x128ef68, index=8, rgn=@0x7fffcd98d330, offset=@0x168d9b4, flags=4, sharedPainter=0x0, 
    backingStore=0x168d970) at kernel/qwidget.cpp:5147
#33 0x00007f1ac2a5a026 in QWidgetPrivate::paintSiblingsRecursive (this=0x128ef50, pdev=0x1318758, siblings=@0x128ef68, index=9, rgn=@0x7fffcd98d420, offset=@0x168d9b4, flags=4, sharedPainter=0x0, 
    backingStore=0x168d970) at kernel/qwidget.cpp:5147
#34 0x00007f1ac2a5a026 in QWidgetPrivate::paintSiblingsRecursive (this=0x128ef50, pdev=0x1318758, siblings=@0x128ef68, index=10, rgn=@0x7fffcd98d890, offset=@0x168d9b4, flags=4, sharedPainter=0x0, 
    backingStore=0x168d970) at kernel/qwidget.cpp:5147
#35 0x00007f1ac2a59617 in QWidgetPrivate::drawWidget (this=0x128ef50, pdev=0x1318758, rgn=@0x7fffcd98d890, offset=@0x168d9b4, flags=4, sharedPainter=0x0, backingStore=0x168d970)
    at kernel/qwidget.cpp:5095
#36 0x00007f1ac2bfd362 in QWidgetBackingStore::sync (this=0x168d970) at painting/qbackingstore.cpp:1266
#37 0x00007f1ac2a4b050 in QWidgetPrivate::syncBackingStore (this=0x128ef50) at kernel/qwidget.cpp:1603
#38 0x00007f1ac2a5257d in QWidget::event (this=0x1687460, event=0x1b37150) at kernel/qwidget.cpp:7794
#39 0x00007f1ac2dec40b in QFrame::event (this=0x1687460, e=0x1b37150) at widgets/qframe.cpp:559
#40 0x00007f1ac2e7d949 in QAbstractScrollArea::event (this=0x1687460, e=0x1b37150) at widgets/qabstractscrollarea.cpp:918
#41 0x00007f1aba023000 in PanelView::event (this=0x1687460, event=0x1b37150) at /build/buildd/kdebase-workspace-4.2.90/plasma/shells/desktop/panelview.cpp:1289
#42 0x00007f1ac2a0178d in QApplicationPrivate::notify_helper (this=0xbe1430, receiver=0x1687460, e=0x1b37150) at kernel/qapplication.cpp:4084
#43 0x00007f1ac2a0997a in QApplication::notify (this=0xba0340, receiver=0x1687460, e=0x1b37150) at kernel/qapplication.cpp:4049
#44 0x00007f1ac3b4406b in KApplication::notify (this=0xba0340, receiver=0x1687460, event=0x1b37150) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#45 0x00007f1ac547775c in QCoreApplication::notifyInternal (this=0xba0340, receiver=0x1687460, event=0x1b37150) at kernel/qcoreapplication.cpp:602
#46 0x00007f1ac54783ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb4d100) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#47 0x00007f1ac54a11e3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#48 0x00007f1ac145f20a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0x00007f1ac14628e0 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0x00007f1ac1462a7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0x00007f1ac54a0e6f in QEventDispatcherGlib::processEvents (this=0xbe08c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#52 0x00007f1ac2a99bef in QGuiEventDispatcherGlib::processEvents (this=0xff, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#53 0x00007f1ac5476002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -845618144}) at kernel/qeventloop.cpp:149
#54 0x00007f1ac54763cd in QEventLoop::exec (this=0x7fffcd98e460, flags={i = -845618064}) at kernel/qeventloop.cpp:200
#55 0x00007f1ac5478694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#56 0x00007f1aba01b7eb in kdemain (argc=1, argv=0xb962c0) at /build/buildd/kdebase-workspace-4.2.90/plasma/shells/desktop/main.cpp:50
#57 0x000000000040714e in launch (argc=1, _name=0xb94818 "/usr/bin/plasma-desktop", args=<value optimized out>, cwd=0x0, envc=0, envs=0xb94838 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a308 "0") at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:671
#58 0x0000000000407978 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1163
#59 0x0000000000407f25 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1356
#60 0x0000000000408a66 in main (argc=2, argv=0x7fffcd98f2f8, envp=0x7fffcd98f310) at /build/buildd/kde4libs-4.2.90/kinit/kinit.cpp:1783

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2009-06-14 03:07:46 UTC
when it crashes like this, you can just start plasma-desktop to get it back.

anyways, this is due to pixmap resources being exhausted; the two sources of this (one in qt, one in the plasma system tray) have been found and eliminated.
Comment 2 Sam Azer 2009-06-14 03:15:45 UTC
Thanks!!
Comment 3 Dario Andres 2009-06-15 13:48:41 UTC
*** Bug 196591 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2009-06-16 19:26:35 UTC
*** Bug 196758 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-06-30 18:14:30 UTC
*** Bug 198430 has been marked as a duplicate of this bug. ***
Comment 6 FiNeX 2009-07-08 22:48:46 UTC
*** Bug 199448 has been marked as a duplicate of this bug. ***
Comment 7 Sam Azer 2009-07-08 23:06:26 UTC
Please note:

* kubuntu recently released a Release Candidate which may or may not include the bug fix mentioned above.

* It is possible that the bug has indeed been fixed and that the patch has not been applied to the latest release candidate - but it's also possible that the bug remains in some form.

* the problem continues for me.

* my desktop now crashes systematically whenever I start or shutdown a KVM VM. This is totally repeatable at any time - the plasma desktop never fails to crash now when a VM starts or stops.

* I'm seeing memory corruption now. As per the note above I wrote a script to kill and restart the plasma-desktop and have been using it regularly to ensure that my workstation is stable. Also at that time I found that the Clipboard was being corrupted. So I added code to the script to reboot the clipboard also:

~/resetplasma.sh:

#!/bin/sh
pkill klipper
pkill plasma-desktop
plasma-desktop
klipper


Now I find that everything is being corrupted after a while (since the release candidate.) 

This is less repeatable because it only happens after a period of time. I am forced to reboot the entire workstation. (The sound will stop working and many applications will appear to be corrupted - text missing and screen not updating properly, etc.)

Thanks,
Sam.
Comment 8 Sam Azer 2009-07-09 03:41:43 UTC
Please see also #199504.
Comment 9 Dario Andres 2009-09-16 04:30:13 UTC
*** Bug 207333 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-09-29 03:22:53 UTC
*** Bug 208088 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-09-29 03:23:03 UTC
*** Bug 208783 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2010-03-21 22:42:42 UTC
*** Bug 225918 has been marked as a duplicate of this bug. ***