Application: plasma-desktop (0.3) KDE Platform Version: 4.4.4 (KDE 4.4.4) Qt Version: 4.6.2 Operating System: Linux 2.6.32-22-server x86_64 Distribution: Ubuntu 10.04 LTS -- Information about the crash: moving any widget from a panel to the desktop will cause kwin to crash. The crash can be reproduced every time. -- Backtrace: Application: Plasma Workspace (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0x7f0ac20bc760 (LWP 28394))] Thread 3 (Thread 0x7f0a9e47b710 (LWP 28397)): #0 pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211 #1 0x00007f0ac0597692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2af09d0, time=30000) at thread/qwaitcondition_unix.cpp:85 #2 QWaitCondition::wait (this=<value optimized out>, mutex=0x2af09d0, time=30000) at thread/qwaitcondition_unix.cpp:159 #3 0x00007f0ac058ca79 in QThreadPoolThread::run (this=0x2aee090) at concurrent/qthreadpool.cpp:140 #4 0x00007f0ac0596775 in QThreadPrivate::start (arg=0x2aee090) at thread/qthread_unix.cpp:248 #5 0x00007f0ac03069ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #6 0x00007f0abf0b96cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #7 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f0a96eba710 (LWP 28398)): #0 0x00007f0abf0acf53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007f0abba714a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007f0abba718fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007f0ac06b4566 in QEventDispatcherGlib::processEvents (this=0x2c31330, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007f0ac0689992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007f0ac0689d6c in QEventLoop::exec (this=0x7f0a96eb9db0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007f0ac0593d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007f0ac066a178 in QInotifyFileSystemWatcherEngine::run (this=0x2c30890) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007f0ac0596775 in QThreadPrivate::start (arg=0x2c30890) at thread/qthread_unix.cpp:248 #9 0x00007f0ac03069ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #10 0x00007f0abf0b96cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f0ac20bc760 (LWP 28394)): [KCrash Handler] #5 QGraphicsLinearLayout::d_func (this=0x0, item=0x278ba70) at graphicsview/qgraphicslinearlayout.h:109 #6 QGraphicsLinearLayout::removeItem (this=0x0, item=0x278ba70) at graphicsview/qgraphicslinearlayout.cpp:311 #7 0x00007f0ab40da93a in ?? () from /usr/lib/libkdeinit4_plasma-desktop.so #8 0x00007f0abf87d1df in QWidget::event (this=0x3306140, event=0x7fff328f0370) at kernel/qwidget.cpp:7983 #9 0x00007f0abf82722c in QApplicationPrivate::notify_helper (this=0x22fae10, receiver=0x3306140, e=0x7fff328f0370) at kernel/qapplication.cpp:4300 #10 0x00007f0abf82decb in QApplication::notify (this=0x22f1610, receiver=0x3306140, e=0x7fff328f0370) at kernel/qapplication.cpp:3865 #11 0x00007f0ac0bd2606 in KApplication::notify (this=0x22f1610, receiver=0x3306140, event=0x7fff328f0370) at ../../kdeui/kernel/kapplication.cpp:302 #12 0x00007f0ac068b06c in QCoreApplication::notifyInternal (this=0x22f1610, receiver=0x3306140, event=0x7fff328f0370) at kernel/qcoreapplication.cpp:704 #13 0x00007f0abf82d0ae in QCoreApplication::sendEvent (receiver=0x3306140, event=0x7fff328f0370, alienWidget=0x0, nativeWidget=0x2a37860, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #14 QApplicationPrivate::sendMouseEvent (receiver=0x3306140, event=0x7fff328f0370, alienWidget=0x0, nativeWidget=0x2a37860, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965 #15 0x00007f0abf8acf65 in QETWidget::translateMouseEvent (this=0x2a37860, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368 #16 0x00007f0abf8ab8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff328f0c90) at kernel/qapplication_x11.cpp:3501 #17 0x00007f0abf8d7882 in x11EventSourceDispatch (s=0x22fc490, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #18 0x00007f0abba6d8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #19 0x00007f0abba71748 in ?? () from /lib/libglib-2.0.so.0 #20 0x00007f0abba718fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #21 0x00007f0ac06b4513 in QEventDispatcherGlib::processEvents (this=0x22fa6b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #22 0x00007f0abf8d746e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #23 0x00007f0ac0689992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #24 0x00007f0ac0689d6c in QEventLoop::exec (this=0x7fff328f0fc0, flags=) at kernel/qeventloop.cpp:201 #25 0x00007f0ac068daab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #26 0x00007f0ab40c9fb2 in kdemain () from /usr/lib/libkdeinit4_plasma-desktop.so #27 0x00000000004070f3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717 #28 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209 #29 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402 #30 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845 Reported using DrKonqi
please install the debug package for kdebase-workspace and paste the new crash log
Let me know if you need anything else. This is new in 4.4.4 also. Application: Plasma Workspace (kdeinit4), signal: Segmentation fault [Current thread is 1 (Thread 0x7fdb879a0760 (LWP 29768))] Thread 2 (Thread 0x7fdb60bec710 (LWP 29772)): #0 0x00007fdb84990f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87 #1 0x00007fdb813554a9 in ?? () from /lib/libglib-2.0.so.0 #2 0x00007fdb813558fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #3 0x00007fdb85f98566 in QEventDispatcherGlib::processEvents (this=0x13fecc0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414 #4 0x00007fdb85f6d992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #5 0x00007fdb85f6dd6c in QEventLoop::exec (this=0x7fdb60bebdb0, flags=) at kernel/qeventloop.cpp:201 #6 0x00007fdb85e77d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487 #7 0x00007fdb85f4e178 in QInotifyFileSystemWatcherEngine::run (this=0x13fe690) at io/qfilesystemwatcher_inotify.cpp:248 #8 0x00007fdb85e7a775 in QThreadPrivate::start (arg=0x13fe690) at thread/qthread_unix.cpp:248 #9 0x00007fdb85bea9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300 #10 0x00007fdb8499d6cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112 #11 0x0000000000000000 in ?? () Thread 1 (Thread 0x7fdb879a0760 (LWP 29768)): [KCrash Handler] #5 QGraphicsLinearLayout::d_func (this=0x0, item=0x19bd710) at graphicsview/qgraphicslinearlayout.h:109 #6 QGraphicsLinearLayout::removeItem (this=0x0, item=0x19bd710) at graphicsview/qgraphicslinearlayout.cpp:311 #7 0x00007fdb799be93a in PanelAppletOverlay::mouseMoveEvent (this=0x1b53510, event=0x7fff1b5b75d0) at ../../../../plasma/desktop/shell/panelappletoverlay.cpp:331 #8 0x00007fdb851611df in QWidget::event (this=0x1b53510, event=0x7fff1b5b75d0) at kernel/qwidget.cpp:7983 #9 0x00007fdb8510b22c in QApplicationPrivate::notify_helper (this=0xb79d50, receiver=0x1b53510, e=0x7fff1b5b75d0) at kernel/qapplication.cpp:4300 #10 0x00007fdb85111ecb in QApplication::notify (this=0xb70610, receiver=0x1b53510, e=0x7fff1b5b75d0) at kernel/qapplication.cpp:3865 #11 0x00007fdb864b6606 in KApplication::notify (this=0xb70610, receiver=0x1b53510, event=0x7fff1b5b75d0) at ../../kdeui/kernel/kapplication.cpp:302 #12 0x00007fdb85f6f06c in QCoreApplication::notifyInternal (this=0xb70610, receiver=0x1b53510, event=0x7fff1b5b75d0) at kernel/qcoreapplication.cpp:704 #13 0x00007fdb851110ae in QCoreApplication::sendEvent (receiver=0x1b53510, event=0x7fff1b5b75d0, alienWidget=0x0, nativeWidget=0x16b8f80, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #14 QApplicationPrivate::sendMouseEvent (receiver=0x1b53510, event=0x7fff1b5b75d0, alienWidget=0x0, nativeWidget=0x16b8f80, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:2965 #15 0x00007fdb85190f65 in QETWidget::translateMouseEvent (this=0x16b8f80, event=<value optimized out>) at kernel/qapplication_x11.cpp:4368 #16 0x00007fdb8518f8ac in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff1b5b7ef0) at kernel/qapplication_x11.cpp:3501 #17 0x00007fdb851bb882 in x11EventSourceDispatch (s=0xb7b380, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146 #18 0x00007fdb813518c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #19 0x00007fdb81355748 in ?? () from /lib/libglib-2.0.so.0 #20 0x00007fdb813558fc in g_main_context_iteration () from /lib/libglib-2.0.so.0 #21 0x00007fdb85f98513 in QEventDispatcherGlib::processEvents (this=0xb79560, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #22 0x00007fdb851bb46e in QGuiEventDispatcherGlib::processEvents (this=0x0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #23 0x00007fdb85f6d992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #24 0x00007fdb85f6dd6c in QEventLoop::exec (this=0x7fff1b5b8220, flags=) at kernel/qeventloop.cpp:201 #25 0x00007fdb85f71aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #26 0x00007fdb799adfb2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:112 #27 0x00000000004070f3 in launch (argc=1, _name=<value optimized out>, args=<value optimized out>, cwd=<value optimized out>, envc=0, envs=<value optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40a4f9 "0") at ../../kinit/kinit.cpp:717 #28 0x0000000000407cb0 in handle_launcher_request (sock=8, who=<value optimized out>) at ../../kinit/kinit.cpp:1209 #29 0x000000000040823a in handle_requests (waitForPid=0) at ../../kinit/kinit.cpp:1402 #30 0x0000000000408e22 in main (argc=4, argv=<value optimized out>, envp=<value optimized out>) at ../../kinit/kinit.cpp:1845
is it OK ? Index: plasma/desktop/shell/panelappletoverlay.cpp =================================================================== --- plasma/desktop/shell/panelappletoverlay.cpp (révision 1132806) +++ plasma/desktop/shell/panelappletoverlay.cpp (copie de travail) @@ -328,8 +328,10 @@ m_spacer = new AppletMoveSpacer(m_applet); m_spacer->setMinimumSize(m_applet->geometry().size()); m_spacer->setMaximumSize(m_applet->geometry().size()); - m_layout->removeItem(m_applet); - m_layout->insertItem(m_index, m_spacer); + if (m_layout) { + m_layout->removeItem(m_applet); + m_layout->insertItem(m_index, m_spacer); + } } QPoint p = mapToParent(event->pos());
SVN commit 1133542 by nlecureuil: Fix crash when moving widget from panel to desktop FIXED-IN: 4.4.5 BUG:240399 M +2 -0 panelappletoverlay.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1133542
Thanks for the patch Nicolas. I don't have a test environment set up right now, but it appears this is probably the cause of the problem. Thanks for the speedy reply.
SVN commit 1133543 by nlecureuil: forward port commit 1133541 CCBUG: 240399 M +2 -0 panelappletoverlay.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1133543
*** Bug 241546 has been marked as a duplicate of this bug. ***
Created attachment 48327 [details] New crash information added by DrKonqi Plasma desktop è andato in crash dopo che volevo aggiungere/spostare nuovi oggetti al pannello..
*** Bug 242831 has been marked as a duplicate of this bug. ***
*** Bug 246091 has been marked as a duplicate of this bug. ***
*** Bug 249240 has been marked as a duplicate of this bug. ***
*** Bug 253945 has been marked as a duplicate of this bug. ***
*** Bug 257048 has been marked as a duplicate of this bug. ***
*** Bug 259011 has been marked as a duplicate of this bug. ***
*** Bug 259464 has been marked as a duplicate of this bug. ***
*** Bug 261352 has been marked as a duplicate of this bug. ***
Created attachment 55737 [details] New crash information added by DrKonqi I was trying to move a panel from the bottom of the screen and the crash occured.
*** Bug 264870 has been marked as a duplicate of this bug. ***