Bug 301961

Summary: Crash Plasma Workspace on logoff
Product: [Unmaintained] Active Reporter: d.schwark
Component: GeneralAssignee: active
Status: RESOLVED FIXED    
Severity: crash CC: abhi_tech_2004, cfeck, egorov_egor, joost.van.weenen, thomas.pfeiffer
Priority: NOR    
Version: PA 2   
Target Milestone: unscheduled   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description d.schwark 2012-06-15 10:08:21 UTC
Application: plasma-device (1.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
Still having opened some applications like Chrome and settings, I logged off and the Crash handler opened telling me Plasma crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Workspace (plasma-device), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe05773a7c0 (LWP 2492))]

Thread 10 (Thread 0x7fe03b8fb700 (LWP 2493)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe0511a8222 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fe0511a8259 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007fe04bfdfe9a in start_thread (arg=0x7fe03b8fb700) at pthread_create.c:308
#5  0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fe02e6a4700 (LWP 2504)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe05288fdec in WTF::TCMalloc_PageHeap::scavengerThread (this=0x7fe053258de0) at wtf/FastMalloc.cpp:2495
#2  0x00007fe05288ff19 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007fe04bfdfe9a in start_thread (arg=0x7fe02e6a4700) at pthread_create.c:308
#5  0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fe02dda3700 (LWP 2505)):
#0  0x00007fe04bb4e5c0 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fe04bb1298b in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe04bb12faa in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe04bb13164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe053726426 in QEventDispatcherGlib::processEvents (this=0x7fe0200008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fe0536f5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe0536f5ed7 in QEventLoop::exec (this=0x7fe02dda2d00, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe0535f4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fe0535f7fcb in QThreadPrivate::start (arg=0x4a1fba0) at thread/qthread_unix.cpp:298
#9  0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fe04bfdfe9a in start_thread (arg=0x7fe02dda3700) at pthread_create.c:308
#11 0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fe026b31700 (LWP 2508)):
#0  0x00007fffc27ff8de in ?? ()
#1  0x00007fe04d9d515d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007fe05364ebb4 in do_gettime (frac=0x7fe026b30a98, sec=0x7fe026b30a90) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fe053726b8d in QTimerInfoList::updateCurrentTime (this=0x7fe01c002860) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007fe053726ec3 in QTimerInfoList::timerWait (this=0x7fe01c002860, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007fe05372597c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fe026b30b6c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fe053725a25 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fe04bb12846 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fe04bb12f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fe04bb13164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fe053726426 in QEventDispatcherGlib::processEvents (this=0x7fe01c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fe0536f5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fe0536f5ed7 in QEventLoop::exec (this=0x7fe026b30cd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fe0535f4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007fe0536d59ff in QInotifyFileSystemWatcherEngine::run (this=0x4e778a0) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007fe0535f7fcb in QThreadPrivate::start (arg=0x4e778a0) at thread/qthread_unix.cpp:298
#17 0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#18 0x00007fe04bfdfe9a in start_thread (arg=0x7fe026b31700) at pthread_create.c:308
#19 0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#20 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fe025ca6700 (LWP 2512)):
#0  0x00007fe057042b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe04bb13036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe04bb13164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe053726426 in QEventDispatcherGlib::processEvents (this=0x7fe0140008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe0536f5c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe0536f5ed7 in QEventLoop::exec (this=0x7fe025ca5cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe0535f4fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe0536d59ff in QInotifyFileSystemWatcherEngine::run (this=0x4f43bf0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe0535f7fcb in QThreadPrivate::start (arg=0x4f43bf0) at thread/qthread_unix.cpp:298
#9  0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fe04bfdfe9a in start_thread (arg=0x7fe025ca6700) at pthread_create.c:308
#11 0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fdfd37f3700 (LWP 3649)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe0535f84db in wait (time=18446744073709551615, this=0x845da40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x33e6f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe05041d0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90d5af0, th=0x5965ff0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fe05041f9db in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ad0750, th=0x5965ff0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fe05041f9f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ad0750, th=0x5965ff0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fe05041e84f in ThreadWeaver::ThreadRunHelper::run (this=0x7fdfd37f2d20, parent=0x90d5af0, th=0x5965ff0) at ../../../threadweaver/Weaver/Thread.cpp:87
#7  0x00007fe05041e8db in ThreadWeaver::Thread::run (this=0x5965ff0) at ../../../threadweaver/Weaver/Thread.cpp:142
#8  0x00007fe0535f7fcb in QThreadPrivate::start (arg=0x5965ff0) at thread/qthread_unix.cpp:298
#9  0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fe04bfdfe9a in start_thread (arg=0x7fdfd37f3700) at pthread_create.c:308
#11 0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fdfd3fff700 (LWP 3650)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe0535f84db in wait (time=18446744073709551615, this=0x845da40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x33e6f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe05041d0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90d5af0, th=0x86bcfe0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fe05041f9db in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ad0750, th=0x86bcfe0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fe05041e84f in ThreadWeaver::ThreadRunHelper::run (this=0x7fdfd3ffed20, parent=0x90d5af0, th=0x86bcfe0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fe05041e8db in ThreadWeaver::Thread::run (this=0x86bcfe0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fe0535f7fcb in QThreadPrivate::start (arg=0x86bcfe0) at thread/qthread_unix.cpp:298
#8  0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007fe04bfdfe9a in start_thread (arg=0x7fdfd3fff700) at pthread_create.c:308
#10 0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fdfc6969700 (LWP 3651)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe0535f84db in wait (time=18446744073709551615, this=0x845da40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x33e6f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe05041d0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90d5af0, th=0x307a580) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fe05041f9db in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ad0750, th=0x307a580) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fe05041f9f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ad0750, th=0x307a580) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#6  0x00007fe05041f9f4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ad0750, th=0x307a580) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#7  0x00007fe05041e84f in ThreadWeaver::ThreadRunHelper::run (this=0x7fdfc6968d20, parent=0x90d5af0, th=0x307a580) at ../../../threadweaver/Weaver/Thread.cpp:87
#8  0x00007fe05041e8db in ThreadWeaver::Thread::run (this=0x307a580) at ../../../threadweaver/Weaver/Thread.cpp:142
#9  0x00007fe0535f7fcb in QThreadPrivate::start (arg=0x307a580) at thread/qthread_unix.cpp:298
#10 0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#11 0x00007fe04bfdfe9a in start_thread (arg=0x7fdfc6969700) at pthread_create.c:308
#12 0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdfc5ebd700 (LWP 3652)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe0535f84db in wait (time=18446744073709551615, this=0x845da40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x33e6f60, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe05041d0eb in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x90d5af0, th=0x6580ef0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fe05041f9db in ThreadWeaver::WorkingHardState::applyForWork (this=0x8ad0750, th=0x6580ef0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fe05041e84f in ThreadWeaver::ThreadRunHelper::run (this=0x7fdfc5ebcd20, parent=0x90d5af0, th=0x6580ef0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fe05041e8db in ThreadWeaver::Thread::run (this=0x6580ef0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fe0535f7fcb in QThreadPrivate::start (arg=0x6580ef0) at thread/qthread_unix.cpp:298
#8  0x00007fe04c4d2b74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007fe04bfdfe9a in start_thread (arg=0x7fdfc5ebd700) at pthread_create.c:308
#10 0x00007fe05704e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe05773a7c0 (LWP 2492)):
[KCrash Handler]
#6  0x00007fe03a97117a in ?? () from /usr/lib/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#7  0x00007fe03a963adb in ?? () from /usr/lib/kde4/imports/org/kde/plasma/core/libcorebindingsplugin.so
#8  0x00007fe053709935 in QObjectPrivate::deleteChildren (this=0x36b8410) at kernel/qobject.cpp:1908
#9  0x00007fe05370fb9c in QObject::~QObject (this=0x360ba60, __in_chrg=<optimized out>) at kernel/qobject.cpp:927
#10 0x00007fe055f60a35 in ~QDeclarativeElement (this=0x360ba60, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#11 QDeclarativePrivate::QDeclarativeElement<QDeclarativeItem>::~QDeclarativeElement (this=0x360ba60, __in_chrg=<optimized out>) at ../../include/QtDeclarative/../../src/declarative/qml/qdeclarativeprivate.h:87
#12 0x00007fe05495aa36 in QGraphicsItem::~QGraphicsItem (this=0x39606c0, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1493
#13 0x00007fe0549aa4d9 in ~QGraphicsObject (this=0x39606b0, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#14 QGraphicsWidget::~QGraphicsWidget (this=0x39606b0, __in_chrg=<optimized out>) at graphicsview/qgraphicswidget.cpp:232
#15 0x00007fe056c177a9 in Plasma::DeclarativeWidget::~DeclarativeWidget (this=0x39606b0, __in_chrg=<optimized out>) at ../../plasma/widgets/declarativewidget.cpp:208
#16 0x00007fe05495aa36 in QGraphicsItem::~QGraphicsItem (this=0x3938e10, __in_chrg=<optimized out>) at graphicsview/qgraphicsitem.cpp:1493
#17 0x00007fe0549aa4d9 in ~QGraphicsObject (this=0x3938e00, __in_chrg=<optimized out>) at ../../include/QtGui/../../src/gui/graphicsview/qgraphicsitem.h:547
#18 QGraphicsWidget::~QGraphicsWidget (this=0x3938e00, __in_chrg=<optimized out>) at graphicsview/qgraphicswidget.cpp:232
#19 0x00007fe056b3da52 in Plasma::Applet::~Applet (this=0x3938e00, __in_chrg=<optimized out>) at ../../plasma/applet.cpp:207
#20 0x00007fe056b4e309 in Plasma::Containment::~Containment (this=0x3938e00, __in_chrg=<optimized out>) at ../../plasma/containment.cpp:152
#21 0x00007fe053710478 in QObject::event (this=0x3938e00, e=<optimized out>) at kernel/qobject.cpp:1176
#22 0x00007fe0549a663b in QGraphicsWidget::event (this=0x3938e00, event=0x8af6370) at graphicsview/qgraphicswidget.cpp:1461
#23 0x00007fe054369894 in notify_helper (e=0x8af6370, receiver=0x3938e00, this=0x2307ad0) at kernel/qapplication.cpp:4559
#24 QApplicationPrivate::notify_helper (this=0x2307ad0, receiver=0x3938e00, e=0x8af6370) at kernel/qapplication.cpp:4531
#25 0x00007fe05436e713 in QApplication::notify (this=0x22a79d0, receiver=0x3938e00, e=0x8af6370) at kernel/qapplication.cpp:4420
#26 0x00007fe056625bb6 in KApplication::notify (this=0x22a79d0, receiver=0x3938e00, event=0x8af6370) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007fe0536f6e9c in QCoreApplication::notifyInternal (this=0x22a79d0, receiver=0x3938e00, event=0x8af6370) at kernel/qcoreapplication.cpp:876
#28 0x00007fe0536fac6a in sendEvent (event=0x8af6370, receiver=0x3938e00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x22432b0) at kernel/qcoreapplication.cpp:1500
#30 0x00007fe0536faf9e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1155
#31 0x00007fe05733b005 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-device.so
#32 0x00007fe056f7d76d in __libc_start_main (main=0x400650, argc=1, ubp_av=0x7fffc2797c08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc2797bf8) at libc-start.c:226
#33 0x0000000000400681 in _start ()

Reported using DrKonqi
Comment 1 Joost van Weenen 2012-07-04 20:18:15 UTC
I have the same issue with an crashing KDE on shutdown.
Comment 2 Thomas Pfeiffer 2012-12-06 21:03:47 UTC
What should we do about this? Is it an upstream problem?
Comment 3 Joost van Weenen 2012-12-10 21:12:01 UTC
I havent experienced any more crashes while logging off after updating to the latest and greatest Kubuntu.
Comment 4 Christoph Feck 2012-12-10 21:33:02 UTC
Joost, did the update include an update of Qt libraries to version 4.8.4?
Comment 5 Thomas Pfeiffer 2013-02-05 18:58:34 UTC
I haven't experienced any crashes on logout for months, so this seems fixed. If somebody still experiences crashes, please reopen.
Comment 6 abhijit 2013-06-29 06:20:14 UTC
Hi,

I am not facing any crash but the system is not logging off. 

When I log-in I am having a standard KDE panel and menu along with the plasma active desktop running on top. When I log-off the menu and panel are disappearing but the plasma active desktop is still running and not letting me log out.

Only way is to restart.