Bug 291787

Summary: Plasma crash after quiting applications
Product: [Unmaintained] plasma4 Reporter: pascal.mullon
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: nickwiltsher, thijs22nospam
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description pascal.mullon 2012-01-17 16:11:21 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic-pae i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Quiting gimp.
Plasma also crashes when quiting other applications, but not all of them. I'll complete this bug report with an application list if it seems like it is related to the applications themselves...
This is a recent bug. It appeared after an update a couple of weeks ago.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Outil de gestion de fenĂȘtres Plasma (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1ebd940 (LWP 1761))]

Thread 4 (Thread 0xb04ffb70 (LWP 1765)):
#0  __pthread_mutex_lock (mutex=0x87a14ec) at pthread_mutex_lock.c:61
#1  0xb7676f14 in pthread_mutex_lock (mutex=0x87a14ec) at forward.c:182
#2  0xb2f3b8bb in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2f3c637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2f3cf9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb14bccea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0xb2f635f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0xb3056d31 in start_thread (arg=0xb04ffb70) at pthread_create.c:304
#8  0xb76690ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xa68f6b70 (LWP 1768)):
#0  0xb77ae424 in __kernel_vsyscall ()
#1  0xb765a40e in __GI___poll (fds=0x94d7428, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb2f4b34b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2f3c896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2f3cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb64b4b37 in QEventDispatcherGlib::processEvents (this=0x92fd9b8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb64851dd in QEventLoop::processEvents (this=0xa68f62a0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6485421 in QEventLoop::exec (this=0xa68f62a0, flags=...) at kernel/qeventloop.cpp:201
#8  0xb638890b in QThread::exec (this=0x92fa870) at thread/qthread.cpp:498
#9  0xb6465e2d in QInotifyFileSystemWatcherEngine::run (this=0x92fa870) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb638b7b3 in QThreadPrivate::start (arg=0x92fa870) at thread/qthread_unix.cpp:331
#11 0xb3056d31 in start_thread (arg=0xa68f6b70) at pthread_create.c:304
#12 0xb76690ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xa3cbeb70 (LWP 1795)):
#0  0xb64b4310 in postEventSourcePrepare (s=0xb0506930, timeout=0xa3cbe14c) at kernel/qeventdispatcher_glib.cpp:261
#1  0xb2f3b88c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb2f3c637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2f3cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb64b4b37 in QEventDispatcherGlib::processEvents (this=0x8f72bf8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0xb64851dd in QEventLoop::processEvents (this=0xa3cbe2d0, flags=...) at kernel/qeventloop.cpp:149
#6  0xb6485421 in QEventLoop::exec (this=0xa3cbe2d0, flags=...) at kernel/qeventloop.cpp:201
#7  0xb638890b in QThread::exec (this=0x8f17918) at thread/qthread.cpp:498
#8  0xb73eb54b in Plasma::StorageThread::run (this=0x8f17918) at ../../plasma/private/storagethread.cpp:326
#9  0xb638b7b3 in QThreadPrivate::start (arg=0x8f17918) at thread/qthread_unix.cpp:331
#10 0xb3056d31 in start_thread (arg=0xa3cbeb70) at pthread_create.c:304
#11 0xb76690ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb1ebd940 (LWP 1761)):
[KCrash Handler]
#7  isNull (this=0x19007b) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:568
#8  operator! (this=0x19007b) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:574
#9  TaskManager::TaskItem::task (this=0xaa0d9e8) at ../../../libs/taskmanager/taskitem.cpp:113
#10 0xacd1a662 in WindowTaskItem::publishIconGeometry (this=0x9a9f108) at ../../../../../plasma/desktop/applets/tasks/windowtaskitem.cpp:120
#11 0xacd2b688 in AbstractTaskItem::timerEvent (this=0x9a9f108, event=0xbffd0ccc) at ../../../../../plasma/desktop/applets/tasks/abstracttaskitem.cpp:439
#12 0xb649e994 in QObject::event (this=0x9a9f108, e=0xbffd0ccc) at kernel/qobject.cpp:1181
#13 0xb6070bd4 in QGraphicsWidget::event (this=0x9a9f108, event=0xbffd0ccc) at graphicsview/qgraphicswidget.cpp:1455
#14 0xb59b1d54 in notify_helper (e=0xbffd0ccc, receiver=0x9a9f108, this=0x869eab8) at kernel/qapplication.cpp:4486
#15 QApplicationPrivate::notify_helper (this=0x869eab8, receiver=0x9a9f108, e=0xbffd0ccc) at kernel/qapplication.cpp:4458
#16 0xb59b7103 in QApplication::notify (this=0xbffd0ccc, receiver=0x9a9f108, e=0xbffd0ccc) at kernel/qapplication.cpp:3886
#17 0xb6aeb681 in KApplication::notify (this=0x868fb18, receiver=0x9a9f108, event=0xbffd0ccc) at ../../kdeui/kernel/kapplication.cpp:311
#18 0xb648619e in QCoreApplication::notifyInternal (this=0x868fb18, receiver=0x9a9f108, event=0xbffd0ccc) at kernel/qcoreapplication.cpp:787
#19 0xb64b6c10 in sendEvent (event=0xbffd0ccc, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0x869ac94) at kernel/qeventdispatcher_unix.cpp:603
#21 0xb64b4155 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 idleTimerSourceDispatch (source=0x869a448) at kernel/qeventdispatcher_glib.cpp:231
#23 0xb2f3c25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb2f3c990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb2f3cc2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb64b4ada in QEventDispatcherGlib::processEvents (this=0x863b218, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#27 0xb5a69e3a in QGuiEventDispatcherGlib::processEvents (this=0x863b218, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb64851dd in QEventLoop::processEvents (this=0xbffd0f44, flags=...) at kernel/qeventloop.cpp:149
#29 0xb6485421 in QEventLoop::exec (this=0xbffd0f44, flags=...) at kernel/qeventloop.cpp:201
#30 0xb648a19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#31 0xb59af8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#32 0xb776318b in kdemain (argc=1, argv=0xbffd1144) at ../../../../plasma/desktop/shell/main.cpp:120
#33 0x0804850b in main (argc=1, argv=0xbffd1144) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 291785, bug 291780, bug 291755, bug 291689, bug 291680.

Reported using DrKonqi
Comment 1 nickwiltsher 2012-01-17 16:59:56 UTC
Created attachment 67934 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

Similar to original report. This instance is a crash when quitting Thunderbird, but Plasma seems to crash about once or twice a session when I quit applications of various sorts. I can't see any pattern to the type of application involved.

-- Backtrace (Reduced):
#6  isNull (this=0x0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:568
#7  operator! (this=0x0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:574
#8  TaskManager::TaskItem::task (this=0x19ac310) at ../../../libs/taskmanager/taskitem.cpp:113
#9  0x00007fe5855c6112 in WindowTaskItem::publishIconGeometry (this=0x304c9a0) at ../../../../../plasma/desktop/applets/tasks/windowtaskitem.cpp:120
#10 0x00007fe5855d4b7c in AbstractTaskItem::timerEvent (this=0x304c9a0, event=<optimized out>) at ../../../../../plasma/desktop/applets/tasks/abstracttaskitem.cpp:439
Comment 2 Thijs 2012-01-17 17:31:42 UTC

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