Bug 281378

Summary: Plasma crashes when second systray is added to second monitor
Product: [Unmaintained] plasma4 Reporter: Martin Klapetek <mklapetek>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: aspotashev
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Klapetek 2011-09-05 11:51:25 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.41 (4.7.41 (KDE 4.8 >= 20110807) (Compiled from sources)
Qt Version: 4.7.1
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I'm using two monitors in Twinview with latest nvidia driver (280.03) and I have two panels - one on each screen. The panel on screen 1 is the default panel (ie. app launcher, taskbar, systray, clock), the second panel on the second screen has only taskbar and clock and when I try to add a systray to that panel, plasma crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma Desktop Shell (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f6269426780 (LWP 16274))]

Thread 2 (Thread 0x7f6243d11700 (LWP 16346)):
#0  0xffffffffff60017b in ?? ()
#1  0x00007f6243d10870 in ?? ()
#2  0x00007fffad7d57b2 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 0x7f6269426780 (LWP 16274)):
[KCrash Handler]
#6  0x00007f6266c4753a in QSizeF::width (this=0x41) at ../../include/QtCore/../../src/corelib/tools/qsize.h:285
#7  0x00007f62672b57f8 in combineSize (result=..., size=...) at graphicsview/qgraphicslayoutitem.cpp:69
#8  0x00007f62672b5dfb in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x3635580, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:145
#9  0x00007f62672b700a in QGraphicsLayoutItem::effectiveSizeHint (this=0x36a1670, which=Qt::PreferredSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:756
#10 0x00007f626730e7a0 in QGridLayoutItem::sizeHint (this=0x3608f40, which=Qt::PreferredSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:555
#11 0x00007f626730e861 in QGridLayoutItem::box (this=0x3608f40, orientation=Qt::Horizontal, constraint=-1) at graphicsview/qgridlayoutengine.cpp:566
#12 0x00007f6267312b6d in QGridLayoutEngine::fillRowData (this=0x36a9030, rowData=0x36a9128, styleInfo=..., orientation=Qt::Horizontal) at graphicsview/qgridlayoutengine.cpp:1378
#13 0x00007f6267313837 in QGridLayoutEngine::ensureColumnAndRowData (this=0x36a9030, styleInfo=...) at graphicsview/qgridlayoutengine.cpp:1523
#14 0x00007f6267311319 in QGridLayoutEngine::sizeHint (this=0x36a9030, styleInfo=..., which=Qt::MaximumSize) at graphicsview/qgridlayoutengine.cpp:1079
#15 0x00007f62672857f2 in QGraphicsGridLayout::sizeHint (this=0x36a77c0, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:645
#16 0x00007f62672b5f4c in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x36a8f60, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:159
#17 0x00007f62672b700a in QGraphicsLayoutItem::effectiveSizeHint (this=0x36a77c0, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:756
#18 0x00007f6267302f83 in QGraphicsWidget::sizeHint (this=0x35575d0, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicswidget.cpp:729
#19 0x00007f62672b6077 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x36a8eb0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:165
#20 0x00007f62672b700a in QGraphicsLayoutItem::effectiveSizeHint (this=0x35575f0, which=Qt::PreferredSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:756
#21 0x00007f624cb98d7f in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#22 0x00007f624cb98304 in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#23 0x00007f624cb9775b in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#24 0x00007f624cb99be7 in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#25 0x00007f6267c6cb3e in QMetaObject::metacall (object=0x35fc7d0, cl=QMetaObject::InvokeMetaMethod, idx=22, argv=0x7fffad7c0020) at kernel/qmetaobject.cpp:237
#26 0x00007f6267c817b8 in QMetaObject::activate (sender=0x2110100, m=0x7f624cdb6000, local_signal_index=0, argv=0x7fffad7c0020) at kernel/qobject.cpp:3280
#27 0x00007f624cb726d3 in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#28 0x00007f624cb722a2 in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#29 0x00007f624cb72662 in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#30 0x00007f6267c6cb3e in QMetaObject::metacall (object=0x2110100, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0x7fffad7c01f0) at kernel/qmetaobject.cpp:237
#31 0x00007f6267c817b8 in QMetaObject::activate (sender=0x210e240, m=0x7f624cdb60c0, local_signal_index=0, argv=0x7fffad7c01f0) at kernel/qobject.cpp:3280
#32 0x00007f624cb7340d in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#33 0x00007f624cb7fade in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#34 0x00007f624cb723c7 in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#35 0x00007f624cb8e007 in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#36 0x00007f624cb8e496 in ?? () from /opt/project-neon/lib/kde4/plasma_applet_systemtray.so
#37 0x00007f6267c6cb3e in QMetaObject::metacall (object=0x31b9350, cl=QMetaObject::InvokeMetaMethod, idx=82, argv=0x3689860) at kernel/qmetaobject.cpp:237
#38 0x00007f6267c7bf8a in QMetaCallEvent::placeMetaCall (this=0x3612c30, object=0x31b9350) at kernel/qobject.cpp:534
#39 0x00007f6267c7d1f7 in QObject::event (this=0x31b9350, e=0x3612c30) at kernel/qobject.cpp:1219
#40 0x00007f6267304551 in QGraphicsWidget::event (this=0x31b9350, event=0x3612c30) at graphicsview/qgraphicswidget.cpp:1407
#41 0x00007f6266b3bd46 in QApplicationPrivate::notify_helper (this=0x1ba4670, receiver=0x31b9350, e=0x3612c30) at kernel/qapplication.cpp:4445
#42 0x00007f6266b39334 in QApplication::notify (this=0x1b1f280, receiver=0x31b9350, e=0x3612c30) at kernel/qapplication.cpp:3845
#43 0x00007f6268d546ac in KApplication::notify(QObject*, QEvent*) () from /opt/project-neon/lib/libkdeui.so.5
#44 0x00007f6267c6499a in QCoreApplication::notifyInternal (this=0x1b1f280, receiver=0x31b9350, event=0x3612c30) at kernel/qcoreapplication.cpp:732
#45 0x00007f6267c686e7 in QCoreApplication::sendEvent (receiver=0x31b9350, event=0x3612c30) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 0x00007f6267c65bb2 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x19f28a0) at kernel/qcoreapplication.cpp:1373
#47 0x00007f6267c657d3 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1266
#48 0x00007f6267c9dd2d in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#49 0x00007f6267c9cd0e in postEventSourceDispatch (s=0x1b9e160) at kernel/qeventdispatcher_glib.cpp:277
#50 0x00007f62626fbbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f62626fc3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f62626fc639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f6267c9d5d7 in QEventDispatcherGlib::processEvents (this=0x1b0c520, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#54 0x00007f6266c140d2 in QGuiEventDispatcherGlib::processEvents (this=0x1b0c520, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007f6267c62532 in QEventLoop::processEvents (this=0x7fffad7c1130, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007f6267c62686 in QEventLoop::exec (this=0x7fffad7c1130, flags=...) at kernel/qeventloop.cpp:201
#57 0x00007f6267c6508c in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#58 0x00007f6266b38ebe in QApplication::exec () at kernel/qapplication.cpp:3719
#59 0x00007f6255a72fcf in kdemain () from /opt/project-neon/lib/libkdeinit4_plasma-desktop.so
#60 0x0000000000406cc4 in _start ()

Reported using DrKonqi
Comment 1 Alexander Potashev 2011-11-04 13:45:09 UTC
Duplicate of bug#280072 ?
Comment 2 Aaron J. Seigo 2011-11-21 10:08:26 UTC

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