Bug 283798

Summary: Plasma crashes when adding new panel to second monitor
Product: [Unmaintained] plasma4 Reporter: Karl Carpenter <kcarpenter528>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: f.nilsen89, joerg
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 Karl Carpenter 2011-10-11 16:17:56 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:
Attempting to add a new panel to my second monitor. 
Resolution is 1280x1024. 
Second monitor is not default and on VGA. 
Primary Monitor is set as default and on DVI. 
Both out puts are part of a HP Business Laptop Docking station. 
All updates and patches available  as of 10.11.2011 have been applied.

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

Thread 5 (Thread 0xb5f16b70 (LWP 1944)):
#0  0x03f73d44 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x001eff54 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x07908785 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07908c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x064aab37 in QEventDispatcherGlib::processEvents (this=0xb6600468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#5  0x0647b1dd in QEventLoop::processEvents (this=0xb5f162a0, flags=...) at kernel/qeventloop.cpp:149
#6  0x0647b421 in QEventLoop::exec (this=0xb5f162a0, flags=...) at kernel/qeventloop.cpp:201
#7  0x0637e90b in QThread::exec (this=0x9abf360) at thread/qthread.cpp:498
#8  0x0645be2d in QInotifyFileSystemWatcherEngine::run (this=0x9abf360) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x063817b3 in QThreadPrivate::start (arg=0x9abf360) at thread/qthread_unix.cpp:331
#10 0x03f70d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#11 0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xaf64bb70 (LWP 1945)):
#0  0x00f37d10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x063d87d5 in do_gettime (frac=0xaf64b010, sec=0xaf64b008) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x064ab4b6 in QTimerInfoList::updateCurrentTime (this=0xb6603134) at kernel/qeventdispatcher_unix.cpp:339
#4  0x064ab80a in QTimerInfoList::timerWait (this=0xb6603134, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x064aa053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xaf64b11c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x064aa0ed in timerSourcePrepare (source=0xb6603100, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x0790788c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x07908637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x07908c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x064aab37 in QEventDispatcherGlib::processEvents (this=0x9472660, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0647b1dd in QEventLoop::processEvents (this=0xaf64b2a0, flags=...) at kernel/qeventloop.cpp:149
#12 0x0647b421 in QEventLoop::exec (this=0xaf64b2a0, flags=...) at kernel/qeventloop.cpp:201
#13 0x0637e90b in QThread::exec (this=0x9472640) at thread/qthread.cpp:498
#14 0x0645be2d in QInotifyFileSystemWatcherEngine::run (this=0x9472640) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x063817b3 in QThreadPrivate::start (arg=0x9472640) at thread/qthread_unix.cpp:331
#16 0x03f70d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xade48b70 (LWP 1951)):
#0  0x00c8b416 in __kernel_vsyscall ()
#1  0x001d340e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x0791734b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x07908896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x07908f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x05623cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x0792f5f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x03f70d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xac618b70 (LWP 5945)):
#0  0x00c8b416 in __kernel_vsyscall ()
#1  0x03f74a5c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x001efcfc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x04eca9a9 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x04eca9ef in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x03f70d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x001e20ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb78b8b20 (LWP 1939)):
[KCrash Handler]
#7  0x03946154 in QGraphicsLayoutItem::graphicsItem (this=0xa) at graphicsview/qgraphicslayoutitem.cpp:920
#8  0x03946225 in QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0xb72be78) at graphicsview/qgraphicslayoutitem.cpp:286
#9  0x03992458 in QGridLayoutItem::hasDynamicConstraint (this=0x9969b60) at graphicsview/qgridlayoutengine.cpp:576
#10 0x0399344e in ensureDynamicConstraint (this=0xb97dc48) at graphicsview/qgridlayoutengine.cpp:1657
#11 QGridLayoutEngine::ensureDynamicConstraint (this=0xb97dc48) at graphicsview/qgridlayoutengine.cpp:1652
#12 0x039934f0 in QGridLayoutEngine::hasDynamicConstraint (this=0xb97dc48) at graphicsview/qgridlayoutengine.cpp:1677
#13 0x03997942 in QGridLayoutEngine::sizeHint (this=0xb97dc48, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#14 0x0391842f in QGraphicsGridLayout::sizeHint (this=0x995adc0, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#15 0x03945365 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0xb97db58, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#16 0x03945d54 in effectiveSizeHint (constraint=..., which=Qt::MinimumSize, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#17 QGraphicsLayoutItem::effectiveSizeHint (this=0x995adc0, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:810
#18 0x0398839c in QGraphicsWidget::sizeHint (this=0xb98a4e8, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicswidget.cpp:743
#19 0x03945417 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0xb97da60, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#20 0x03945d54 in effectiveSizeHint (constraint=..., which=Qt::PreferredSize, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#21 QGraphicsLayoutItem::effectiveSizeHint (this=0xb98a4f8, which=Qt::PreferredSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:810
#22 0x05351331 in SystemTray::TaskArea::adjustHiddentTasksWidget (this=0x9959b68) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:452
#23 0x05353339 in SystemTray::TaskArea::addWidgetForTask (this=0x9959b68, task=0xba50c10) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:320
#24 0x053536df in SystemTray::TaskArea::addTask (this=0x9959b68, task=0xba50c10) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:196
#25 0x05353d8d in SystemTray::TaskArea::qt_metacall (this=0x9959b68, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe88e88) at ./taskarea.moc:89
#26 0x06482b7d in metacall (argv=0xbfe88e88, idx=23, cl=QMetaObject::InvokeMetaMethod, object=0x9959b68) at kernel/qmetaobject.cpp:237
#27 QMetaObject::metacall (object=0x9959b68, cl=QMetaObject::InvokeMetaMethod, idx=23, argv=0xbfe88e88) at kernel/qmetaobject.cpp:232
#28 0x06491a6a in QMetaObject::activate (sender=0x96f1900, m=0x5360038, local_signal_index=0, argv=0xbfe88e88) at kernel/qobject.cpp:3278
#29 0x05332e85 in SystemTray::Manager::taskAdded (this=0x96f1900, _t1=0xba50c10) at ./manager.moc:99
#30 0x05333128 in SystemTray::Manager::addTask (this=0x96f1900, task=0xba50c10) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:87
#31 0x053332cd in SystemTray::Manager::qt_metacall (this=0x96f1900, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe89008) at ./manager.moc:86
#32 0x06482b7d in metacall (argv=0xbfe89008, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x96f1900) at kernel/qmetaobject.cpp:237
#33 QMetaObject::metacall (object=0x96f1900, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfe89008) at kernel/qmetaobject.cpp:232
#34 0x06491a6a in QMetaObject::activate (sender=0x947f458, m=0x536009c, local_signal_index=0, argv=0xbfe89008) at kernel/qobject.cpp:3278
#35 0x05333875 in SystemTray::Protocol::taskCreated (this=0x947f458, _t1=0xba50c10) at ./protocol.moc:91
#36 0x0533b816 in SystemTray::PlasmoidProtocol::addApplet (this=0x947f458, appletName=..., id=0, parent=0xa7179e8) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:112
#37 0x05332c29 in SystemTray::Manager::addApplet (this=0x96f1900, appletName=..., parent=0xa7179e8) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:110
#38 0x05347421 in SystemTray::Applet::checkDefaultApplets (this=0xa7179e8) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:750
#39 0x053486ac in SystemTray::Applet::qt_metacall (this=0xa7179e8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xa609d68) at ./applet.moc:91
#40 0x06482b7d in metacall (argv=0xa609d68, idx=83, cl=QMetaObject::InvokeMetaMethod, object=0xa7179e8) at kernel/qmetaobject.cpp:237
#41 QMetaObject::metacall (object=0xa7179e8, cl=QMetaObject::InvokeMetaMethod, idx=83, argv=0xa609d68) at kernel/qmetaobject.cpp:232
#42 0x0648d685 in QMetaCallEvent::placeMetaCall (this=0xa609e78, object=0xa7179e8) at kernel/qobject.cpp:535
#43 0x06494b52 in QObject::event (this=0xa7179e8, e=0xa609e78) at kernel/qobject.cpp:1217
#44 0x03988bd4 in QGraphicsWidget::event (this=0xa7179e8, event=0xa609e78) at graphicsview/qgraphicswidget.cpp:1455
#45 0x032c9d54 in notify_helper (e=0xa609e78, receiver=0xa7179e8, this=0x933ae00) at kernel/qapplication.cpp:4486
#46 QApplicationPrivate::notify_helper (this=0x933ae00, receiver=0xa7179e8, e=0xa609e78) at kernel/qapplication.cpp:4458
#47 0x032cf103 in QApplication::notify (this=0xa609e78, receiver=0xa7179e8, e=0xa609e78) at kernel/qapplication.cpp:3886
#48 0x011ac721 in KApplication::notify (this=0x932fc18, receiver=0xa7179e8, event=0xa609e78) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x0647c19e in QCoreApplication::notifyInternal (this=0x932fc18, receiver=0xa7179e8, event=0xa609e78) at kernel/qcoreapplication.cpp:787
#50 0x0647ff93 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=0x92f02e0) at kernel/qcoreapplication.cpp:1428
#52 0x064800ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#53 0x064aa6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=0x933e890) at kernel/qeventdispatcher_glib.cpp:277
#55 0x0790825f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0x07908990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0x07908c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#58 0x064aaada in QEventDispatcherGlib::processEvents (this=0x92f1218, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#59 0x03381e3a in QGuiEventDispatcherGlib::processEvents (this=0x92f1218, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x0647b1dd in QEventLoop::processEvents (this=0xbfe898b4, flags=...) at kernel/qeventloop.cpp:149
#61 0x0647b421 in QEventLoop::exec (this=0xbfe898b4, flags=...) at kernel/qeventloop.cpp:201
#62 0x0648019d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#63 0x032c78f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#64 0x00f7c18b in kdemain (argc=1, argv=0xbfe89ab4) at ../../../../plasma/desktop/shell/main.cpp:120
#65 0x0804850b in main (argc=1, argv=0xbfe89ab4) at plasma-desktop_dummy.cpp:3

