Bug 284112

Summary: crash on adding default panel
Product: [Unmaintained] plasma4 Reporter: Joe Mason <joe>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: coldcaption, Hi-Angel, houlisc, raymosilv2
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 Joe Mason 2011-10-15 16:40:52 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:
I added a second panel and accidentally clicked "add default panel" instead of "add empty panel" .  The new panel was half the screen width and contained a jumble of overlapping widgets.  As soon as I moved the mouse over it to right click it, the shell crashed.  (I can't remember if I actually clicked or was just about to, and I can't be sure it wasn't just a few seconds delay before it crashed - it could have just been a coincidence that it crashed as I was moving the mouse.)

- Unusual behavior I noticed:
I just upgraded to Ocelot, and I'm getting some visual glitches. There are black pixels scattered over the panel background, and when I mouse over a window titlebar the titlebar flickers solid black.

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

Thread 5 (Thread 0xb51f9b70 (LWP 1866)):
#0  0x00716416 in __kernel_vsyscall ()
#1  0x001d340e in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x03eb034b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03ea1896 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03ea1f9b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x04eb5cea in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x03ec85f4 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x049be9cd in ?? () from /usr/lib/nvidia-current/libGL.so.1
#8  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 0xb3c14b70 (LWP 1867)):
#0  0x001eff20 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#1  0x03ea1877 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x03ea1c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x05331b37 in QEventDispatcherGlib::processEvents (this=0x9acd4f0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x053021dd in QEventLoop::processEvents (this=0xb3c141f0, flags=...) at kernel/qeventloop.cpp:149
#5  0x05302421 in QEventLoop::exec (this=0xb3c141f0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0520590b in QThread::exec (this=0x9acb9e0) at thread/qthread.cpp:498
#7  0x052e2e2d in QInotifyFileSystemWatcherEngine::run (this=0x9acb9e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x052087b3 in QThreadPrivate::start (arg=0x9acb9e0) at thread/qthread_unix.cpp:331
#9  0x049be9cd in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 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 0xad18db70 (LWP 1868)):
#0  0x0928cd44 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  0x03ea0e70 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x03ea18f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x03ea1c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x05331b37 in QEventDispatcherGlib::processEvents (this=0xb5206508, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x053021dd in QEventLoop::processEvents (this=0xad18d1f0, flags=...) at kernel/qeventloop.cpp:149
#7  0x05302421 in QEventLoop::exec (this=0xad18d1f0, flags=...) at kernel/qeventloop.cpp:201
#8  0x0520590b in QThread::exec (this=0x9c28b48) at thread/qthread.cpp:498
#9  0x052e2e2d in QInotifyFileSystemWatcherEngine::run (this=0x9c28b48) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x052087b3 in QThreadPrivate::start (arg=0x9c28b48) at thread/qthread_unix.cpp:331
#11 0x049be9cd in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 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 0xab700b70 (LWP 1875)):
#0  0x00716416 in __kernel_vsyscall ()
#1  0x0928da5c 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  0x065c39a9 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x065c39ef in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x049be9cd in ?? () from /usr/lib/nvidia-current/libGL.so.1
#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 0xb5eb3720 (LWP 1860)):
[KCrash Handler]
#7  0x020c8154 in QGraphicsLayoutItem::graphicsItem (this=0x74726f70) at graphicsview/qgraphicslayoutitem.cpp:920
#8  0x020c8225 in QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x760069) at graphicsview/qgraphicslayoutitem.cpp:286
#9  0x02114458 in QGridLayoutItem::hasDynamicConstraint (this=0xb040110) at graphicsview/qgridlayoutengine.cpp:576
#10 0x0211544e in ensureDynamicConstraint (this=0xad22958) at graphicsview/qgridlayoutengine.cpp:1657
#11 QGridLayoutEngine::ensureDynamicConstraint (this=0xad22958) at graphicsview/qgridlayoutengine.cpp:1652
#12 0x021154f0 in QGridLayoutEngine::hasDynamicConstraint (this=0xad22958) at graphicsview/qgridlayoutengine.cpp:1677
#13 0x02119942 in QGridLayoutEngine::sizeHint (this=0xad22958, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#14 0x0209a42f in QGraphicsGridLayout::sizeHint (this=0xa200b78, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#15 0x020c7365 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0xad22868, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#16 0x020c7d54 in effectiveSizeHint (constraint=..., which=Qt::MinimumSize, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#17 QGraphicsLayoutItem::effectiveSizeHint (this=0xa200b78, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:810
#18 0x0210a39c in QGraphicsWidget::sizeHint (this=0xb03a770, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicswidget.cpp:743
#19 0x020c7417 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0xad22770, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#20 0x020c7d54 in effectiveSizeHint (constraint=..., which=Qt::PreferredSize, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#21 QGraphicsLayoutItem::effectiveSizeHint (this=0xb03a780, which=Qt::PreferredSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:810
#22 0x08960331 in SystemTray::TaskArea::adjustHiddentTasksWidget (this=0xa4fec80) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:452
#23 0x08962339 in SystemTray::TaskArea::addWidgetForTask (this=0xa4fec80, task=0xb1f3960) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:320
#24 0x089626df in SystemTray::TaskArea::addTask (this=0xa4fec80, task=0xb1f3960) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:196
#25 0x08962d8d in SystemTray::TaskArea::qt_metacall (this=0xa4fec80, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfb0df08) at ./taskarea.moc:89
#26 0x05309b7d in metacall (argv=0xbfb0df08, idx=23, cl=QMetaObject::InvokeMetaMethod, object=0xa4fec80) at kernel/qmetaobject.cpp:237
#27 QMetaObject::metacall (object=0xa4fec80, cl=QMetaObject::InvokeMetaMethod, idx=23, argv=0xbfb0df08) at kernel/qmetaobject.cpp:232
#28 0x05318a6a in QMetaObject::activate (sender=0x96fbf48, m=0x896f038, local_signal_index=0, argv=0xbfb0df08) at kernel/qobject.cpp:3278
#29 0x08941e85 in SystemTray::Manager::taskAdded (this=0x96fbf48, _t1=0xb1f3960) at ./manager.moc:99
#30 0x08942128 in SystemTray::Manager::addTask (this=0x96fbf48, task=0xb1f3960) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:87
#31 0x089422cd in SystemTray::Manager::qt_metacall (this=0x96fbf48, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfb0e088) at ./manager.moc:86
#32 0x05309b7d in metacall (argv=0xbfb0e088, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x96fbf48) at kernel/qmetaobject.cpp:237
#33 QMetaObject::metacall (object=0x96fbf48, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfb0e088) at kernel/qmetaobject.cpp:232
#34 0x05318a6a in QMetaObject::activate (sender=0x9753220, m=0x896f09c, local_signal_index=0, argv=0xbfb0e088) at kernel/qobject.cpp:3278
#35 0x08942875 in SystemTray::Protocol::taskCreated (this=0x9753220, _t1=0xb1f3960) at ./protocol.moc:91
#36 0x0894a816 in SystemTray::PlasmoidProtocol::addApplet (this=0x9753220, appletName=..., id=0, parent=0xa0fb9c8) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:112
#37 0x08941c29 in SystemTray::Manager::addApplet (this=0x96fbf48, appletName=..., parent=0xa0fb9c8) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:110
#38 0x089564fb in SystemTray::Applet::checkDefaultApplets (this=0xa0fb9c8) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:737
#39 0x089576ac in SystemTray::Applet::qt_metacall (this=0xa0fb9c8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xac7c638) at ./applet.moc:91
#40 0x05309b7d in metacall (argv=0xac7c638, idx=83, cl=QMetaObject::InvokeMetaMethod, object=0xa0fb9c8) at kernel/qmetaobject.cpp:237
#41 QMetaObject::metacall (object=0xa0fb9c8, cl=QMetaObject::InvokeMetaMethod, idx=83, argv=0xac7c638) at kernel/qmetaobject.cpp:232
#42 0x05314685 in QMetaCallEvent::placeMetaCall (this=0xa6250a8, object=0xa0fb9c8) at kernel/qobject.cpp:535
#43 0x0531bb52 in QObject::event (this=0xa0fb9c8, e=0xa6250a8) at kernel/qobject.cpp:1217
#44 0x0210abd4 in QGraphicsWidget::event (this=0xa0fb9c8, event=0xa6250a8) at graphicsview/qgraphicswidget.cpp:1455
#45 0x01a4bd54 in notify_helper (e=0xa6250a8, receiver=0xa0fb9c8, this=0x93ecbb8) at kernel/qapplication.cpp:4486
#46 QApplicationPrivate::notify_helper (this=0x93ecbb8, receiver=0xa0fb9c8, e=0xa6250a8) at kernel/qapplication.cpp:4458
#47 0x01a51103 in QApplication::notify (this=0xa6250a8, receiver=0xa0fb9c8, e=0xa6250a8) at kernel/qapplication.cpp:3886
#48 0x01138721 in KApplication::notify (this=0x93e34b8, receiver=0xa0fb9c8, event=0xa6250a8) at ../../kdeui/kernel/kapplication.cpp:311
#49 0x0530319e in QCoreApplication::notifyInternal (this=0x93e34b8, receiver=0xa0fb9c8, event=0xa6250a8) at kernel/qcoreapplication.cpp:787
#50 0x05306f93 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=0x93552e0) at kernel/qcoreapplication.cpp:1428
#52 0x053070ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#53 0x053316a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#54 postEventSourceDispatch (s=0x93e96f0) at kernel/qeventdispatcher_glib.cpp:277
#55 0x03ea125f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0x03ea1990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0x03ea1c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#58 0x05331ada in QEventDispatcherGlib::processEvents (this=0x9356248, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#59 0x01b03e3a in QGuiEventDispatcherGlib::processEvents (this=0x9356248, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x053021dd in QEventLoop::processEvents (this=0xbfb0e934, flags=...) at kernel/qeventloop.cpp:149
#61 0x05302421 in QEventLoop::exec (this=0xbfb0e934, flags=...) at kernel/qeventloop.cpp:201
#62 0x0530719d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#63 0x01a498f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#64 0x00c2418b in kdemain (argc=1, argv=0xbfb0eb34) at ../../../../plasma/desktop/shell/main.cpp:120
#65 0x0804850b in main (argc=1, argv=0xbfb0eb34) at plasma-desktop_dummy.cpp:3

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

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

Reported using DrKonqi
Comment 1 Chris 2011-10-15 18:09:23 UTC
Created attachment 64553 [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: 
Added a new "Defualt panel" while exploring KDE. New panel was flickery and full of graphical bugs, then crashed. Have not yet installed proprietary graphical drivers for my system; I'm going to try this next.

- Unusual behavior I noticed:
Lots of graphical weirdness. Flickering, distorted graphics and colors and stuff.

-- Backtrace (Reduced):
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x740065006e002e) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x00007fc12aebc591 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#8  0x00007fc12aebd6b2 in ensureDynamicConstraint (this=0x440b950) at graphicsview/qgridlayoutengine.cpp:1657
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x440b950) at graphicsview/qgridlayoutengine.cpp:1652
#10 0x00007fc12aebd769 in QGridLayoutEngine::hasDynamicConstraint (this=0x440b950) at graphicsview/qgridlayoutengine.cpp:1677
Comment 2 Konstantin Kharlamov 2011-10-16 10:38:46 UTC
Created attachment 64575 [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:

I just  plug in second monitor trough HDMI cabel like extension of first monitor. I hope that panel will stretch to second monitor too, but it didn't. So I tried to create "default panel" on second monitor, and it crashed. By the way -- crashed every time.

-- Backtrace (Reduced):
#6  QGraphicsLayoutItem::graphicsItem (this=0x74006500476840) at graphicsview/qgraphicslayoutitem.cpp:920
#7  0x00007f09974dc8f1 in QGraphicsLayoutItemPrivate::hasHeightForWidth (this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:286
#8  0x00007f0997522591 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#9  0x00007f09975236b2 in ensureDynamicConstraint (this=0x2bd7ac0) at graphicsview/qgridlayoutengine.cpp:1657
#10 QGridLayoutEngine::ensureDynamicConstraint (this=0x2bd7ac0) at graphicsview/qgridlayoutengine.cpp:1652
Comment 3 Konstantin Kharlamov 2011-10-16 10:53:08 UTC
(In addition to comment #2)
My KDE sometime crashed on restart/shutdown of a system. I think, that could be something about drivers on my radeon (HD5730 -- it's notebook, this GPU build-in). I think so because, some day ago I installed kubuntu -- I was on linux-mint kde. There KDE was unbelievable lags, and crashed every time, especially after I has installed proprietary drivers. For some reason I couldn't send bugreports :(
Comment 4 Joe Mason 2011-10-16 12:43:20 UTC
I have an nvidia G84M, so if your crash is network driver related, it's not the same bug.
Comment 5 Nicolas L. 2011-10-17 12:29:30 UTC
*** Bug 284253 has been marked as a duplicate of this bug. ***
Comment 6 Nicolas L. 2011-10-17 13:19:34 UTC
*** Bug 284262 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2011-10-18 12:49:33 UTC

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