Bug 327130

Summary: crash after clicking on "add widget" after clicking on "activity manager" in the taskbar-widget
Product: [Unmaintained] plasma4 Reporter: Dennis Knorr <dennis.knorr>
Component: desktopAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aym159, cfeck, dawiha, timruss.mtk
Priority: NOR    
Version: 4.11.2   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: crash handler text without debugsymbols
crash handler text with debugsymbols
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Dennis Knorr 2013-11-04 14:07:15 UTC
Hello,
i am not sure, whether https://bugs.kde.org/show_bug.cgi?id=282552 is the same bug, but i read the comments and it does not sound like that.
When i click on Activity Manager in the TaskbarWidget and then click on "add widgets" (right side) then the plasma desktop shell crashes and is restarted. And the crash handler is executed. Sometimes it takes a second, but most of the time it works instantly.
I can reproduce this on a fresh installed Kubuntu Saucy System.
I work for the City of Munich (LiMux Distribution) and this is a serious bug because Users could be worried of destroying their systems. 

Reproducible: Always

Steps to Reproduce:
1. click on Activity Manager in the taskbar-widget/panel
2. click on "add widgets"
Actual Results:  
plasma desktop shell restarts with crash handler (quite nicely)

Expected Results:  
nothing should crash, i should can add widgets.
Comment 1 Christoph Feck 2013-11-04 15:44:53 UTC
If you get the crash dialog, please add the backtrace. For more information, please see http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Comment 2 Dennis Knorr 2013-11-05 10:29:59 UTC
Created attachment 83349 [details]
crash handler text without debugsymbols

Crash of Activities/Widgets
Comment 3 Dennis Knorr 2013-11-05 10:30:32 UTC
Created attachment 83350 [details]
crash handler text with debugsymbols

crash text with debug symbols
Comment 4 Dennis Knorr 2013-11-05 10:31:54 UTC
Well, i added the backtrace, is this good now or do you need anything other? I don't know how to link gdb with the activities/widget-programs
Comment 5 Christoph Feck 2013-11-05 11:00:19 UTC
This is bug 302931, which only happens on (K)Ubuntu because of distro-specific Qt patches. Maybe you can find a PPA offering unpatched Qt 4.8.5; I suggest to ask in a Kubuntu forum.

The link to the Launchpad bug report is https://bugs.launchpad.net/ubuntu/+source/qt4-x11/+bug/1200523


Pasting attachment from comment #3 inline:

Thread 1 (Thread 0xb12a2740 (LWP 3090)):
[KCrash Handler]
#7  0xb6bc238e in QDeclarativeItem::~QDeclarativeItem (this=0xa830068, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0xac84b33a in Plasma::FrameSvgItem::~FrameSvgItem (this=0xa830068, __in_chrg=<optimized out>) at ../../../../plasma/declarativeimports/core/framesvgitem.cpp:73
#9  0xac837b2a in ~QDeclarativeElement (this=0xa830068, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#10 QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0xa830068, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#11 0xb604a423 in qDeleteInEventHandler (o=o@entry=0xa830068) at kernel/qobject.cpp:4269
#12 0xb60505b0 in QObject::event (this=0xa830068, e=0xa74c9a8) at kernel/qobject.cpp:1175
#13 0xb6bbd384 in QDeclarativeItem::event (this=<optimized out>, ev=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:3748
#14 0xb5547744 in QApplicationPrivate::notify_helper (this=0x8fa0248, receiver=0xa830068, e=0xa74c9a8) at kernel/qapplication.cpp:4567
#15 0xb554e223 in QApplication::notify (this=0x8f8d8b8, receiver=receiver@entry=0xa830068, e=e@entry=0xa74c9a8) at kernel/qapplication.cpp:4353
#16 0xb66aaff4 in KApplication::notify (this=0x8f8d8b8, receiver=0xa830068, event=0xa74c9a8) at ../../kdeui/kernel/kapplication.cpp:311
#17 0xb6036eda in QCoreApplication::notifyInternal (this=0x8f8d8b8, receiver=receiver@entry=0xa830068, event=event@entry=0xa74c9a8) at kernel/qcoreapplication.cpp:946
#18 0xb603a6ad in sendEvent (event=0xa74c9a8, receiver=0xa830068) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x8f3e130) at kernel/qcoreapplication.cpp:1570
#20 0xb603abbc in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#21 0xb6066f6e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#22 postEventSourceDispatch (s=0x8f9e488) at kernel/qeventdispatcher_glib.cpp:279
#23 0xb1ff482e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb1ff4bd8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0xb1ff4c98 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0xb60668bf in QEventDispatcherGlib::processEvents (this=this@entry=0x8f3eea8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#27 0xb55fc32e in QGuiEventDispatcherGlib::processEvents (this=0x8f3eea8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#28 0xb60359f3 in QEventLoop::processEvents (this=this@entry=0xbffe2d38, flags=...) at kernel/qeventloop.cpp:149
#29 0xb6035d19 in QEventLoop::exec (this=this@entry=0xbffe2d38, flags=...) at kernel/qeventloop.cpp:204
#30 0xb603b89e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#31 0xb5545974 in QApplication::exec () at kernel/qapplication.cpp:3828
#32 0xb7706927 in kdemain (argc=1, argv=0xbffe2ed4) at ../../../../plasma/desktop/shell/main.cpp:126
#33 0x0804855b in main (argc=1, argv=0xbffe2ed4) at plasma-desktop_dummy.cpp:3

