Bug 288371

Summary: Adding a default panel to desktop make a crash
Product: [Unmaintained] plasma4 Reporter: Islam Wazery <wazery>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: lexa.knyazev, tiagox
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 Islam Wazery 2011-12-07 00:27:09 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- I was trying to add a default panel

- Unusual behavior I noticed: The screen flickers and a crash happened!

The crash can be reproduced every time.

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

Thread 7 (Thread 0xb695ab70 (LWP 8178)):
#0  0x00382416 in __kernel_vsyscall ()
#1  0x06778a5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00eb8cfc in __pthread_cond_wait (cond=0x1607a50, mutex=0x1607a38) at forward.c:139
#3  0x015029a9 in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#4  0x015029ef in ?? () from /usr/lib/i386-linux-gnu/libQtScript.so.4
#5  0x06774d31 in start_thread (arg=0xb695ab70) at pthread_create.c:304
#6  0x00eab0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 6 (Thread 0xb0abeb70 (LWP 8179)):
#0  0x08f49f51 in g_main_context_check () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x08f4a8f0 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x08f4ac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x062cab37 in QEventDispatcherGlib::processEvents (this=0x9be7af8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0629b1dd in QEventLoop::processEvents (this=0xb0abe2a0, flags=...) at kernel/qeventloop.cpp:149
#5  0x0629b421 in QEventLoop::exec (this=0xb0abe2a0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0619e90b in QThread::exec (this=0x9be4dc8) at thread/qthread.cpp:498
#7  0x0627be2d in QInotifyFileSystemWatcherEngine::run (this=0x9be4dc8) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x061a17b3 in QThreadPrivate::start (arg=0x9be4dc8) at thread/qthread_unix.cpp:331
#9  0x06774d31 in start_thread (arg=0xb0abeb70) at pthread_create.c:304
#10 0x00eab0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 5 (Thread 0xaf0fdb70 (LWP 8603)):
#0  0x00382416 in __kernel_vsyscall ()
#1  0x06778a5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00eb8cfc in __pthread_cond_wait (cond=0x9c372a0, mutex=0x9c37288) at forward.c:139
#3  0x061a1cc0 in wait (time=4294967295, this=0x9c37288) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c36b30, mutex=0x9c02d18, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00357406 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00359ecb in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x0035703a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00359fcc in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00356f93 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x00358b14 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x00358bca in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0x061a17b3 in QThreadPrivate::start (arg=0xa635bc8) at thread/qthread_unix.cpp:331
#13 0x06774d31 in start_thread (arg=0xaf0fdb70) at pthread_create.c:304
#14 0x00eab0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 4 (Thread 0xad5fdb70 (LWP 8604)):
#0  0x00382416 in __kernel_vsyscall ()
#1  0x06778a5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00eb8cfc in __pthread_cond_wait (cond=0x9c372a0, mutex=0x9c37288) at forward.c:139
#3  0x061a1cc0 in wait (time=4294967295, this=0x9c37288) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c36b30, mutex=0x9c02d18, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00357406 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00359ecb in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x0035703a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00359fcc in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00356f93 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x00359fe8 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x00356f93 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x00358b14 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x00358bca in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#14 0x061a17b3 in QThreadPrivate::start (arg=0xb0100eb8) at thread/qthread_unix.cpp:331
#15 0x06774d31 in start_thread (arg=0xad5fdb70) at pthread_create.c:304
#16 0x00eab0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 3 (Thread 0xacdfcb70 (LWP 8605)):
#0  0x00382416 in __kernel_vsyscall ()
#1  0x06778a5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00eb8cfc in __pthread_cond_wait (cond=0x9c372a0, mutex=0x9c37288) at forward.c:139
#3  0x061a1cc0 in wait (time=4294967295, this=0x9c37288) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c36b30, mutex=0x9c02d18, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00357406 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00359ecb in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x0035703a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00359fcc in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00356f93 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x00358b14 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x00358bca in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#12 0x061a17b3 in QThreadPrivate::start (arg=0x9cd9d70) at thread/qthread_unix.cpp:331
#13 0x06774d31 in start_thread (arg=0xacdfcb70) at pthread_create.c:304
#14 0x00eab0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xac5fbb70 (LWP 8606)):
#0  0x00382416 in __kernel_vsyscall ()
#1  0x06778a5c in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00eb8cfc in __pthread_cond_wait (cond=0x9c372a0, mutex=0x9c37288) at forward.c:139
#3  0x061a1cc0 in wait (time=4294967295, this=0x9c37288) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x9c36b30, mutex=0x9c02d18, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x00357406 in ?? () from /usr/lib/libthreadweaver.so.4
#6  0x00359ecb in ?? () from /usr/lib/libthreadweaver.so.4
#7  0x0035703a in ?? () from /usr/lib/libthreadweaver.so.4
#8  0x00359fcc in ?? () from /usr/lib/libthreadweaver.so.4
#9  0x00356f93 in ?? () from /usr/lib/libthreadweaver.so.4
#10 0x00359fe8 in ?? () from /usr/lib/libthreadweaver.so.4
#11 0x00356f93 in ?? () from /usr/lib/libthreadweaver.so.4
#12 0x00358b14 in ?? () from /usr/lib/libthreadweaver.so.4
#13 0x00358bca in ThreadWeaver::Thread::run() () from /usr/lib/libthreadweaver.so.4
#14 0x061a17b3 in QThreadPrivate::start (arg=0xa5017e0) at thread/qthread_unix.cpp:331
#15 0x06774d31 in start_thread (arg=0xac5fbb70) at pthread_create.c:304
#16 0x00eab0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb77b1b20 (LWP 8177)):
[KCrash Handler]
#7  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x80000000) at graphicsview/qgraphicslayoutitem.cpp:280
#8  0x03bb3458 in QGridLayoutItem::hasDynamicConstraint (this=0xaa0f858) at graphicsview/qgridlayoutengine.cpp:576
#9  0x03bb444e in ensureDynamicConstraint (this=0xaa7d6e0) at graphicsview/qgridlayoutengine.cpp:1657
#10 QGridLayoutEngine::ensureDynamicConstraint (this=0xaa7d6e0) at graphicsview/qgridlayoutengine.cpp:1652
#11 0x03bb44f0 in QGridLayoutEngine::hasDynamicConstraint (this=0xaa7d6e0) at graphicsview/qgridlayoutengine.cpp:1677
#12 0x03bb8942 in QGridLayoutEngine::sizeHint (this=0xaa7d6e0, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#13 0x03b3942f in QGraphicsGridLayout::sizeHint (this=0xaa19ae8, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#14 0x03b66365 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0xaa7d5f0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#15 0x03b66d54 in effectiveSizeHint (constraint=..., which=Qt::MinimumSize, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#16 QGraphicsLayoutItem::effectiveSizeHint (this=0xaa19ae8, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:810
#17 0x03ba939c in QGraphicsWidget::sizeHint (this=0xaa19b70, which=Qt::MinimumSize, constraint=...) at graphicsview/qgraphicswidget.cpp:743
#18 0x03b66417 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0xaa7d4f8, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#19 0x03b66d54 in effectiveSizeHint (constraint=..., which=Qt::PreferredSize, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#20 QGraphicsLayoutItem::effectiveSizeHint (this=0xaa19b80, which=Qt::PreferredSize, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:810
#21 0x07fac331 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#22 0x07fae339 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#23 0x07fae6df in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#24 0x07faed8d in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#25 0x062a2b7d in metacall (argv=0xbfcde648, idx=23, cl=QMetaObject::InvokeMetaMethod, object=0xb14a648) at kernel/qmetaobject.cpp:237
#26 QMetaObject::metacall (object=0xb14a648, cl=QMetaObject::InvokeMetaMethod, idx=23, argv=0xbfcde648) at kernel/qmetaobject.cpp:232
#27 0x062b1a6a in QMetaObject::activate (sender=0x9ceede8, m=0x7fbb038, local_signal_index=0, argv=0xbfcde648) at kernel/qobject.cpp:3278
#28 0x07f8de85 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#29 0x07f8e128 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#30 0x07f8e2cd in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#31 0x062a2b7d in metacall (argv=0xbfcde7c8, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x9ceede8) at kernel/qmetaobject.cpp:237
#32 QMetaObject::metacall (object=0x9ceede8, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfcde7c8) at kernel/qmetaobject.cpp:232
#33 0x062b1a6a in QMetaObject::activate (sender=0x9cee258, m=0x7fbb09c, local_signal_index=0, argv=0xbfcde7c8) at kernel/qobject.cpp:3278
#34 0x07f8e875 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#35 0x07f96816 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#36 0x07f8dc29 in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#37 0x07fa24fb in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#38 0x07fa36ac in ?? () from /usr/lib/kde4/plasma_applet_systemtray.so
#39 0x062a2b7d in metacall (argv=0xa77a4b8, idx=83, cl=QMetaObject::InvokeMetaMethod, object=0xa726260) at kernel/qmetaobject.cpp:237
#40 QMetaObject::metacall (object=0xa726260, cl=QMetaObject::InvokeMetaMethod, idx=83, argv=0xa77a4b8) at kernel/qmetaobject.cpp:232
#41 0x062ad685 in QMetaCallEvent::placeMetaCall (this=0xa77de58, object=0xa726260) at kernel/qobject.cpp:535
#42 0x062b4b52 in QObject::event (this=0xa726260, e=0xa77de58) at kernel/qobject.cpp:1217
#43 0x03ba9bd4 in QGraphicsWidget::event (this=0xa726260, event=0xa77de58) at graphicsview/qgraphicswidget.cpp:1455
#44 0x034ead54 in notify_helper (e=0xa77de58, receiver=0xa726260, this=0x994f038) at kernel/qapplication.cpp:4486
#45 QApplicationPrivate::notify_helper (this=0x994f038, receiver=0xa726260, e=0xa77de58) at kernel/qapplication.cpp:4458
#46 0x034f0103 in QApplication::notify (this=0xa77de58, receiver=0xa726260, e=0xa77de58) at kernel/qapplication.cpp:3886
#47 0x0113c681 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#48 0x0629c19e in QCoreApplication::notifyInternal (this=0x9945590, receiver=0xa726260, event=0xa77de58) at kernel/qcoreapplication.cpp:787
#49 0x0629ff93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x99072e0) at kernel/qcoreapplication.cpp:1428
#51 0x062a00ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#52 0x062ca6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#53 postEventSourceDispatch (s=0x9950b80) at kernel/qeventdispatcher_glib.cpp:277
#54 0x08f4a25f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0x08f4a990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0x08f4ac2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0x062caada in QEventDispatcherGlib::processEvents (this=0x9908230, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#58 0x035a2e3a in QGuiEventDispatcherGlib::processEvents (this=0x9908230, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0x0629b1dd in QEventLoop::processEvents (this=0xbfcdf074, flags=...) at kernel/qeventloop.cpp:149
#60 0x0629b421 in QEventLoop::exec (this=0xbfcdf074, flags=...) at kernel/qeventloop.cpp:201
#61 0x062a019d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#62 0x034e88f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#63 0x0025518b in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_plasma-desktop.so
#64 0x0804850b in ?? ()
#65 0x00df2113 in __libc_start_main (main=0x80484f0, argc=1, ubp_av=0xbfcdf274, init=0x80485e0 <__libc_csu_init>, fini=0x8048650 <__libc_csu_fini>, rtld_fini=0x7fbbc0, stack_end=0xbfcdf26c) at libc-start.c:226
#66 0x08048531 in _start ()

