Bug 286940

Summary: Seg Fault on shutdown
Product: [Unmaintained] plasma4 Reporter: proteusd
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description proteusd 2011-11-18 16:35:17 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Shutting down forced a seg fault.  Note: I woke the machine from sleep and this seems to be the catalyst for me to have this happen.  Thinkpad 520 has issues with the desktop.  After waking from sleep the screen is very dim and I'm not able to make it brighter.  I believe this is a known issue and *may* be some of the problem.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f4f3fc417c0 (LWP 2365))]

Thread 8 (Thread 0x7f4f1cc78700 (LWP 2366)):
#0  0x00007f4f345b11fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x142c378) at pthread_mutex_unlock.c:290
#2  0x00007f4f33a9ffe4 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4f33aa0dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4f33aa1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4f3c707f3e in QEventDispatcherGlib::processEvents (this=0x142bb70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f4f3c6dbcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4f3c6dbef7 in QEventLoop::exec (this=0x7f4f1cc77cd0, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f4f3c5f327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007f4f3c6becbf in QInotifyFileSystemWatcherEngine::run (this=0x142a430) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f4f3c5f5d05 in QThreadPrivate::start (arg=0x142a430) at thread/qthread_unix.cpp:331
#11 0x00007f4f30dba56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x00007f4f345adefc in start_thread (arg=0x7f4f1cc78700) at pthread_create.c:304
#13 0x00007f4f3f52189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4f14959700 (LWP 2367)):
#0  unixCheckClockType () at tools/qelapsedtimer_unix.cpp:74
#1  0x00007f4f3c646059 in do_gettime (frac=0x7f4f14958a58, sec=0x7f4f14958a50) at tools/qelapsedtimer_unix.cpp:120
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007f4f3c7086ed in QTimerInfoList::updateCurrentTime (this=0x189da10) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f4f3c708a33 in QTimerInfoList::timerWait (this=0x189da10, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00007f4f3c70744c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f4f14958b3c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f4f3c7074f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f4f33a9fff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f4f33aa0dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f4f33aa1429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f4f3c707f3e in QEventDispatcherGlib::processEvents (this=0x189dbd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00007f4f3c6dbcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f4f3c6dbef7 in QEventLoop::exec (this=0x7f4f14958cd0, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007f4f3c5f327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#14 0x00007f4f3c6becbf in QInotifyFileSystemWatcherEngine::run (this=0x189d120) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007f4f3c5f5d05 in QThreadPrivate::start (arg=0x189d120) at thread/qthread_unix.cpp:331
#16 0x00007f4f30dba56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#17 0x00007f4f345adefc in start_thread (arg=0x7f4f14959700) at pthread_create.c:304
#18 0x00007f4f3f52189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4f1167b700 (LWP 3399)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4f3c5f61ab in wait (time=18446744073709551615, this=0x14697f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x145aa30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4f383f0864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x14bb630, th=0x265b4c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4f383f2e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x14617f0, th=0x265b4c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f4f383f1ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f4f1167ad20, parent=0x14bb630, th=0x265b4c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f4f383f1d5b in ThreadWeaver::Thread::run (this=0x265b4c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4f3c5f5d05 in QThreadPrivate::start (arg=0x265b4c0) at thread/qthread_unix.cpp:331
#8  0x00007f4f30dba56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f4f345adefc in start_thread (arg=0x7f4f1167b700) at pthread_create.c:304
#10 0x00007f4f3f52189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4f0f8bd700 (LWP 3400)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4f3c5f61ab in wait (time=18446744073709551615, this=0x14697f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x145aa30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4f383f0864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x14bb630, th=0x2e59e50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4f383f2e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x14617f0, th=0x2e59e50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f4f383f1ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f4f0f8bcd20, parent=0x14bb630, th=0x2e59e50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f4f383f1d5b in ThreadWeaver::Thread::run (this=0x2e59e50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4f3c5f5d05 in QThreadPrivate::start (arg=0x2e59e50) at thread/qthread_unix.cpp:331
#8  0x00007f4f30dba56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f4f345adefc in start_thread (arg=0x7f4f0f8bd700) at pthread_create.c:304
#10 0x00007f4f3f52189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4f0d493700 (LWP 3401)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4f3c5f61ab in wait (time=18446744073709551615, this=0x14697f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x145aa30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4f383f0864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x14bb630, th=0x1f84750) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4f383f2e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x14617f0, th=0x1f84750) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f4f383f1ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f4f0d492d20, parent=0x14bb630, th=0x1f84750) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f4f383f1d5b in ThreadWeaver::Thread::run (this=0x1f84750) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4f3c5f5d05 in QThreadPrivate::start (arg=0x1f84750) at thread/qthread_unix.cpp:331
#8  0x00007f4f30dba56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f4f345adefc in start_thread (arg=0x7f4f0d493700) at pthread_create.c:304
#10 0x00007f4f3f52189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4f0cc92700 (LWP 3402)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4f3c5f61ab in wait (time=18446744073709551615, this=0x14697f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x145aa30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4f383f0864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x14bb630, th=0x261dbd0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4f383f2e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x14617f0, th=0x261dbd0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f4f383f1ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f4f0cc91d20, parent=0x14bb630, th=0x261dbd0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f4f383f1d5b in ThreadWeaver::Thread::run (this=0x261dbd0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4f3c5f5d05 in QThreadPrivate::start (arg=0x261dbd0) at thread/qthread_unix.cpp:331
#8  0x00007f4f30dba56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f4f345adefc in start_thread (arg=0x7f4f0cc92700) at pthread_create.c:304
#10 0x00007f4f3f52189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4f0c491700 (LWP 3403)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4f3c5f61ab in wait (time=18446744073709551615, this=0x14697f0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x145aa30, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f4f383f0864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x14bb630, th=0x2698660) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f4f383f2e0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x14617f0, th=0x2698660) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f4f383f1ccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f4f0c490d20, parent=0x14bb630, th=0x2698660) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f4f383f1d5b in ThreadWeaver::Thread::run (this=0x2698660) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f4f3c5f5d05 in QThreadPrivate::start (arg=0x2698660) at thread/qthread_unix.cpp:331
#8  0x00007f4f30dba56c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#9  0x00007f4f345adefc in start_thread (arg=0x7f4f0c491700) at pthread_create.c:304
#10 0x00007f4f3f52189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f4f3fc417c0 (LWP 2365)):
[KCrash Handler]
#6  0x0000000000a59bf0 in ?? ()
#7  0x00007f4f2440db96 in TaskGroupItem::~TaskGroupItem (this=0x2a01360, __in_chrg=<optimized out>) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:82
#8  0x00007f4f2440dc49 in TaskGroupItem::~TaskGroupItem (this=0x2a01360, __in_chrg=<optimized out>) at ../../../../../plasma/desktop/applets/tasks/taskgroupitem.cpp:83
#9  0x00007f4f3c6f3a88 in QObject::event (this=0x2a01360, e=<optimized out>) at kernel/qobject.cpp:1200
#10 0x00007f4f3c0ab89b in QGraphicsWidget::event (this=0x2a01360, event=0x1c6d850) at graphicsview/qgraphicswidget.cpp:1455
#11 0x00007f4f3ba8d424 in notify_helper (e=0x1c6d850, receiver=0x2a01360, this=0xa638b0) at kernel/qapplication.cpp:4486
#12 QApplicationPrivate::notify_helper (this=0xa638b0, receiver=0x2a01360, e=0x1c6d850) at kernel/qapplication.cpp:4458
#13 0x00007f4f3ba92291 in QApplication::notify (this=0xa541f0, receiver=0x2a01360, e=0x1c6d850) at kernel/qapplication.cpp:4365
#14 0x00007f4f3d38b126 in KApplication::notify (this=0xa541f0, receiver=0x2a01360, event=0x1c6d850) at ../../kdeui/kernel/kapplication.cpp:311
#15 0x00007f4f3c6dcafc in QCoreApplication::notifyInternal (this=0xa541f0, receiver=0x2a01360, event=0x1c6d850) at kernel/qcoreapplication.cpp:787
#16 0x00007f4f3c6e051f in sendEvent (event=0x1c6d850, receiver=0x2a01360) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=52, data=0x9b0430) at kernel/qcoreapplication.cpp:1428
#18 0x00007f4f3c6e07c4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1071
#19 0x00007f4f3f8201a3 in kdemain (argc=1, argv=0x7fff0eb8cd78) at ../../../../plasma/desktop/shell/main.cpp:120
#20 0x00007f4f3f46130d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff0eb8cd78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff0eb8cd68) at libc-start.c:226
#21 0x0000000000400671 in _start ()

This bug may be a duplicate of or related to bug 275286.

Possible duplicates by query: bug 286892, bug 286817, bug 286812, bug 286733, bug 286718.

Reported using DrKonqi
Comment 1 Christoph Feck 2011-11-20 08:56:42 UTC

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