This bug may be a duplicate of or related to bug 279478.

Possible duplicates by query: bug 282922, bug 282680, bug 282552, bug 281782, bug 281575.

Reported using DrKonqi
Comment 1 f.nilsen89 2011-10-15 16:18:16 UTC
Created attachment 64549 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.4

- What I was doing when the application crashed:
Nothing. Just trying to open create a default panel with the New Activity tab on the desktop.

-- Backtrace (Reduced):
#7  0x0777a154 in QGraphicsLayoutItem::graphicsItem (this=0x29) at graphicsview/qgraphicslayoutitem.cpp:920
#8  0x0777a225 in QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0xb3b5a00) at graphicsview/qgraphicslayoutitem.cpp:286
#9  0x077c6458 in QGridLayoutItem::hasDynamicConstraint (this=0xb02c118) at graphicsview/qgridlayoutengine.cpp:576
#10 0x077c744e in ensureDynamicConstraint (this=0xb36ad70) at graphicsview/qgridlayoutengine.cpp:1657
#11 QGridLayoutEngine::ensureDynamicConstraint (this=0xb36ad70) at graphicsview/qgridlayoutengine.cpp:1652
Comment 2 nanostrukturtechniker 2011-10-16 14:15:27 UTC
Created attachment 64588 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.1 (4.7.1) using Qt 4.7.4

- What I was doing when the application crashed:
Adding a "Standard Panel" to the second screen

- Custom settings of the application:
None, works on every configuration, as long as two screens are involved

-- Backtrace (Reduced):
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0xb1) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x00007fa1be72d591 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#8  0x00007fa1be72e6b2 in ensureDynamicConstraint (this=0x34c3db0) at graphicsview/qgridlayoutengine.cpp:1657
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x34c3db0) at graphicsview/qgridlayoutengine.cpp:1652
#10 0x00007fa1be72e769 in QGridLayoutEngine::hasDynamicConstraint (this=0x34c3db0) at graphicsview/qgridlayoutengine.cpp:1677
Comment 3 Christoph Feck 2011-10-18 12:51:18 UTC

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