Bug 305510

Summary: Plasma Crashed When adding widgets
Product: [Unmaintained] plasma4 Reporter: Ryan Southard <eodchop>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: eodchop, Lacerda.jpf, tompat.cassidy
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
New crash information added by DrKonqi

Description Ryan Southard 2012-08-20 20:16:23 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.9.00
Qt Version: 4.8.1
Operating System: Linux 3.2.0-29-generic-pae i686
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
when attempting to add a new widget to the plasma desktop, the entire desktop crashes

The crash can be reproduced every time.

-- 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 0xb1a62740 (LWP 24960))]

Thread 8 (Thread 0xaf2c5b40 (LWP 24967)):
#0  0xb771f424 in __kernel_vsyscall ()
#1  0xb286596b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75e13dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb38a5029 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0xb38a506f in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0xb2861d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb75d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xae47db40 (LWP 24968)):
#0  0xb2a31dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5f8e315 in do_gettime (frac=0xae47cfb0, sec=0xae47cfa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6078226 in QTimerInfoList::updateCurrentTime (this=0xadb02074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb607857a in QTimerInfoList::timerWait (this=0xadb02074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb6076e23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xae47d0bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6076ebd in timerSourcePrepare (source=0xadb02040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb2759872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb2759faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb275a201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb60778e7 in QEventDispatcherGlib::processEvents (this=0xadb00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb604350d in QEventLoop::processEvents (this=0xae47d240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb60437a9 in QEventLoop::exec (this=0xae47d240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb5f2c94c in QThread::exec (this=0x98d7168) at thread/qthread.cpp:501
#14 0xb6020b5d in QInotifyFileSystemWatcherEngine::run (this=0x98d7168) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5f2fde0 in QThreadPrivate::start (arg=0x98d7168) at thread/qthread_unix.cpp:298
#16 0xb2861d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb75d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xa8985b40 (LWP 24969)):
#0  0xb2a31dcd in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0xb5f8e315 in do_gettime (frac=0xa8984fb0, sec=0xa8984fa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6078226 in QTimerInfoList::updateCurrentTime (this=0xa8002074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb607857a in QTimerInfoList::timerWait (this=0xa8002074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb6076e23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xa89850bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6076ebd in timerSourcePrepare (source=0xa8002040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb2759872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb2759faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb275a201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb60778e7 in QEventDispatcherGlib::processEvents (this=0xa8000468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb604350d in QEventLoop::processEvents (this=0xa8985240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb60437a9 in QEventLoop::exec (this=0xa8985240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb5f2c94c in QThread::exec (this=0x9a90ff0) at thread/qthread.cpp:501
#14 0xb6020b5d in QInotifyFileSystemWatcherEngine::run (this=0x9a90ff0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb5f2fde0 in QThreadPrivate::start (arg=0x9a90ff0) at thread/qthread_unix.cpp:298
#16 0xb2861d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb75d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xa502db40 (LWP 25167)):
#0  0xb771f424 in __kernel_vsyscall ()
#1  0xb286596b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75e13dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5f30350 in wait (time=4294967295, this=0x9ad0a40) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9ac8248, mutex=0x9aaa8d0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb3529acc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9ac8230, th=0xa9dc348) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb352c95b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9aaa4c0, th=0xa9dc348) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb352963a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9ac8230, th=0xa9dc348) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb352ca5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9aaa4c0, th=0xa9dc348) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb3529533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9ac8230, th=0xa9dc348, previous=0xa9073f8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb352b4e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa502d2a4, parent=0x9ac8230, th=0xa9dc348) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb352b59a in ThreadWeaver::Thread::run (this=0xa9dc348) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5f2fde0 in QThreadPrivate::start (arg=0xa9dc348) at thread/qthread_unix.cpp:298
#13 0xb2861d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0xb75d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa44e6b40 (LWP 25168)):
#0  0xb771f424 in __kernel_vsyscall ()
#1  0xb286596b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75e13dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5f30350 in wait (time=4294967295, this=0x9ad0a40) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9ac8248, mutex=0x9aaa8d0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb3529acc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9ac8230, th=0xa0cc070) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb352c95b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9aaa4c0, th=0xa0cc070) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb352963a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9ac8230, th=0xa0cc070) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb352ca5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9aaa4c0, th=0xa0cc070) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb3529533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9ac8230, th=0xa0cc070, previous=0xaceb348) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb352b4e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa44e62a4, parent=0x9ac8230, th=0xa0cc070) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb352b59a in ThreadWeaver::Thread::run (this=0xa0cc070) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5f2fde0 in QThreadPrivate::start (arg=0xa0cc070) at thread/qthread_unix.cpp:298
#13 0xb2861d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0xb75d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa3387b40 (LWP 25169)):
#0  0xb771f424 in __kernel_vsyscall ()
#1  0xb286596b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75e13dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5f30350 in wait (time=4294967295, this=0x9ad0a40) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9ac8248, mutex=0x9aaa8d0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb3529acc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9ac8230, th=0xa12ef20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb352c95b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9aaa4c0, th=0xa12ef20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb352963a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9ac8230, th=0xa12ef20) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb352ca5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9aaa4c0, th=0xa12ef20) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb3529533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9ac8230, th=0xa12ef20, previous=0x98be608) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb352b4e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa33872a4, parent=0x9ac8230, th=0xa12ef20) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb352b59a in ThreadWeaver::Thread::run (this=0xa12ef20) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5f2fde0 in QThreadPrivate::start (arg=0xa12ef20) at thread/qthread_unix.cpp:298
#13 0xb2861d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0xb75d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa23a0b40 (LWP 25170)):
#0  0xb771f424 in __kernel_vsyscall ()
#1  0xb286596b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb75e13dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb5f30350 in wait (time=4294967295, this=0x9ad0a40) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9ac8248, mutex=0x9aaa8d0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb3529acc in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9ac8230, th=0xaa0fd70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb352c95b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9aaa4c0, th=0xaa0fd70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb352963a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9ac8230, th=0xaa0fd70) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb352ca5c in ThreadWeaver::WorkingHardState::applyForWork (this=0x9aaa4c0, th=0xaa0fd70) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb3529533 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9ac8230, th=0xaa0fd70, previous=0xa91aed0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb352b4e4 in ThreadWeaver::ThreadRunHelper::run (this=0xa23a02a4, parent=0x9ac8230, th=0xaa0fd70) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb352b59a in ThreadWeaver::Thread::run (this=0xaa0fd70) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb5f2fde0 in QThreadPrivate::start (arg=0xaa0fd70) at thread/qthread_unix.cpp:298
#13 0xb2861d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#14 0xb75d3ace in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1a62740 (LWP 24960)):
[KCrash Handler]
#7  0xb6c22fce in QDeclarativeItem::~QDeclarativeItem (this=0xbbfbfc0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0xa8122f30 in Plasma::FrameSvgItem::~FrameSvgItem (this=0xbbfbfc0, __in_chrg=<optimized out>) at ../../../../plasma/declarativeimports/core/framesvgitem.cpp:67
#9  0xa8113e50 in ~QDeclarativeElement (this=0xbbfbfc0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#10 QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0xbbfbfc0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#11 0xb6058d03 in qDeleteInEventHandler (o=0xbbfbfc0) at kernel/qobject.cpp:4277
#12 0xb605fca8 in QObject::event (this=0xbbfbfc0, e=0xbac7200) at kernel/qobject.cpp:1176
#13 0xb6c1ca52 in QDeclarativeItem::event (this=0xbbfbfc0, ev=0xbac7200) at graphicsitems/qdeclarativeitem.cpp:3743
#14 0xb552eed4 in notify_helper (e=0xbac7200, receiver=0xbbfbfc0, this=0x977e080) at kernel/qapplication.cpp:4559
#15 QApplicationPrivate::notify_helper (this=0x977e080, receiver=0xbbfbfc0, e=0xbac7200) at kernel/qapplication.cpp:4531
#16 0xb553430d in QApplication::notify (this=0xbac7200, receiver=0xbbfbfc0, e=0xbac7200) at kernel/qapplication.cpp:4288
#17 0xb66e2e41 in KApplication::notify (this=0x976f7c8, receiver=0xbbfbfc0, event=0xbac7200) at ../../kdeui/kernel/kapplication.cpp:311
#18 0xb604497e in QCoreApplication::notifyInternal (this=0x976f7c8, receiver=0xbbfbfc0, event=0xbac7200) at kernel/qcoreapplication.cpp:876
#19 0xb6048ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9732130) at kernel/qcoreapplication.cpp:1500
#21 0xb6048e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#22 0xb6077494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#23 postEventSourceDispatch (s=0x977fd38) at kernel/qeventdispatcher_glib.cpp:279
#24 0xb2759d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb275a125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb275a201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0xb6077887 in QEventDispatcherGlib::processEvents (this=0x9732ea0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0xb55e7aaa in QGuiEventDispatcherGlib::processEvents (this=0x9732ea0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0xb604350d in QEventLoop::processEvents (this=0xbfb88824, flags=...) at kernel/qeventloop.cpp:149
#30 0xb60437a9 in QEventLoop::exec (this=0xbfb88824, flags=...) at kernel/qeventloop.cpp:204
#31 0xb6048eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#32 0xb552ca74 in QApplication::exec () at kernel/qapplication.cpp:3820
#33 0xb76dbf1b in kdemain (argc=1, argv=0xbfb88a24) at ../../../../plasma/desktop/shell/main.cpp:120
#34 0x0804850b in main (argc=1, argv=0xbfb88a24) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 304397, bug 303945, bug 303112, bug 302931.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-08-21 03:07:52 UTC

