Bug 286195

Summary: Add default painel
Product: [Unmaintained] plasma4 Reporter: Carlos Alberto <carlos.cabgj>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: gordan.ru
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 Carlos Alberto 2011-11-09 15:14:04 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 adding this default painel in may desk top when all turn black

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7fbf36450700 (LWP 1441)):
#0  0x00007fbf58a0b773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fbf4cf96f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbf4cf97429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbf55bfdf3e in QEventDispatcherGlib::processEvents (this=0x2ce2ae0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fbf55bd1cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbf55bd1ef7 in QEventLoop::exec (this=0x7fbf3644fdb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fbf55ae927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fbf55bb4cbf in QInotifyFileSystemWatcherEngine::run (this=0x2ce4a90) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fbf55aebd05 in QThreadPrivate::start (arg=0x2ce4a90) at thread/qthread_unix.cpp:331
#9  0x00007fbf4daa3efc in start_thread (arg=0x7fbf36450700) at pthread_create.c:304
#10 0x00007fbf58a1789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fbf349af700 (LWP 1442)):
#0  0x00007fbf4cf95ffa in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fbf4cf96dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbf4cf97429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbf55bfdf3e in QEventDispatcherGlib::processEvents (this=0x2ef8c70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fbf55bd1cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbf55bd1ef7 in QEventLoop::exec (this=0x7fbf349aedb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fbf55ae927f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fbf55bb4cbf in QInotifyFileSystemWatcherEngine::run (this=0x2ef8b60) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fbf55aebd05 in QThreadPrivate::start (arg=0x2ef8b60) at thread/qthread_unix.cpp:331
#9  0x00007fbf4daa3efc in start_thread (arg=0x7fbf349af700) at pthread_create.c:304
#10 0x00007fbf58a1789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fbf2952b700 (LWP 1793)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fbf52c02fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fbf52c03019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fbf4daa3efc in start_thread (arg=0x7fbf2952b700) at pthread_create.c:304
#4  0x00007fbf58a1789d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbf5912e7a0 (LWP 1440)):
[KCrash Handler]
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x0) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x00007fbf555aa591 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#8  0x00007fbf555ab6b2 in ensureDynamicConstraint (this=0x508f3a0) at graphicsview/qgridlayoutengine.cpp:1657
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x508f3a0) at graphicsview/qgridlayoutengine.cpp:1652
#10 0x00007fbf555ab769 in QGridLayoutEngine::hasDynamicConstraint (this=0x508f3a0) at graphicsview/qgridlayoutengine.cpp:1677
#11 0x00007fbf555afa98 in QGridLayoutEngine::sizeHint (this=0x508f3a0, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#12 0x00007fbf5553901a in QGraphicsGridLayout::sizeHint (this=<optimized out>, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#13 0x00007fbf55563bd9 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x508f290, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#14 0x00007fbf55564491 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 0x00007fbf555a1231 in QGraphicsWidget::sizeHint (this=<optimized out>, which=<optimized out>, constraint=<optimized out>) at graphicsview/qgraphicswidget.cpp:743
#17 0x00007fbf55563caf in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x508f1a0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#18 0x00007fbf55564491 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 0x00007fbf3f1d0905 in SystemTray::TaskArea::adjustHiddentTasksWidget (this=0x50174c0) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:452
#21 0x00007fbf3f1d25d9 in SystemTray::TaskArea::addWidgetForTask (this=0x50174c0, task=0x55135e0) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:320
#22 0x00007fbf3f1d2926 in SystemTray::TaskArea::addTask (this=0x50174c0, task=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:196
#23 0x00007fbf3f1d3124 in SystemTray::TaskArea::qt_metacall (this=0x50174c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe2d9feb0) at ./taskarea.moc:89
#24 0x00007fbf55be5eba in QMetaObject::activate (sender=0x27d3d70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe2d9feb0) at kernel/qobject.cpp:3278
#25 0x00007fbf3f1b587f in SystemTray::Manager::taskAdded (this=<optimized out>, _t1=0x55135e0) at ./manager.moc:99
#26 0x00007fbf3f1b5a95 in SystemTray::Manager::addTask (this=0x27d3d70, task=0x55135e0) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:87
#27 0x00007fbf3f1b5be4 in SystemTray::Manager::qt_metacall (this=0x27d3d70, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe2da0020) at ./manager.moc:86
#28 0x00007fbf55be5eba in QMetaObject::activate (sender=0x27d3930, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe2da0020) at kernel/qobject.cpp:3278
#29 0x00007fbf3f1b608f in SystemTray::Protocol::taskCreated (this=<optimized out>, _t1=0x55135e0) at ./protocol.moc:91
#30 0x00007fbf3f1bd178 in SystemTray::PlasmoidProtocol::addApplet (this=0x27d3930, appletName=..., id=<optimized out>, parent=0x50068b0) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:112
#31 0x00007fbf3f1b56d6 in SystemTray::Manager::addApplet (this=<optimized out>, appletName=<optimized out>, parent=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:110
#32 0x00007fbf3f1c7a30 in SystemTray::Applet::checkDefaultApplets (this=0x50068b0) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:737
#33 0x00007fbf3f1c8a4c in SystemTray::Applet::qt_metacall (this=0x50068b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x5096020) at ./applet.moc:91
#34 0x00007fbf55be9a5e in QObject::event (this=0x50068b0, e=<optimized out>) at kernel/qobject.cpp:1217
#35 0x00007fbf555a189b in QGraphicsWidget::event (this=0x50068b0, event=0x50974a0) at graphicsview/qgraphicswidget.cpp:1455
#36 0x00007fbf54f83424 in notify_helper (e=0x50974a0, receiver=0x50068b0, this=0x22abe20) at kernel/qapplication.cpp:4486
#37 QApplicationPrivate::notify_helper (this=0x22abe20, receiver=0x50068b0, e=0x50974a0) at kernel/qapplication.cpp:4458
#38 0x00007fbf54f88291 in QApplication::notify (this=0x229e100, receiver=0x50068b0, e=0x50974a0) at kernel/qapplication.cpp:4365
#39 0x00007fbf56881126 in KApplication::notify (this=0x229e100, receiver=0x50068b0, event=0x50974a0) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007fbf55bd2afc in QCoreApplication::notifyInternal (this=0x229e100, receiver=0x50068b0, event=0x50974a0) at kernel/qcoreapplication.cpp:787
#41 0x00007fbf55bd651f in sendEvent (event=0x50974a0, receiver=0x50068b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x223f430) at kernel/qcoreapplication.cpp:1428
#43 0x00007fbf55bfda73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#45 0x00007fbf4cf96a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fbf4cf97258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fbf4cf97429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fbf55bfded6 in QEventDispatcherGlib::processEvents (this=0x2240f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#49 0x00007fbf5502b07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007fbf55bd1cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007fbf55bd1ef7 in QEventLoop::exec (this=0x7fffe2da0a80, flags=...) at kernel/qeventloop.cpp:201
#52 0x00007fbf55bd6789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#53 0x00007fbf58d161a3 in kdemain (argc=1, argv=0x7fffe2da0e68) at ../../../../plasma/desktop/shell/main.cpp:120
#54 0x00007fbf5895730d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fffe2da0e68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe2da0e58) at libc-start.c:226
#55 0x0000000000400671 in _start ()