Possible duplicates by query: bug 288236, bug 288137, bug 288003, bug 287909, bug 287885.

Reported using DrKonqi
Comment 1 lexa.knyazev 2011-12-12 18:19:02 UTC
Created attachment 66671 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.2 (4.7.2) "release 5" using Qt 4.7.4

- What I was doing when the application crashed:

Tried to add default panel to desktop.
There was some animation on screen and crash happened.

-- Backtrace (Reduced):
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x6f006900740061) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x00007f37df5bef81 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#8  0x00007f37df5c0092 in ensureDynamicConstraint (this=0x18d4e10) at graphicsview/qgridlayoutengine.cpp:1657
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x18d4e10) at graphicsview/qgridlayoutengine.cpp:1652
#10 0x00007f37df5c0149 in QGridLayoutEngine::hasDynamicConstraint (this=0x18d4e10) at graphicsview/qgridlayoutengine.cpp:1677
Comment 2 Santiago Rojo 2011-12-13 22:23:48 UTC
Created attachment 66710 [details]
New crash information added by DrKonqi

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

Plasma crash when I try to add a default panel in the desktop.

-- Backtrace (Reduced):
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x740065006e002e) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x00007fc0e3f48591 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#8  0x00007fc0e3f496b2 in ensureDynamicConstraint (this=0x20a2040) at graphicsview/qgridlayoutengine.cpp:1657
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x20a2040) at graphicsview/qgridlayoutengine.cpp:1652
#10 0x00007fc0e3f49769 in QGridLayoutEngine::hasDynamicConstraint (this=0x20a2040) at graphicsview/qgridlayoutengine.cpp:1677