Bug 319793

Summary: Plasma Desktop crashes when switching activities.
Product: [Unmaintained] plasma4 Reporter: Tianyu Zhu <tian.tian098>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: flareload
Priority: NOR    
Version: 4.10.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Tianyu Zhu 2013-05-13 17:09:32 UTC
Application: plasma-desktop (4.10.3)
KDE Platform Version: 4.10.3
Qt Version: 4.8.4
Operating System: Linux 3.8.0-20-generic i686
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
I switched from one activity to another using the activities viewer (Alt+D, Alt+A on the desktop).

I use two activties: "Default" and "Working". Through the Window Rules, I have forced Ktorrent to always be on the "Working" activity.

With Ktorrent running, I clicked on the Ktorrent icon in the system tray. This switched me from the "Default" activity to the "Working" activity. After checking on my torrents, I switched back to the "Default" activity from the activities viewer (Accessed using Alt+D, Alt+A on an empty desktop). This is when plasma-desktop crashed.

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

Thread 5 (Thread 0xac795b40 (LWP 2099)):
#0  0xb778e424 in __kernel_vsyscall ()
#1  0xb200084b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb7638d7c in __pthread_cond_wait (cond=0xb310e670, mutex=0xb310e658) at forward.c:149
#3  0xb2ffc0ed in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb2ffc11f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb1ffcd78 in start_thread (arg=0xac795b40) at pthread_create.c:311
#6  0xb762b3de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 4 (Thread 0xa48c9b40 (LWP 2107)):
#0  0xb1f30a4a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb1f30d28 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb1eec711 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb1eed578 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb1eed831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6028c3f in QEventDispatcherGlib::processEvents (this=0xa3f00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb5ff53ec in QEventLoop::processEvents (this=this@entry=0xa48c9228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5ff56e1 in QEventLoop::exec (this=this@entry=0xa48c9228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5ee0fec in QThread::exec (this=this@entry=0x91afa38) at thread/qthread.cpp:542
#9  0xb5fd4f2d in QInotifyFileSystemWatcherEngine::run (this=0x91afa38) at io/qfilesystemwatcher_inotify.cpp:256
#10 0xb5ee3b18 in QThreadPrivate::start (arg=0x91afa38) at thread/qthread_unix.cpp:338
#11 0xb1ffcd78 in start_thread (arg=0xa48c9b40) at pthread_create.c:311
#12 0xb762b3de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 3 (Thread 0xa3ca5b40 (LWP 2111)):
#0  0xb1f30a4a in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb1f30d28 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb1eecd2b in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb1eed5cf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb1eed831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6028c3f in QEventDispatcherGlib::processEvents (this=0xa3300468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb5ff53ec in QEventLoop::processEvents (this=this@entry=0xa3ca5228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb5ff56e1 in QEventLoop::exec (this=this@entry=0xa3ca5228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb5ee0fec in QThread::exec (this=this@entry=0x9230c08) at thread/qthread.cpp:542
#9  0xb5fd4f2d in QInotifyFileSystemWatcherEngine::run (this=0x9230c08) at io/qfilesystemwatcher_inotify.cpp:256
#10 0xb5ee3b18 in QThreadPrivate::start (arg=0x9230c08) at thread/qthread_unix.cpp:338
#11 0xb1ffcd78 in start_thread (arg=0xa3ca5b40) at pthread_create.c:311
#12 0xb762b3de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 2 (Thread 0xa1bcab40 (LWP 2117)):
#0  0xb778e424 in __kernel_vsyscall ()
#1  0xb763e8e2 in clock_gettime (clock_id=1, tp=0xa1bc9f98) at ../sysdeps/unix/clock_gettime.c:115
#2  0xb5f420d5 in do_gettime (frac=0xa1bc9f90, sec=0xa1bc9f88) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0xb602980e in QTimerInfoList::updateCurrentTime (this=this@entry=0xa1202074) at kernel/qeventdispatcher_unix.cpp:354
#5  0xb6029b9a in QTimerInfoList::timerWait (this=0xa1202074, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0xb6028373 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa1bca09c) at kernel/qeventdispatcher_glib.cpp:136
#7  0xb1eecd21 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb1eed5cf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb1eed831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb6028c3f in QEventDispatcherGlib::processEvents (this=0xa1200468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb5ff53ec in QEventLoop::processEvents (this=this@entry=0xa1bca238, flags=...) at kernel/qeventloop.cpp:149
#12 0xb5ff56e1 in QEventLoop::exec (this=this@entry=0xa1bca238, flags=...) at kernel/qeventloop.cpp:204
#13 0xb5ee0fec in QThread::exec (this=0x9943da8) at thread/qthread.cpp:542
#14 0xa1f17402 in KCupsConnection::run() () from /usr/lib/libkcupslib.so
#15 0xb5ee3b18 in QThreadPrivate::start (arg=0x9943da8) at thread/qthread_unix.cpp:338
#16 0xb1ffcd78 in start_thread (arg=0xa1bcab40) at pthread_create.c:311
#17 0xb762b3de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb1145740 (LWP 2095)):
[KCrash Handler]
#7  0xb6bc61be in QDeclarativeItem::~QDeclarativeItem (this=0x11186508, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0xab9e9800 in Plasma::FrameSvgItem::~FrameSvgItem (this=0x11186508, __in_chrg=<optimized out>) at ../../../../plasma/declarativeimports/core/framesvgitem.cpp:73
#9  0xab9d6f60 in ~QDeclarativeElement (this=0x11186508, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#10 QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0x11186508, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#11 0xb600a873 in qDeleteInEventHandler (o=o@entry=0x11186508) at kernel/qobject.cpp:4269
#12 0xb60124b0 in QObject::event (this=this@entry=0x11186508, e=e@entry=0x11fb5a60) at kernel/qobject.cpp:1175
#13 0xb6bc9494 in QDeclarativeItem::event (this=0x11186508, ev=0x11fb5a60) at graphicsitems/qdeclarativeitem.cpp:3748
#14 0xb54e4c7c in QApplicationPrivate::notify_helper (this=0x8397c68, receiver=0x11186508, e=0x11fb5a60) at kernel/qapplication.cpp:4567
#15 0xb54e7b94 in QApplication::notify (this=0x11fb5a60, receiver=0x11186508, e=0x11fb5a60) at kernel/qapplication.cpp:3949
#16 0xb668fd01 in KApplication::notify (this=0x8378fd0, receiver=0x11186508, event=0x11fb5a60) at ../../kdeui/kernel/kapplication.cpp:311
#17 0xb5ff690e in QCoreApplication::notifyInternal (this=0x8378fd0, receiver=0x11186508, event=0x11fb5a60) at kernel/qcoreapplication.cpp:946
#18 0xb5ffa721 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8332130) at kernel/qcoreapplication.cpp:1570
#20 0xb5ffaa8c in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#21 0xb6028aa4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#22 postEventSourceDispatch (s=0x839e440) at kernel/qeventdispatcher_glib.cpp:279
#23 0xb1eed3b3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb1eed750 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb1eed831 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb6028c21 in QEventDispatcherGlib::processEvents (this=this@entry=0x8332ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0xb559ba5a in QGuiEventDispatcherGlib::processEvents (this=0x8332ea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb5ff53ec in QEventLoop::processEvents (this=this@entry=0xbfd5bfe8, flags=...) at kernel/qeventloop.cpp:149
#29 0xb5ff56e1 in QEventLoop::exec (this=this@entry=0xbfd5bfe8, flags=...) at kernel/qeventloop.cpp:204
#30 0xb5ffb3fa in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#31 0xb54e2fc4 in QApplication::exec () at kernel/qapplication.cpp:3828
#32 0xb7747e32 in kdemain (argc=1, argv=0xbfd5c1a4) at ../../../../plasma/desktop/shell/main.cpp:126
#33 0x0804855b in main (argc=1, argv=0xbfd5c1a4) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 319004, bug 318600, bug 318554, bug 317771, bug 317718.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-05-14 17:28:27 UTC

*** This bug has been marked as a duplicate of bug 302931 ***
Comment 2 Marcus Menzel 2013-07-16 20:30:29 UTC
Created attachment 81146 [details]
New crash information added by DrKonqi

plasma-desktop (4.10.5) on KDE Platform 4.10.5 using Qt 4.8.2

- What I was doing when the application crashed:

I switched from one activity to another using the activities viewer in the taskbar

I use two activties: "Default" and "Working".  I have chromium and firefox on all activities (checked manually)

-- Backtrace (Reduced):
#6  0x00007fe49517f9ee in QDeclarativeItem::~QDeclarativeItem (this=0x7c5a3d0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007fe46c1f4961 in ~QDeclarativeElement (this=0x7c5a3d0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0x7c5a3d0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#9  0x00007fe493561978 in QObject::event (this=0x7c5a3d0, e=<optimized out>) at kernel/qobject.cpp:1176
#10 0x00007fe4928c97b4 in notify_helper (e=0x2d4e310, receiver=0x7c5a3d0, this=0x13f82f0) at kernel/qapplication.cpp:4556