*** This bug has been marked as a duplicate of bug 302931 ***
Comment 2 wigwammer 2013-02-14 17:18:23 UTC
Created attachment 77300 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.9.4 using Qt 4.8.3

- What I was doing when the application crashed:
Click Show activity Manager followed by click on add widgets within activity manager.

- Unusual behavior I noticed:
The notification for a crash does not always show but the desktop will always flash black with two small widgets in the top left that look like they are for updates and dropbox.

-- Backtrace (Reduced):
#8  0xb6c716d1 in QDeclarativeItem::~QDeclarativeItem (this=0xadfdde0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#9  0xa8beed00 in Plasma::FrameSvgItem::~FrameSvgItem (this=0xadfdde0, __in_chrg=<optimized out>) at ../../../../plasma/declarativeimports/core/framesvgitem.cpp:67
#10 0xa8be02b0 in ~QDeclarativeElement (this=0xadfdde0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#11 QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0xadfdde0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#12 0xb60be783 in qDeleteInEventHandler (o=o@entry=0xadfdde0) at kernel/qobject.cpp:4277
Comment 3 J.Lacerda 2013-02-26 22:22:28 UTC
Created attachment 77603 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.10.00 using Qt 4.8.4

- What I was doing when the application crashed:

I was looking at the widgets, and when I click on one of them it crashed.

-- Backtrace (Reduced):
#7  0x00007fe305b0d947 in QDeclarativeItem::~QDeclarativeItem (this=0x56a3ae0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0x00007fe2e3551b11 in ~QDeclarativeElement (this=0x56a3ae0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#9  QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0x56a3ae0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#10 0x00007fe303f2d5d8 in QObject::event (this=0x56a3ae0, e=<optimized out>) at kernel/qobject.cpp:1175
#11 0x00007fe3032b98ec in QApplicationPrivate::notify_helper (this=this@entry=0x186b3b0, receiver=receiver@entry=0x56a3ae0, e=e@entry=0x47f6630) at kernel/qapplication.cpp:4567