Bug 336110

Summary: plasma-desktop freezes and/or crashes
Product: [Unmaintained] plasma4 Reporter: dessert <pigleich3>
Component: widget-systemtrayAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED WORKSFORME    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 4.11.9   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dessert 2014-06-12 07:36:19 UTC
Application: plasma-desktop (4.11.9)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-29-generic x86_64
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Running Dolphin, Chromium, JDownloader, Thunderbird and/or VLC.
- Unusual behavior I noticed:
the desktop freezes and crashes after some seconds or crashes immediately. it restarts each time after some seconds. this happens irregular, up to many times per hour. it does not seem to cohere with user actions.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fcf6adb57c0 (LWP 3856))]

Thread 8 (Thread 0x7fcf4067e700 (LWP 3859)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf63a5cffb in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fcf63a5d039 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fcf5e309182 in start_thread (arg=0x7fcf4067e700) at pthread_create.c:312
#4  0x00007fcf6a6aa30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fceba3f6700 (LWP 3860)):
#0  0x00007fcf6a69cfbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fcf5dbf7fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf5dbf80ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf672727be in QEventDispatcherGlib::processEvents (this=0x7fceb40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007fcf672440af in QEventLoop::processEvents (this=this@entry=0x7fceba3f5de0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fcf672443a5 in QEventLoop::exec (this=this@entry=0x7fceba3f5de0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fcf67140c5f in QThread::exec (this=this@entry=0x1c3f360) at thread/qthread.cpp:537
#7  0x00007fcf67225823 in QInotifyFileSystemWatcherEngine::run (this=0x1c3f360) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fcf6714332f in QThreadPrivate::start (arg=0x1c3f360) at thread/qthread_unix.cpp:349
#9  0x00007fcf5e309182 in start_thread (arg=0x7fceba3f6700) at pthread_create.c:312
#10 0x00007fcf6a6aa30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fceb8f5b700 (LWP 3861)):
#0  0x00007fcf5e30b569 in __GI___pthread_mutex_lock (mutex=0x7fceac000a60) at ../nptl/pthread_mutex_lock.c:125
#1  0x00007fcf5dc39991 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf5dbf71f8 in g_main_context_release () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf5dbf7f91 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fcf5dbf80ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fcf672727be in QEventDispatcherGlib::processEvents (this=0x7fceac0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0x00007fcf672440af in QEventLoop::processEvents (this=this@entry=0x7fceb8f5ade0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fcf672443a5 in QEventLoop::exec (this=this@entry=0x7fceb8f5ade0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fcf67140c5f in QThread::exec (this=this@entry=0x1da29d0) at thread/qthread.cpp:537
#9  0x00007fcf67225823 in QInotifyFileSystemWatcherEngine::run (this=0x1da29d0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fcf6714332f in QThreadPrivate::start (arg=0x1da29d0) at thread/qthread_unix.cpp:349
#11 0x00007fcf5e309182 in start_thread (arg=0x7fceb8f5b700) at pthread_create.c:312
#12 0x00007fcf6a6aa30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fcf470c1700 (LWP 4867)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf67143816 in wait (time=18446744073709551615, this=0x1d0b640) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1db89f8, mutex=0x1cb0190, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fcf62cd5e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db89d0, th=0x28f5270) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fcf62cd8903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cc6280, th=0x28f5270, previous=0x3cbc000) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fcf62cd761f in ThreadWeaver::Thread::run (this=0x28f5270) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fcf6714332f in QThreadPrivate::start (arg=0x28f5270) at thread/qthread_unix.cpp:349
#7  0x00007fcf5e309182 in start_thread (arg=0x7fcf470c1700) at pthread_create.c:312
#8  0x00007fcf6a6aa30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fcf44d26700 (LWP 4868)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf67143816 in wait (time=18446744073709551615, this=0x1d0b640) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1db89f8, mutex=0x1cb0190, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fcf62cd5e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db89d0, th=0x40f3360) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fcf62cd8903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cc6280, th=0x40f3360, previous=0x3cd4ba0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fcf62cd761f in ThreadWeaver::Thread::run (this=0x40f3360) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fcf6714332f in QThreadPrivate::start (arg=0x40f3360) at thread/qthread_unix.cpp:349
#7  0x00007fcf5e309182 in start_thread (arg=0x7fcf44d26700) at pthread_create.c:312
#8  0x00007fcf6a6aa30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fcf44525700 (LWP 4869)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf67143816 in wait (time=18446744073709551615, this=0x1d0b640) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1db89f8, mutex=0x1cb0190, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fcf62cd5e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db89d0, th=0x405d950) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fcf62cd8903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cc6280, th=0x405d950, previous=0x0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fcf62cd891c in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cc6280, th=0x405d950, previous=0x2df0660) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#6  0x00007fcf62cd761f in ThreadWeaver::Thread::run (this=0x405d950) at ../../../threadweaver/Weaver/Thread.cpp:98
#7  0x00007fcf6714332f in QThreadPrivate::start (arg=0x405d950) at thread/qthread_unix.cpp:349
#8  0x00007fcf5e309182 in start_thread (arg=0x7fcf44525700) at pthread_create.c:312
#9  0x00007fcf6a6aa30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fceb1437700 (LWP 4870)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fcf67143816 in wait (time=18446744073709551615, this=0x1d0b640) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1db89f8, mutex=0x1cb0190, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fcf62cd5e6c in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1db89d0, th=0x2ed2480) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#4  0x00007fcf62cd8903 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1cc6280, th=0x2ed2480, previous=0x43fbc20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#5  0x00007fcf62cd761f in ThreadWeaver::Thread::run (this=0x2ed2480) at ../../../threadweaver/Weaver/Thread.cpp:98
#6  0x00007fcf6714332f in QThreadPrivate::start (arg=0x2ed2480) at thread/qthread_unix.cpp:349
#7  0x00007fcf5e309182 in start_thread (arg=0x7fceb1437700) at pthread_create.c:312
#8  0x00007fcf6a6aa30d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fcf6adb57c0 (LWP 3856)):
[KCrash Handler]
#6  0x00007fcf421d2070 in QPixmap::QPixmap()@plt () from /usr/lib/kde4/plasma_applet_systemtray.so
#7  0x00007fcf421d9375 in SystemTray::X11EmbedContainer::toX11Pixmap (pix=...) at ../../../../../plasma/generic/applets/systemtray/protocols/fdo/x11embedcontainer.cpp:236
#8  0x00007fcf421d9586 in SystemTray::X11EmbedContainer::paintEvent (this=0x3547940, event=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/protocols/fdo/x11embedcontainer.cpp:197
#9  0x00007fcf6662e2f0 in QWidget::event (this=0x3547940, event=0x7fff1ea8a560) at kernel/qwidget.cpp:8533
#10 0x00007fcf665dee2c in QApplicationPrivate::notify_helper (this=this@entry=0x107b990, receiver=receiver@entry=0x3547940, e=e@entry=0x7fff1ea8a560) at kernel/qapplication.cpp:4567
#11 0x00007fcf665e54a0 in QApplication::notify (this=this@entry=0x10528b0, receiver=receiver@entry=0x3547940, e=e@entry=0x7fff1ea8a560) at kernel/qapplication.cpp:4353
#12 0x00007fcf67f0abaa in KApplication::notify (this=0x10528b0, receiver=0x3547940, event=0x7fff1ea8a560) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007fcf672454dd in QCoreApplication::notifyInternal (this=0x10528b0, receiver=receiver@entry=0x3547940, event=event@entry=0x7fff1ea8a560) at kernel/qcoreapplication.cpp:953
#14 0x00007fcf66628a11 in sendSpontaneousEvent (event=0x7fff1ea8a560, receiver=0x3547940) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#15 QWidgetPrivate::drawWidget (this=this@entry=0x34e9bd0, pdev=pdev@entry=0x2f24ff0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x297e6a0) at kernel/qwidget.cpp:5599
#16 0x00007fcf66629440 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x2de27f0, pdev=pdev@entry=0x2f24ff0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x297e6a0) at kernel/qwidget.cpp:5808
#17 0x00007fcf666285cc in QWidgetPrivate::drawWidget (this=this@entry=0x2de27f0, pdev=pdev@entry=0x2f24ff0, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x297e6a0) at kernel/qwidget.cpp:5652
#18 0x00007fcf66629440 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x296f520, pdev=pdev@entry=0x2f24ff0, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x297e6a0) at kernel/qwidget.cpp:5808
#19 0x00007fcf666285cc in QWidgetPrivate::drawWidget (this=0x296f520, pdev=0x2f24ff0, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=backingStore@entry=0x297e6a0) at kernel/qwidget.cpp:5652
#20 0x00007fcf667eb8ae in QWidgetBackingStore::sync (this=0x297e6a0) at painting/qbackingstore.cpp:1373
#21 0x00007fcf6661dea0 in QWidgetPrivate::syncBackingStore (this=this@entry=0x296f520) at kernel/qwidget.cpp:1894
#22 0x00007fcf6662de6a in QWidget::event (this=this@entry=0x2932140, event=event@entry=0x369ef80) at kernel/qwidget.cpp:8680
#23 0x00007fcf669cffce in QFrame::event (this=this@entry=0x2932140, e=e@entry=0x369ef80) at widgets/qframe.cpp:557
#24 0x00007fcf66a4c42b in QAbstractScrollArea::event (this=0x2932140, e=0x369ef80) at widgets/qabstractscrollarea.cpp:996
#25 0x00007fcf665dee2c in QApplicationPrivate::notify_helper (this=this@entry=0x107b990, receiver=receiver@entry=0x2932140, e=e@entry=0x369ef80) at kernel/qapplication.cpp:4567
#26 0x00007fcf665e54a0 in QApplication::notify (this=this@entry=0x10528b0, receiver=receiver@entry=0x2932140, e=e@entry=0x369ef80) at kernel/qapplication.cpp:4353
#27 0x00007fcf67f0abaa in KApplication::notify (this=0x10528b0, receiver=0x2932140, event=0x369ef80) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x00007fcf672454dd in QCoreApplication::notifyInternal (this=0x10528b0, receiver=receiver@entry=0x2932140, event=event@entry=0x369ef80) at kernel/qcoreapplication.cpp:953
#29 0x00007fcf67248b3d in sendEvent (event=0x369ef80, receiver=0x2932140) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x2932140, event_type=event_type@entry=77, data=0xfe01f0) at kernel/qcoreapplication.cpp:1577
#31 0x00007fcf67248fe3 in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=event_type@entry=77) at kernel/qcoreapplication.cpp:1470
#32 0x00007fcf66bb3882 in dispatchPendingUpdateRequests (this=0x296f520) at ../../include/QtGui/private/../../../src/gui/graphicsview/qgraphicsview_p.h:200
#33 QGraphicsScenePrivate::_q_processDirtyItems (this=0x10762d0) at graphicsview/qgraphicsscene.cpp:515
#34 0x00007fcf66bb6f59 in QGraphicsScene::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at .moc/release-shared/moc_qgraphicsscene.cpp:106
#35 0x00007fcf6725dc1e in QObject::event (this=this@entry=0x11df650, e=e@entry=0x2f5b6d0) at kernel/qobject.cpp:1194
#36 0x00007fcf66bc43ab in QGraphicsScene::event (this=0x11df650, event=0x2f5b6d0) at graphicsview/qgraphicsscene.cpp:3565
#37 0x00007fcf665dee2c in QApplicationPrivate::notify_helper (this=this@entry=0x107b990, receiver=receiver@entry=0x11df650, e=e@entry=0x2f5b6d0) at kernel/qapplication.cpp:4567
#38 0x00007fcf665e54a0 in QApplication::notify (this=this@entry=0x10528b0, receiver=receiver@entry=0x11df650, e=e@entry=0x2f5b6d0) at kernel/qapplication.cpp:4353
#39 0x00007fcf67f0abaa in KApplication::notify (this=0x10528b0, receiver=0x11df650, event=0x2f5b6d0) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007fcf672454dd in QCoreApplication::notifyInternal (this=0x10528b0, receiver=receiver@entry=0x11df650, event=event@entry=0x2f5b6d0) at kernel/qcoreapplication.cpp:953
#41 0x00007fcf67248b3d in sendEvent (event=0x2f5b6d0, receiver=0x11df650) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xfe01f0) at kernel/qcoreapplication.cpp:1577
#43 0x00007fcf67248fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#44 0x00007fcf67272f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#45 postEventSourceDispatch (s=0x107fde0) at kernel/qeventdispatcher_glib.cpp:287
#46 0x00007fcf5dbf7e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fcf5dbf8048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fcf5dbf80ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fcf672727a1 in QEventDispatcherGlib::processEvents (this=0xfe1af0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#50 0x00007fcf66680bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007fcf672440af in QEventLoop::processEvents (this=this@entry=0x7fff1ea8b910, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007fcf672443a5 in QEventLoop::exec (this=this@entry=0x7fff1ea8b910, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007fcf67249b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#54 0x00007fcf665dd37c in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0x00007fcf6a9b166c in kdemain (argc=1, argv=0x7fff1ea8bb68) at ../../../../plasma/desktop/shell/main.cpp:126
#56 0x00007fcf6a5d0ec5 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, argv=0x7fff1ea8bb68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1ea8bb58) at libc-start.c:287
#57 0x000000000040070e in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 292064.

Possible duplicates by query: bug 316247.

Reported using DrKonqi
Comment 1 dessert 2014-06-15 11:49:52 UTC
It was apparently caused by a wrong RAM configuration (machine supports 2+2gb, I had 2+4gb installed), after some "memory access error" crashs of programs like chromium and vlc I removed the 4gb unit. Since then I didn't experienced any crash or freezing of plasma-desktop, kwin or one of the mentioned programs, ergo: resolved.

Remains to say: Unless a tool like memtest86+ don't find any errors, the RAM can however be the cause of the outlined crashs. If you experience similar errors, check your RAM configuration and test it with memtest86+!