Bug 285929

Summary: Plasma craches whrn trying to add a new default panel
Product: [Unmaintained] plasma4 Reporter: Florin <florin>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: lamarque
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Florin 2011-11-06 20:40:33 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:
- What I was doing when the application crashed:

I was trying to add a new default panel (Right click on desktop -> Add panel > Default)

The crash can be reproduced every time.

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

Thread 5 (Thread 0x7f0712e7b700 (LWP 1599)):
#0  0x00007f0734faa773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0729535f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0729536429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f073219cf3e in QEventDispatcherGlib::processEvents (this=0x12d0b20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f0732170cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0732170ef7 in QEventLoop::exec (this=0x7f0712e7adb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f073208827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f0732153cbf in QInotifyFileSystemWatcherEngine::run (this=0x12cdff0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f073208ad05 in QThreadPrivate::start (arg=0x12cdff0) at thread/qthread_unix.cpp:331
#9  0x00007f072a042efc in start_thread (arg=0x7f0712e7b700) at pthread_create.c:304
#10 0x00007f0734fb689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f070bfff700 (LWP 1600)):
#0  0x00007f0734fc4ac0 in pthread_mutex_unlock (mutex=0xbf3bb8) at forward.c:184
#1  0x00007f0729534fe4 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0729535dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0729536429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f073219cf3e in QEventDispatcherGlib::processEvents (this=0x9f5d80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f0732170cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f0732170ef7 in QEventLoop::exec (this=0x7f070bffedb0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f073208827f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f0732153cbf in QInotifyFileSystemWatcherEngine::run (this=0x9f1ba0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f073208ad05 in QThreadPrivate::start (arg=0x9f1ba0) at thread/qthread_unix.cpp:331
#10 0x00007f072a042efc in start_thread (arg=0x7f070bfff700) at pthread_create.c:304
#11 0x00007f0734fb689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f07066cf700 (LWP 1608)):
#0  0x00007f0734faa773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f0729535f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0729536792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f07071ad516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f072955b2b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f072a042efc in start_thread (arg=0x7f07066cf700) at pthread_create.c:304
#6  0x00007f0734fb689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f0705acd700 (LWP 2049)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f072f1a1fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f072f1a2019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f072a042efc in start_thread (arg=0x7f0705acd700) at pthread_create.c:304
#4  0x00007f0734fb689d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f07356dc7a0 (LWP 1598)):
[KCrash Handler]
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x740065006e002e) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x00007f0731b49591 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#8  0x00007f0731b4a6b2 in ensureDynamicConstraint (this=0x2304980) at graphicsview/qgridlayoutengine.cpp:1657
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x2304980) at graphicsview/qgridlayoutengine.cpp:1652
#10 0x00007f0731b4a769 in QGridLayoutEngine::hasDynamicConstraint (this=0x2304980) at graphicsview/qgridlayoutengine.cpp:1677
#11 0x00007f0731b4ea98 in QGridLayoutEngine::sizeHint (this=0x2304980, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#12 0x00007f0731ad801a in QGraphicsGridLayout::sizeHint (this=<optimized out>, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#13 0x00007f0731b02bd9 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x2304870, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#14 0x00007f0731b03491 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 0x00007f0731b40231 in QGraphicsWidget::sizeHint (this=<optimized out>, which=<optimized out>, constraint=<optimized out>) at graphicsview/qgraphicswidget.cpp:743
#17 0x00007f0731b02caf in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x2304780, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#18 0x00007f0731b03491 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 0x00007f071b6b5905 in SystemTray::TaskArea::adjustHiddentTasksWidget (this=0x22a7ab0) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:452
#21 0x00007f071b6b75d9 in SystemTray::TaskArea::addWidgetForTask (this=0x22a7ab0, task=0x2755920) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:320
#22 0x00007f071b6b7926 in SystemTray::TaskArea::addTask (this=0x22a7ab0, task=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:196
#23 0x00007f071b6b8124 in SystemTray::TaskArea::qt_metacall (this=0x22a7ab0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc44ac9b0) at ./taskarea.moc:89
#24 0x00007f0732184eba in QMetaObject::activate (sender=0xc07630, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc44ac9b0) at kernel/qobject.cpp:3278
#25 0x00007f071b69a87f in SystemTray::Manager::taskAdded (this=<optimized out>, _t1=0x2755920) at ./manager.moc:99
#26 0x00007f071b69aa95 in SystemTray::Manager::addTask (this=0xc07630, task=0x2755920) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:87
#27 0x00007f071b69abe4 in SystemTray::Manager::qt_metacall (this=0xc07630, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc44acb20) at ./manager.moc:86
#28 0x00007f0732184eba in QMetaObject::activate (sender=0xc07270, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc44acb20) at kernel/qobject.cpp:3278
#29 0x00007f071b69b08f in SystemTray::Protocol::taskCreated (this=<optimized out>, _t1=0x2755920) at ./protocol.moc:91
#30 0x00007f071b6a2178 in SystemTray::PlasmoidProtocol::addApplet (this=0xc07270, appletName=..., id=<optimized out>, parent=0x22fc2b0) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:112
#31 0x00007f071b69a6d6 in SystemTray::Manager::addApplet (this=<optimized out>, appletName=<optimized out>, parent=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:110
#32 0x00007f071b6aca30 in SystemTray::Applet::checkDefaultApplets (this=0x22fc2b0) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:737
#33 0x00007f071b6ada4c in SystemTray::Applet::qt_metacall (this=0x22fc2b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x22df340) at ./applet.moc:91
#34 0x00007f0732188a5e in QObject::event (this=0x22fc2b0, e=<optimized out>) at kernel/qobject.cpp:1217
#35 0x00007f0731b4089b in QGraphicsWidget::event (this=0x22fc2b0, event=0x22a0210) at graphicsview/qgraphicswidget.cpp:1455
#36 0x00007f0731522424 in notify_helper (e=0x22a0210, receiver=0x22fc2b0, this=0x998420) at kernel/qapplication.cpp:4486
#37 QApplicationPrivate::notify_helper (this=0x998420, receiver=0x22fc2b0, e=0x22a0210) at kernel/qapplication.cpp:4458
#38 0x00007f0731527291 in QApplication::notify (this=0x9899e0, receiver=0x22fc2b0, e=0x22a0210) at kernel/qapplication.cpp:4365
#39 0x00007f0732e20126 in KApplication::notify (this=0x9899e0, receiver=0x22fc2b0, event=0x22a0210) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007f0732171afc in QCoreApplication::notifyInternal (this=0x9899e0, receiver=0x22fc2b0, event=0x22a0210) at kernel/qcoreapplication.cpp:787
#41 0x00007f073217551f in sendEvent (event=0x22a0210, receiver=0x22fc2b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x92c430) at kernel/qcoreapplication.cpp:1428
#43 0x00007f073219ca73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#45 0x00007f0729535a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f0729536258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f0729536429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f073219ced6 in QEventDispatcherGlib::processEvents (this=0x92df40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#49 0x00007f07315ca07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f0732170cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f0732170ef7 in QEventLoop::exec (this=0x7fffc44ad580, flags=...) at kernel/qeventloop.cpp:201
#52 0x00007f0732175789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#53 0x00007f07352b51a3 in kdemain (argc=1, argv=0x7fffc44ad968) at ../../../../plasma/desktop/shell/main.cpp:120
#54 0x00007f0734ef630d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fffc44ad968, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffc44ad958) at libc-start.c:226
#55 0x0000000000400671 in _start ()

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

Possible duplicates by query: bug 285926, bug 285855, bug 285520, bug 285518, bug 285494.

Reported using DrKonqi
Comment 1 Lamarque V. Souza 2011-11-06 22:52:15 UTC

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