Bug 284115

Summary: Crash on adding System Tray widget to second panel
Product: [Unmaintained] plasma4 Reporter: Joe Mason <joe>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Joe Mason 2011-10-15 17:12:20 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
Added a second panel to the top of the screen.  Added several widgets (Mac menu bar, quick launcher). Removed System Tray from the bottom panel, and tried to add it to the top panel. Plasma shell crashed. When it restarted itself I was able to add the System Tray ok.

- Unusual behavior I noticed:
Just upgraded to Ubuntu Ocelot.  On first boot I saw some visual glitches (black pixels on panel, window titlebars flicker solid black when mousing over), and when I first tried to add a second panel the shell crashed (https://bugs.kde.org/show_bug.cgi?id=284112).  After logging out and back in the glitches were gone, and I was able to add the second panel.

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

Thread 4 (Thread 0xb4e76b70 (LWP 5952)):
#0  0x050907aa in qt_gettime () at tools/qelapsedtimer_unix.cpp:138
#1  0x051634b6 in QTimerInfoList::updateCurrentTime (this=0x8fdb2c4) at kernel/qeventdispatcher_unix.cpp:339
#2  0x0516380a in QTimerInfoList::timerWait (this=0x8fdb2c4, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#3  0x05162053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb4e7606c) at kernel/qeventdispatcher_glib.cpp:136
#4  0x051620ed in timerSourcePrepare (source=0x8fdb290, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x0864288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x08643637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x08643c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x05162b37 in QEventDispatcherGlib::processEvents (this=0x8fdb6c0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#9  0x051331dd in QEventLoop::processEvents (this=0xb4e761f0, flags=...) at kernel/qeventloop.cpp:149
#10 0x05133421 in QEventLoop::exec (this=0xb4e761f0, flags=...) at kernel/qeventloop.cpp:201
#11 0x0503690b in QThread::exec (this=0x8fd9b78) at thread/qthread.cpp:498
#12 0x05113e2d in QInotifyFileSystemWatcherEngine::run (this=0x8fd9b78) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x050397b3 in QThreadPrivate::start (arg=0x8fd9b78) at thread/qthread_unix.cpp:331
#14 0x0363f9cd in ?? () from /usr/lib/nvidia-current/libGL.so.1
#15 0x007490ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xae2ddb70 (LWP 5953)):
#0  0x04b7ad10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x050907d5 in do_gettime (frac=0xae2dcf60, sec=0xae2dcf58) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x051634b6 in QTimerInfoList::updateCurrentTime (this=0x9160e4c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0516380a in QTimerInfoList::timerWait (this=0x9160e4c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x05162053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xae2dd06c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x051620ed in timerSourcePrepare (source=0x9160e18, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0864288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x08643637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x08643c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x05162b37 in QEventDispatcherGlib::processEvents (this=0x8b9bcd8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x051331dd in QEventLoop::processEvents (this=0xae2dd1f0, flags=...) at kernel/qeventloop.cpp:149
#12 0x05133421 in QEventLoop::exec (this=0xae2dd1f0, flags=...) at kernel/qeventloop.cpp:201
#13 0x0503690b in QThread::exec (this=0x9118260) at thread/qthread.cpp:498
#14 0x05113e2d in QInotifyFileSystemWatcherEngine::run (this=0x9118260) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x050397b3 in QThreadPrivate::start (arg=0x9118260) at thread/qthread_unix.cpp:331
#16 0x0363f9cd in ?? () from /usr/lib/nvidia-current/libGL.so.1
#17 0x007490ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xac2d9b70 (LWP 5961)):
#0  0x00756ee0 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#1  0x08643723 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x08643f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x05f8acea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0x0866a5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0363f9cd in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x007490ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb5fac720 (LWP 5951)):
[KCrash Handler]
#7  0x07002157 in QGraphicsLayoutItem::graphicsItem (this=0x8aa70c8) at graphicsview/qgraphicslayoutitem.cpp:920
#8  0x07002225 in QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0xa3bcf50) at graphicsview/qgraphicslayoutitem.cpp:286
#9  0x0704e458 in QGridLayoutItem::hasDynamicConstraint (this=0xa3bd658) at graphicsview/qgridlayoutengine.cpp:576
#10 0x0704f44e in ensureDynamicConstraint (this=0x9716d10) at graphicsview/qgridlayoutengine.cpp:1657
#11 QGridLayoutEngine::ensureDynamicConstraint (this=0x9716d10) at graphicsview/qgridlayoutengine.cpp:1652
#12 0x0704f4f0 in QGridLayoutEngine::hasDynamicConstraint (this=0x9716d10) at graphicsview/qgridlayoutengine.cpp:1677
#13 0x07053942 in QGridLayoutEngine::sizeHint (this=0x9716d10, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#14 0x06fd442f in QGraphicsGridLayout::sizeHint (this=0x9cf7c18, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#15 0x07001365 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x9716c20, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#16 0x07001d54 in effectiveSizeHint (constraint=..., which=Qt::MinimumSize, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#17 QGraphicsLayoutItem::effectiveSizeHint (this=0x9cf7c18, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:810
#18 0x0704439c in QGraphicsWidget::sizeHint (this=0x98831c8, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicswidget.cpp:743
#19 0x07001417 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x9716b28, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#20 0x07001d54 in effectiveSizeHint (constraint=..., which=Qt::PreferredSize, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#21 QGraphicsLayoutItem::effectiveSizeHint (this=0x98831d8, which=Qt::PreferredSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:810
#22 0x04a0a331 in SystemTray::TaskArea::adjustHiddentTasksWidget (this=0x972c078) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:452
#23 0x04a0c339 in SystemTray::TaskArea::addWidgetForTask (this=0x972c078, task=0x9f08060) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:320
#24 0x04a0c6df in SystemTray::TaskArea::addTask (this=0x972c078, task=0x9f08060) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:196
#25 0x04a0cd8d in SystemTray::TaskArea::qt_metacall (this=0x972c078, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfab86e8) at ./taskarea.moc:89
#26 0x0513ab7d in metacall (argv=0xbfab86e8, idx=23, cl=QMetaObject::InvokeMetaMethod, object=0x972c078) at kernel/qmetaobject.cpp:237
#27 QMetaObject::metacall (object=0x972c078, cl=QMetaObject::InvokeMetaMethod, idx=23, argv=0xbfab86e8) at kernel/qmetaobject.cpp:232
#28 0x05149a6a in QMetaObject::activate (sender=0x9fd1f58, m=0x4a19038, local_signal_index=0, argv=0xbfab86e8) at kernel/qobject.cpp:3278
#29 0x049ebe85 in SystemTray::Manager::taskAdded (this=0x9fd1f58, _t1=0x9f08060) at ./manager.moc:99
#30 0x049ec128 in SystemTray::Manager::addTask (this=0x9fd1f58, task=0x9f08060) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:87
#31 0x049ec2cd in SystemTray::Manager::qt_metacall (this=0x9fd1f58, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfab8868) at ./manager.moc:86
#32 0x0513ab7d in metacall (argv=0xbfab8868, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x9fd1f58) at kernel/qmetaobject.cpp:237
#33 QMetaObject::metacall (object=0x9fd1f58, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfab8868) at kernel/qmetaobject.cpp:232
#34 0x05149a6a in QMetaObject::activate (sender=0x934d5a0, m=0x4a1909c, local_signal_index=0, argv=0xbfab8868) at kernel/qobject.cpp:3278
#35 0x049ec875 in SystemTray::Protocol::taskCreated (this=0x934d5a0, _t1=0x9f08060) at ./protocol.moc:91
#36 0x049f4816 in SystemTray::PlasmoidProtocol::addApplet (this=0x934d5a0, appletName=..., id=0, parent=0x9bbf150) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:112
#37 0x049ebc29 in SystemTray::Manager::addApplet (this=0x9fd1f58, appletName=..., parent=0x9bbf150) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:110
#38 0x04a004fb in SystemTray::Applet::checkDefaultApplets (this=0x9bbf150) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:737
#39 0x04a016ac in SystemTray::Applet::qt_metacall (this=0x9bbf150, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xa86dae0) at ./applet.moc:91
#40 0x0513ab7d in metacall (argv=0xa86dae0, idx=83, cl=QMetaObject::InvokeMetaMethod, object=0x9bbf150) at kernel/qmetaobject.cpp:237
#41 QMetaObject::metacall (object=0x9bbf150, cl=QMetaObject::InvokeMetaMethod, idx=83, argv=0xa86dae0) at kernel/qmetaobject.cpp:232
#42 0x05145685 in QMetaCallEvent::placeMetaCall (this=0x9413498, object=0x9bbf150) at kernel/qobject.cpp:535
#43 0x0514cb52 in QObject::event (this=0x9bbf150, e=0x9413498) at kernel/qobject.cpp:1217
#44 0x07044bd4 in QGraphicsWidget::event (this=0x9bbf150, event=0x9413498) at graphicsview/qgraphicswidget.cpp:1455
#45 0x06985d54 in notify_helper (e=0x9413498, receiver=0x9bbf150, this=0x89a0e30) at kernel/qapplication.cpp:4486
#46 QApplicationPrivate::notify_helper (this=0x89a0e30, receiver=0x9bbf150, e=0x9413498) at kernel/qapplication.cpp:4458
#47 0x0698b103 in QApplication::notify (this=0x9413498, receiver=0x9bbf150, e=0x9413498) at kernel/qapplication.cpp:3886
#48 0x01095721 in KApplication::notify (this=0x89959c0, receiver=0x9bbf150, event=0x9413498) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x0513419e in QCoreApplication::notifyInternal (this=0x89959c0, receiver=0x9bbf150, event=0x9413498) at kernel/qcoreapplication.cpp:787
#50 0x05137f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#51 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x89092e0) at kernel/qcoreapplication.cpp:1428
#52 0x051380ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#53 0x051626a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=0x899c9a8) at kernel/qeventdispatcher_glib.cpp:277
#55 0x0864325f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0x08643990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0x08643c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#58 0x05162ada in QEventDispatcherGlib::processEvents (this=0x890a248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#59 0x06a3de3a in QGuiEventDispatcherGlib::processEvents (this=0x890a248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x051331dd in QEventLoop::processEvents (this=0xbfab9114, flags=...) at kernel/qeventloop.cpp:149
#61 0x05133421 in QEventLoop::exec (this=0xbfab9114, flags=...) at kernel/qeventloop.cpp:201
#62 0x0513819d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#63 0x069838f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#64 0x00e6518b in kdemain (argc=1, argv=0xbfab9314) at ../../../../plasma/desktop/shell/main.cpp:120
#65 0x0804850b in main (argc=1, argv=0xbfab9314) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 284112, bug 284086, bug 283798, bug 282922, bug 282680.

Reported using DrKonqi
Comment 1 Nicolas L. 2011-10-16 21:02:02 UTC

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