Bug 289359

Summary: Add Panel -> Default Panel crashes immediately
Product: [Unmaintained] plasma4 Reporter: joachimrs
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: annma, cjjmccray
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 joachimrs 2011-12-19 15:15:50 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-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

Kubuntu fresh install on Sony Laptop and Intel i5 Sandy Bridge PC. On both everything works fine but not: Context Menu: Add Panel -> Default Panel. This one crashes on both fresh and fully updated installs.

Contrary to the main bug report, the crash does not appear when loging in. I can work fine if I don't use this context menu item.

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

Thread 9 (Thread 0x7f25b69c3700 (LWP 1468)):
#0  0x00007f25d8af2773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f25cd07df68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f25cd07e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f25d5ce4f3e in QEventDispatcherGlib::processEvents (this=0x2ae1620, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f25d5cb8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f25d5cb8ef7 in QEventLoop::exec (this=0x7f25b69c2db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f25d5bd027f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f25d5c9bcbf in QInotifyFileSystemWatcherEngine::run (this=0x2adeaa0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f25d5bd2d05 in QThreadPrivate::start (arg=0x2adeaa0) at thread/qthread_unix.cpp:331
#9  0x00007f25cdb8aefc in start_thread (arg=0x7f25b69c3700) at pthread_create.c:304
#10 0x00007f25d8afe89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f25b4f22700 (LWP 1469)):
#0  0x00007f25cdb8d034 in __pthread_mutex_lock (mutex=0x2cbd418) at pthread_mutex_lock.c:61
#1  0x00007f25cd07dfcc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f25cd07e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f25d5ce4f3e in QEventDispatcherGlib::processEvents (this=0x2cbaa80, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f25d5cb8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f25d5cb8ef7 in QEventLoop::exec (this=0x7f25b4f21db0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f25d5bd027f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f25d5c9bcbf in QInotifyFileSystemWatcherEngine::run (this=0x2a9bc20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f25d5bd2d05 in QThreadPrivate::start (arg=0x2a9bc20) at thread/qthread_unix.cpp:331
#9  0x00007f25cdb8aefc in start_thread (arg=0x7f25b4f22700) at pthread_create.c:304
#10 0x00007f25d8afe89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f25acbb5700 (LWP 1476)):
#0  0x00007f25d8af2773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f25cd07df68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f25cd07e792 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f25ad693516 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f25cd0a32b6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f25cdb8aefc in start_thread (arg=0x7f25acbb5700) at pthread_create.c:304
#6  0x00007f25d8afe89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f25a94b4700 (LWP 1729)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f25d5bd31ab in wait (time=18446744073709551615, this=0x2b363c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b2f3b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f25d19cd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2bb75d0, th=0x35c4d50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f25d19cfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b2f780, th=0x35c4d50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f25d19ceccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f25a94b3e00, parent=0x2bb75d0, th=0x35c4d50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f25d19ced5b in ThreadWeaver::Thread::run (this=0x35c4d50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f25d5bd2d05 in QThreadPrivate::start (arg=0x35c4d50) at thread/qthread_unix.cpp:331
#8  0x00007f25cdb8aefc in start_thread (arg=0x7f25a94b4700) at pthread_create.c:304
#9  0x00007f25d8afe89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f25aefbf700 (LWP 1730)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f25d5bd31ab in wait (time=18446744073709551615, this=0x2b363c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b2f3b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f25d19cd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2bb75d0, th=0x323b960) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f25d19cfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b2f780, th=0x323b960) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f25d19ceccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f25aefbee00, parent=0x2bb75d0, th=0x323b960) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f25d19ced5b in ThreadWeaver::Thread::run (this=0x323b960) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f25d5bd2d05 in QThreadPrivate::start (arg=0x323b960) at thread/qthread_unix.cpp:331
#8  0x00007f25cdb8aefc in start_thread (arg=0x7f25aefbf700) at pthread_create.c:304
#9  0x00007f25d8afe89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f25ad3b6700 (LWP 1731)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f25d5bd31ab in wait (time=18446744073709551615, this=0x2b363c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b2f3b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f25d19cd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2bb75d0, th=0x31730c0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f25d19cfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b2f780, th=0x31730c0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f25d19ceccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f25ad3b5e00, parent=0x2bb75d0, th=0x31730c0) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f25d19ced5b in ThreadWeaver::Thread::run (this=0x31730c0) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f25d5bd2d05 in QThreadPrivate::start (arg=0x31730c0) at thread/qthread_unix.cpp:331
#8  0x00007f25cdb8aefc in start_thread (arg=0x7f25ad3b6700) at pthread_create.c:304
#9  0x00007f25d8afe89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f25a6e96700 (LWP 1732)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f25d5bd31ab in wait (time=18446744073709551615, this=0x2b363c0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2b2f3b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f25d19cd864 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x2bb75d0, th=0x7f25b0010f50) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007f25d19cfe0b in ThreadWeaver::WorkingHardState::applyForWork (this=0x2b2f780, th=0x7f25b0010f50) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007f25d19ceccf in ThreadWeaver::ThreadRunHelper::run (this=0x7f25a6e95e00, parent=0x2bb75d0, th=0x7f25b0010f50) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007f25d19ced5b in ThreadWeaver::Thread::run (this=0x7f25b0010f50) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007f25d5bd2d05 in QThreadPrivate::start (arg=0x7f25b0010f50) at thread/qthread_unix.cpp:331
#8  0x00007f25cdb8aefc in start_thread (arg=0x7f25a6e96700) at pthread_create.c:304
#9  0x00007f25d8afe89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f25a6695700 (LWP 3978)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f25d2ce9fe2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f25d2cea019 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f25cdb8aefc in start_thread (arg=0x7f25a6695700) at pthread_create.c:304
#4  0x00007f25d8afe89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f25d92247a0 (LWP 1466)):
[KCrash Handler]
#6  0x00007f25d564b734 in QGraphicsLayoutItem::isLayout (this=0x3ce2e80) at graphicsview/qgraphicslayoutitem.cpp:868
#7  0x00007f25d564a6e2 in QGraphicsLayoutPrivate::activateRecursive (this=0x3cdcef0, item=0x3ce2e80) at graphicsview/qgraphicslayout_p.cpp:181
#8  0x00007f25d564a724 in QGraphicsLayoutPrivate::activateRecursive (this=0x3cdcef0, item=0x3cdb410) at graphicsview/qgraphicslayout_p.cpp:194
#9  0x00007f25d564a0db in QGraphicsLayout::activate (this=0x3cdb410) at graphicsview/qgraphicslayout.cpp:261
#10 0x00007f25d564a199 in QGraphicsLayout::widgetEvent (this=0x3cdb410, e=<optimized out>) at graphicsview/qgraphicslayout.cpp:389
#11 0x00007f25d568885a in QGraphicsWidget::event (this=<optimized out>, event=0x3cde3d0) at graphicsview/qgraphicswidget.cpp:1379
#12 0x00007f25d506a424 in notify_helper (e=0x3cde3d0, receiver=0x3cdbe10, this=0x211ac70) at kernel/qapplication.cpp:4486
#13 QApplicationPrivate::notify_helper (this=0x211ac70, receiver=0x3cdbe10, e=0x3cde3d0) at kernel/qapplication.cpp:4458
#14 0x00007f25d506f291 in QApplication::notify (this=0x2100f00, receiver=0x3cdbe10, e=0x3cde3d0) at kernel/qapplication.cpp:4365
#15 0x00007f25d6968126 in KApplication::notify (this=0x2100f00, receiver=0x3cdbe10, event=0x3cde3d0) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x00007f25d5cb9afc in QCoreApplication::notifyInternal (this=0x2100f00, receiver=0x3cdbe10, event=0x3cde3d0) at kernel/qcoreapplication.cpp:787
#17 0x00007f25d5cbd51f in sendEvent (event=0x3cde3d0, receiver=0x3cdbe10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x20af430) at kernel/qcoreapplication.cpp:1428
#19 0x00007f25d5ce4a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#21 0x00007f25cd07da5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007f25cd07e258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007f25cd07e429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f25d5ce4ed6 in QEventDispatcherGlib::processEvents (this=0x20b0f40, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#25 0x00007f25d511207e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x00007f25d5cb8cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007f25d5cb8ef7 in QEventLoop::exec (this=0x7fff095c1200, flags=...) at kernel/qeventloop.cpp:201
#28 0x00007f25d5cbd789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#29 0x00007f25d8dfd1a3 in kdemain (argc=1, argv=0x7fff095c15e8) at ../../../../plasma/desktop/shell/main.cpp:120
#30 0x00007f25d8a3e30d in __libc_start_main (main=0x400640 <main(int, char**)>, argc=1, ubp_av=0x7fff095c15e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff095c15d8) at libc-start.c:226
#31 0x0000000000400671 in _start ()

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

