Bug 285520

Summary: Right click->Add Panel->Default Panel Results in seg fault
Product: [Unmaintained] plasma4 Reporter: proteusd
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ivaylo.kabakov, lamarque
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

Description proteusd 2011-11-01 23:02:23 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-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Trying to add a new default panel.  Also seg faults when I add an empty panel

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f16f9c17700 (LWP 2322)):
#0  0x00007f171f8df09c in qt_gettime () at tools/qelapsedtimer_unix.cpp:146
#1  0x00007f171f9a16ed in QTimerInfoList::updateCurrentTime (this=0x1b5ec60) at kernel/qeventdispatcher_unix.cpp:339
#2  0x00007f171f9a1a33 in QTimerInfoList::timerWait (this=0x1b5ec60, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#3  0x00007f171f9a044c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7f16f9c16b3c) at kernel/qeventdispatcher_glib.cpp:136
#4  0x00007f171f9a04f5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#5  0x00007f1716d38ff2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f1716d39dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f1716d3a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f171f9a0f3e in QEventDispatcherGlib::processEvents (this=0x1b5d460, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#9  0x00007f171f974cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#10 0x00007f171f974ef7 in QEventLoop::exec (this=0x7f16f9c16cd0, flags=...) at kernel/qeventloop.cpp:201
#11 0x00007f171f88c27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#12 0x00007f171f957cbf in QInotifyFileSystemWatcherEngine::run (this=0x1b5bd30) at io/qfilesystemwatcher_inotify.cpp:248
#13 0x00007f171f88ed05 in QThreadPrivate::start (arg=0x1b5bd30) at thread/qthread_unix.cpp:331
#14 0x00007f171405356c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#15 0x00007f1717846efc in start_thread (arg=0x7f16f9c17700) at pthread_create.c:304
#16 0x00007f17227ba89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f16f69c9700 (LWP 2324)):
#0  0x00007f17227ae773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f1716d39f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1716d3a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f171f9a0f3e in QEventDispatcherGlib::processEvents (this=0x1455a40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f171f974cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f171f974ef7 in QEventLoop::exec (this=0x7f16f69c8cd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f171f88c27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f171f957cbf in QInotifyFileSystemWatcherEngine::run (this=0x180d940) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f171f88ed05 in QThreadPrivate::start (arg=0x180d940) at thread/qthread_unix.cpp:331
#9  0x00007f171405356c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007f1717846efc in start_thread (arg=0x7f16f69c9700) at pthread_create.c:304
#11 0x00007f17227ba89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f16f24f3700 (LWP 2330)):
#0  0x00007f1717849034 in __pthread_mutex_lock (mutex=0x7f1700027368) at pthread_mutex_lock.c:61
#1  0x00007f1716d39361 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1716d39e6a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1716d3a792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f16f2fd1516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#5  0x00007f1716d5f2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f171405356c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#7  0x00007f1717846efc in start_thread (arg=0x7f16f24f3700) at pthread_create.c:304
#8  0x00007f17227ba89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f16f8bdc700 (LWP 2622)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f171c9a5fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f171c9a6019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f171405356c in ?? () from /usr/lib/nvidia-current/libGL.so.1
#4  0x00007f1717846efc in start_thread (arg=0x7f16f8bdc700) at pthread_create.c:304
#5  0x00007f17227ba89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1722eda7c0 (LWP 2319)):
[KCrash Handler]
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x740065006e002e) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x00007f171f34d591 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#8  0x00007f171f34e6b2 in ensureDynamicConstraint (this=0x302ddd0) at graphicsview/qgridlayoutengine.cpp:1657
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x302ddd0) at graphicsview/qgridlayoutengine.cpp:1652
#10 0x00007f171f34e769 in QGridLayoutEngine::hasDynamicConstraint (this=0x302ddd0) at graphicsview/qgridlayoutengine.cpp:1677
#11 0x00007f171f352a98 in QGridLayoutEngine::sizeHint (this=0x302ddd0, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#12 0x00007f171f2dc01a in QGraphicsGridLayout::sizeHint (this=<optimized out>, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#13 0x00007f171f306bd9 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x302dcc0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#14 0x00007f171f307491 in effectiveSizeHint (constraint=<optimized out>, which=<optimized out>, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#15 QGraphicsLayoutItem::effectiveSizeHint (this=<optimized out>, which=<optimized out>, constraint=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:810
#16 0x00007f171f344231 in QGraphicsWidget::sizeHint (this=<optimized out>, which=<optimized out>, constraint=<optimized out>) at graphicsview/qgraphicswidget.cpp:743
#17 0x00007f171f306caf in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x302dbd0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#18 0x00007f171f307491 in effectiveSizeHint (constraint=<optimized out>, which=<optimized out>, this=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:818
#19 QGraphicsLayoutItem::effectiveSizeHint (this=<optimized out>, which=<optimized out>, constraint=<optimized out>) at graphicsview/qgraphicslayoutitem.cpp:810
#20 0x00007f1706e4a905 in SystemTray::TaskArea::adjustHiddentTasksWidget (this=0x3035650) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:452
#21 0x00007f1706e4c5d9 in SystemTray::TaskArea::addWidgetForTask (this=0x3035650, task=0x3c9a5a0) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:320
#22 0x00007f1706e4c926 in SystemTray::TaskArea::addTask (this=0x3035650, task=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:196
#23 0x00007f1706e4d124 in SystemTray::TaskArea::qt_metacall (this=0x3035650, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffef36bc40) at ./taskarea.moc:89
#24 0x00007f171f988eba in QMetaObject::activate (sender=0x1456550, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffef36bc40) at kernel/qobject.cpp:3278
#25 0x00007f1706e2f87f in SystemTray::Manager::taskAdded (this=<optimized out>, _t1=0x3c9a5a0) at ./manager.moc:99
#26 0x00007f1706e2fa95 in SystemTray::Manager::addTask (this=0x1456550, task=0x3c9a5a0) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:87
#27 0x00007f1706e2fbe4 in SystemTray::Manager::qt_metacall (this=0x1456550, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffef36bdb0) at ./manager.moc:86
#28 0x00007f171f988eba in QMetaObject::activate (sender=0x1450050, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffef36bdb0) at kernel/qobject.cpp:3278
#29 0x00007f1706e3008f in SystemTray::Protocol::taskCreated (this=<optimized out>, _t1=0x3c9a5a0) at ./protocol.moc:91
#30 0x00007f1706e37178 in SystemTray::PlasmoidProtocol::addApplet (this=0x1450050, appletName=..., id=<optimized out>, parent=0x3088c40) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:112
#31 0x00007f1706e2f6d6 in SystemTray::Manager::addApplet (this=<optimized out>, appletName=<optimized out>, parent=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:110
#32 0x00007f1706e41a30 in SystemTray::Applet::checkDefaultApplets (this=0x3088c40) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:737
#33 0x00007f1706e42a4c in SystemTray::Applet::qt_metacall (this=0x3088c40, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x385ab40) at ./applet.moc:91
#34 0x00007f171f98ca5e in QObject::event (this=0x3088c40, e=<optimized out>) at kernel/qobject.cpp:1217
#35 0x00007f171f34489b in QGraphicsWidget::event (this=0x3088c40, event=0x306cf20) at graphicsview/qgraphicswidget.cpp:1455
#36 0x00007f171ed26424 in notify_helper (e=0x306cf20, receiver=0x3088c40, this=0x10de2e0) at kernel/qapplication.cpp:4486
#37 QApplicationPrivate::notify_helper (this=0x10de2e0, receiver=0x3088c40, e=0x306cf20) at kernel/qapplication.cpp:4458
#38 0x00007f171ed2b291 in QApplication::notify (this=0x10d0ca0, receiver=0x3088c40, e=0x306cf20) at kernel/qapplication.cpp:4365
#39 0x00007f1720624126 in KApplication::notify (this=0x10d0ca0, receiver=0x3088c40, event=0x306cf20) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007f171f975afc in QCoreApplication::notifyInternal (this=0x10d0ca0, receiver=0x3088c40, event=0x306cf20) at kernel/qcoreapplication.cpp:787
#41 0x00007f171f97951f in sendEvent (event=0x306cf20, receiver=0x3088c40) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x102d430) at kernel/qcoreapplication.cpp:1428
#43 0x00007f171f9a0a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#45 0x00007f1716d39a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f1716d3a258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f1716d3a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f171f9a0ed6 in QEventDispatcherGlib::processEvents (this=0x102ef40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#49 0x00007f171edce07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f171f974cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f171f974ef7 in QEventLoop::exec (this=0x7fffef36c810, flags=...) at kernel/qeventloop.cpp:201
#52 0x00007f171f979789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#53 0x00007f1722ab91a3 in kdemain (argc=1, argv=0x7fffef36cbf8) at ../../../../plasma/desktop/shell/main.cpp:120
#54 0x00007f17226fa30d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fffef36cbf8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffef36cbe8) at libc-start.c:226
#55 0x0000000000400671 in _start ()

This bug may be a duplicate of or related to bug 285361, bug 277367.

Possible duplicates by query: bug 285518, bug 285494, bug 285361, bug 284758, bug 284699.

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2011-11-05 23:10:00 UTC

*** This bug has been marked as a duplicate of bug 277367 ***
Comment 2 Ivaylo Kabakov 2011-11-06 19:26:47 UTC
Created attachment 65312 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Crashes every time when I try to add a default panel.

-- Backtrace (Reduced):
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x740065006e002e) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x0000003d18a02e71 in QGridLayoutItem::hasDynamicConstraint (this=0x3eb3950) at graphicsview/qgridlayoutengine.cpp:576
#8  0x0000003d18a03fd2 in ensureDynamicConstraint (this=0x4e4dbc0) at graphicsview/qgridlayoutengine.cpp:1666
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x4e4dbc0) at graphicsview/qgridlayoutengine.cpp:1661
#10 0x0000003d18a04089 in QGridLayoutEngine::hasDynamicConstraint (this=0x4e4dbc0) at graphicsview/qgridlayoutengine.cpp:1686