Possible duplicates by query: bug 286181, bug 286177, bug 285969, bug 285929, bug 285926.

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2011-11-09 16:19:05 UTC
Git commit 2d1deb4234aa3d43e2a7cc48fc1f6936bd2ff97c by Aaron Seigo.
Committed on 09/11/2011 at 17:11.
Pushed by aseigo into branch 'KDE/4.7'.

since the widget is being deleted, remove it from the collection

BUG:286197
BUG:286195
BUG:264750
BUG:277367
BUG:280326
BUG:280072
BUG:282552
BUG:283061
BUG:284603
BUG:286177
BUG:286181

M  +2    -2    plasma/generic/applets/systemtray/core/task.cpp

http://commits.kde.org/kde-workspace/2d1deb4234aa3d43e2a7cc48fc1f6936bd2ff97c
Comment 2 Aaron J. Seigo 2011-11-09 16:19:12 UTC
Git commit c4adbef26fc61a93c36981ed81cb741e00d63043 by Aaron Seigo.
Committed on 09/11/2011 at 17:11.
Pushed by aseigo into branch 'master'.

since the widget is being deleted, remove it from the collection

BUG:286197
BUG:286195
BUG:264750
BUG:277367
BUG:280326
BUG:280072
BUG:282552
BUG:283061
BUG:284603
BUG:286177
BUG:286181

M  +2    -2    plasma/generic/applets/systemtray/core/task.cpp

http://commits.kde.org/kde-workspace/c4adbef26fc61a93c36981ed81cb741e00d63043
Comment 3 gordan.ru 2011-11-12 07:06:47 UTC
Created attachment 65540 [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

- What I was doing when the application crashed:

1. Added default empty panel OR
2. Switch off my PC

-- Backtrace (Reduced):
#7  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x77) at graphicsview/qgraphicslayoutitem.cpp:280
#8  0x0677f458 in QGridLayoutItem::hasDynamicConstraint (this=0xa2e13d8) at graphicsview/qgridlayoutengine.cpp:576
#9  0x0678044e in ensureDynamicConstraint (this=0xaa4b600) at graphicsview/qgridlayoutengine.cpp:1657
#10 QGridLayoutEngine::ensureDynamicConstraint (this=0xaa4b600) at graphicsview/qgridlayoutengine.cpp:1652
#11 0x067804f0 in QGridLayoutEngine::hasDynamicConstraint (this=0xaa4b600) at graphicsview/qgridlayoutengine.cpp:1677