Possible duplicates by query: bug 289245, bug 288182, bug 287184, bug 286710, bug 286461.

Reported using DrKonqi
Comment 1 Anne-Marie Mahfouf 2011-12-19 15:49:31 UTC

*** This bug has been marked as a duplicate of bug 241685 ***
Comment 2 Chris McCray 2012-09-09 19:27:11 UTC
Created attachment 73777 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Right-clicked on KDE desktop, on the context menu clicked "Add Panels" chose the defauly panel and blam... KDE/Plasma crashed and restarted.

-- Backtrace (Reduced):
#6  0x000000302a3bd354 in QGraphicsLayoutItem::isLayout (this=0x3dfd820) at graphicsview/qgraphicslayoutitem.cpp:929
#7  0x000000302a3bc052 in QGraphicsLayoutPrivate::activateRecursive (this=0x3e719a0, item=0x3dfd820) at graphicsview/qgraphicslayout_p.cpp:181
#8  0x000000302a3bc094 in QGraphicsLayoutPrivate::activateRecursive (this=0x3e719a0, item=0x3e6fee0) at graphicsview/qgraphicslayout_p.cpp:194
#9  0x000000302a3bba6b in QGraphicsLayout::activate (this=0x3e6fee0) at graphicsview/qgraphicslayout.cpp:265
#10 0x000000302a3bbb29 in QGraphicsLayout::widgetEvent (this=0x3e6fee0, e=<optimized out>) at graphicsview/qgraphicslayout.cpp:393