*** This bug has been marked as a duplicate of bug 302931 ***
Comment 6 timruss.mtk 2013-11-05 16:11:36 UTC
Created attachment 83355 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Clicked on "add widget" in the activity manager, but KDE crashed.

-- Backtrace (Reduced):
#6  0x00007f60960ee944 in QDeclarativeItem::~QDeclarativeItem (this=0x60a7db0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#7  0x00007f5ff7f9ab11 in ~QDeclarativeElement (this=0x60a7db0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#8  QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0x60a7db0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#9  0x00007f609450f5e8 in QObject::event (this=0x60a7db0, e=<optimized out>) at kernel/qobject.cpp:1175
#10 0x00007f609389b8ec in QApplicationPrivate::notify_helper (this=this@entry=0x2621570, receiver=receiver@entry=0x60a7db0, e=e@entry=0x5d1e9e0) at kernel/qapplication.cpp:4567
Comment 7 Daniel Harris 2013-11-15 23:40:14 UTC
Created attachment 83592 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Right click on the desktop and select activities. When the menu is open select add widgets on the top right corner. This will crash plasma and bring up the Crash Report Assistant. This is a fresh install.

-- Backtrace (Reduced):
#7  0x00007fe55142b947 in QDeclarativeItem::~QDeclarativeItem (this=0x3bbdaa0, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0x00007fe531adab11 in ~QDeclarativeElement (this=0x3bbdaa0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#9  QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0x3bbdaa0, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#10 0x00007fe54f84c5e8 in QObject::event (this=0x3bbdaa0, e=<optimized out>) at kernel/qobject.cpp:1175
#11 0x00007fe54ebd88ec in QApplicationPrivate::notify_helper (this=this@entry=0x15b8370, receiver=receiver@entry=0x3bbdaa0, e=e@entry=0x372bd70) at kernel/qapplication.cpp:4567
Comment 8 aym159 2014-03-07 16:26:26 UTC
Created attachment 85468 [details]
New crash information added by DrKonqi

plasma-desktop (4.11.5) on KDE Platform 4.11.5 using Qt 4.8.4

- What I was doing when the application crashed:

I clicked on the activity manager and then on add widgets. It crashed. When i tried to reproduce the bug, it didn't crash.

-- Backtrace (Reduced):
#7  0xb6c4e38e in QDeclarativeItem::~QDeclarativeItem (this=0xb11f428, __in_chrg=<optimized out>) at graphicsitems/qdeclarativeitem.cpp:1668
#8  0xa892933a in Plasma::FrameSvgItem::~FrameSvgItem (this=0xb11f428, __in_chrg=<optimized out>) at ../../../../plasma/declarativeimports/core/framesvgitem.cpp:73
#9  0xa8915b2a in ~QDeclarativeElement (this=0xb11f428, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#10 QDeclarativePrivate::QDeclarativeElement<Plasma::FrameSvgItem>::~QDeclarativeElement (this=0xb11f428, __in_chrg=<optimized out>) at /usr/include/qt4/QtDeclarative/qdeclarativeprivate.h:87
#11 0xb60d6423 in qDeleteInEventHandler (o=o@entry=0xb11f428) at kernel/qobject.cpp:4269