Bug 286197 - Crash when adding default panel
Summary: Crash when adding default panel
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 286852 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-09 15:39 UTC by mgolden
Modified: 2011-11-18 23:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mgolden 2011-11-09 15:39:42 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 had added an empty panel at the top of my screen.  I decided that I wanted to have another default panel, so I removed the empty panel (to which I had added one widget) and tried adding a default panel.

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

Thread 7 (Thread 0x7f91ace44700 (LWP 2478)):
#0  0x00007f91c42e1e70 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f91c42e2429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91ccf48f3e in QEventDispatcherGlib::processEvents (this=0x29578e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#3  0x00007f91ccf1ccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f91ccf1cef7 in QEventLoop::exec (this=0x7f91ace43cd0, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f91cce3427f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#6  0x00007f91cceffcbf in QInotifyFileSystemWatcherEngine::run (this=0x2956050) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f91cce36d05 in QThreadPrivate::start (arg=0x2956050) at thread/qthread_unix.cpp:331
#8  0x00007f91c15fb56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#9  0x00007f91c4deeefc in start_thread (arg=0x7f91ace44700) at pthread_create.c:304
#10 0x00007f91cfd6289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f91a6a31700 (LWP 2479)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f91cb3f0c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f91cb3f0d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f91c15fb56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4  0x00007f91c4deeefc in start_thread (arg=0x7f91a6a31700) at pthread_create.c:304
#5  0x00007f91cfd6289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f91a6230700 (LWP 2480)):
#0  0x00007f91c4df21fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x2b9e018) at pthread_mutex_unlock.c:290
#2  0x00007f91c42e0fe4 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f91c42e1dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f91c42e2429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f91ccf48f3e in QEventDispatcherGlib::processEvents (this=0x2b9d840, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f91ccf1ccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f91ccf1cef7 in QEventLoop::exec (this=0x7f91a622fd00, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f91cce3427f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#9  0x00007f91cce36d05 in QThreadPrivate::start (arg=0x2b9d1c0) at thread/qthread_unix.cpp:331
#10 0x00007f91c15fb56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#11 0x00007f91c4deeefc in start_thread (arg=0x7f91a6230700) at pthread_create.c:304
#12 0x00007f91cfd6289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f91632d2700 (LWP 2481)):
#0  0x00007f91c42e0fcb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f91c42e1dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91c42e2429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f91ccf48f3e in QEventDispatcherGlib::processEvents (this=0x2daa040, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f91ccf1ccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f91ccf1cef7 in QEventLoop::exec (this=0x7f91632d1cd0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f91cce3427f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f91cceffcbf in QInotifyFileSystemWatcherEngine::run (this=0x2da92a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f91cce36d05 in QThreadPrivate::start (arg=0x2da92a0) at thread/qthread_unix.cpp:331
#9  0x00007f91c15fb56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#10 0x00007f91c4deeefc in start_thread (arg=0x7f91632d2700) at pthread_create.c:304
#11 0x00007f91cfd6289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f915d59e700 (LWP 2489)):
#0  0x00007f91cfd56773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f91c42e1f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f91c42e2792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f915e07c516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f91c43072b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f91c15fb56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6  0x00007f91c4deeefc in start_thread (arg=0x7f915d59e700) at pthread_create.c:304
#7  0x00007f91cfd6289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9154be5700 (LWP 2495)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f91c9f4dfe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f91c9f4e019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f91c15fb56c in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4  0x00007f91c4deeefc in start_thread (arg=0x7f9154be5700) at pthread_create.c:304
#5  0x00007f91cfd6289d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f91d04807c0 (LWP 2477)):
[KCrash Handler]
#6  QGraphicsLayoutItemPrivate::hasHeightForWidth (this=0x61) at graphicsview/qgraphicslayoutitem.cpp:280
#7  0x00007f91cc8f5591 in QGridLayoutItem::hasDynamicConstraint (this=<optimized out>) at graphicsview/qgridlayoutengine.cpp:576
#8  0x00007f91cc8f66b2 in ensureDynamicConstraint (this=0x77bddb0) at graphicsview/qgridlayoutengine.cpp:1657
#9  QGridLayoutEngine::ensureDynamicConstraint (this=0x77bddb0) at graphicsview/qgridlayoutengine.cpp:1652
#10 0x00007f91cc8f6769 in QGridLayoutEngine::hasDynamicConstraint (this=0x77bddb0) at graphicsview/qgridlayoutengine.cpp:1677
#11 0x00007f91cc8faa98 in QGridLayoutEngine::sizeHint (this=0x77bddb0, styleInfo=..., which=Qt::MaximumSize, constraint=...) at graphicsview/qgridlayoutengine.cpp:1134
#12 0x00007f91cc88401a in QGraphicsGridLayout::sizeHint (this=<optimized out>, which=Qt::MaximumSize, constraint=...) at graphicsview/qgraphicsgridlayout.cpp:656
#13 0x00007f91cc8aebd9 in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x77bdca0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:169
#14 0x00007f91cc8af491 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 0x00007f91cc8ec231 in QGraphicsWidget::sizeHint (this=<optimized out>, which=<optimized out>, constraint=<optimized out>) at graphicsview/qgraphicswidget.cpp:743
#17 0x00007f91cc8aecaf in QGraphicsLayoutItemPrivate::effectiveSizeHints (this=0x53b95d0, constraint=...) at graphicsview/qgraphicslayoutitem.cpp:175
#18 0x00007f91cc8af491 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 0x00007f91b4c0f905 in SystemTray::TaskArea::adjustHiddentTasksWidget (this=0x4919a40) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:452
#21 0x00007f91b4c115d9 in SystemTray::TaskArea::addWidgetForTask (this=0x4919a40, task=0x5dc83c0) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:320
#22 0x00007f91b4c11926 in SystemTray::TaskArea::addTask (this=0x4919a40, task=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/ui/taskarea.cpp:196
#23 0x00007f91b4c12124 in SystemTray::TaskArea::qt_metacall (this=0x4919a40, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff4be05290) at ./taskarea.moc:89
#24 0x00007f91ccf30eba in QMetaObject::activate (sender=0x22fb0f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4be05290) at kernel/qobject.cpp:3278
#25 0x00007f91b4bf487f in SystemTray::Manager::taskAdded (this=<optimized out>, _t1=0x5dc83c0) at ./manager.moc:99
#26 0x00007f91b4bf4a95 in SystemTray::Manager::addTask (this=0x22fb0f0, task=0x5dc83c0) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:87
#27 0x00007f91b4bf4be4 in SystemTray::Manager::qt_metacall (this=0x22fb0f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff4be05400) at ./manager.moc:86
#28 0x00007f91ccf30eba in QMetaObject::activate (sender=0x22fac30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff4be05400) at kernel/qobject.cpp:3278
#29 0x00007f91b4bf508f in SystemTray::Protocol::taskCreated (this=<optimized out>, _t1=0x5dc83c0) at ./protocol.moc:91
#30 0x00007f91b4bfc178 in SystemTray::PlasmoidProtocol::addApplet (this=0x22fac30, appletName=..., id=<optimized out>, parent=0x487d1f0) at ../../../../../plasma/generic/applets/systemtray/protocols/plasmoid/plasmoidtaskprotocol.cpp:112
#31 0x00007f91b4bf46d6 in SystemTray::Manager::addApplet (this=<optimized out>, appletName=<optimized out>, parent=<optimized out>) at ../../../../../plasma/generic/applets/systemtray/core/manager.cpp:110
#32 0x00007f91b4c06a30 in SystemTray::Applet::checkDefaultApplets (this=0x487d1f0) at ../../../../../plasma/generic/applets/systemtray/ui/applet.cpp:737
#33 0x00007f91b4c07a4c in SystemTray::Applet::qt_metacall (this=0x487d1f0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x49373c0) at ./applet.moc:91
#34 0x00007f91ccf34a5e in QObject::event (this=0x487d1f0, e=<optimized out>) at kernel/qobject.cpp:1217
#35 0x00007f91cc8ec89b in QGraphicsWidget::event (this=0x487d1f0, event=0x5acab80) at graphicsview/qgraphicswidget.cpp:1455
#36 0x00007f91cc2ce424 in notify_helper (e=0x5acab80, receiver=0x487d1f0, this=0x1f1e980) at kernel/qapplication.cpp:4486
#37 QApplicationPrivate::notify_helper (this=0x1f1e980, receiver=0x487d1f0, e=0x5acab80) at kernel/qapplication.cpp:4458
#38 0x00007f91cc2d3291 in QApplication::notify (this=0x1f0a9d0, receiver=0x487d1f0, e=0x5acab80) at kernel/qapplication.cpp:4365
#39 0x00007f91cdbcc126 in KApplication::notify (this=0x1f0a9d0, receiver=0x487d1f0, event=0x5acab80) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007f91ccf1dafc in QCoreApplication::notifyInternal (this=0x1f0a9d0, receiver=0x487d1f0, event=0x5acab80) at kernel/qcoreapplication.cpp:787
#41 0x00007f91ccf2151f in sendEvent (event=0x5acab80, receiver=0x487d1f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#42 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1e68430) at kernel/qcoreapplication.cpp:1428
#43 0x00007f91ccf48a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#45 0x00007f91c42e1a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007f91c42e2258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f91c42e2429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f91ccf48ed6 in QEventDispatcherGlib::processEvents (this=0x1e69f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#49 0x00007f91cc37607e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007f91ccf1ccf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007f91ccf1cef7 in QEventLoop::exec (this=0x7fff4be05e60, flags=...) at kernel/qeventloop.cpp:201
#52 0x00007f91ccf21789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#53 0x00007f91d00611a3 in kdemain (argc=1, argv=0x7fff4be06248) at ../../../../plasma/desktop/shell/main.cpp:120
#54 0x00007f91cfca230d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff4be06248, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff4be06238) at libc-start.c:226
#55 0x0000000000400671 in _start ()

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

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

Reported using DrKonqi
Comment 1 Aaron J. Seigo 2011-11-09 16:19:06 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:06 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 Nicolas L. 2011-11-18 23:40:36 UTC
*** Bug 286852 has been marked as a duplicate of this bug. ***