Application that crashed: plasma-desktop Version of the application: 0.3 KDE Version: 4.3.2 (KDE 4.3.2) Qt Version: 4.5.2 Operating System: Linux 2.6.30-02063003-generic i686 Distribution: Ubuntu 9.04 What I was doing when the application crashed: crash occured when I clicked on the SMS widget (from KDE-Apps, installed via "Install new widgets") which was marked by a white X in a red box (script initialisation failed). -- Backtrace: Application: Plasma Workspace (kdeinit4), signal: Segmentation fault [Current thread is 0 (LWP 3505)] Thread 2 (Thread 0xa7c7eb90 (LWP 3506)): #0 0xb8076430 in __kernel_vsyscall () #1 0xb656a0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb674a2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7e70172 in QWaitCondition::wait (this=0xa699520, mutex=0xa69951c, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb77acac2 in QHostInfoAgent::run (this=0xa699510) at kernel/qhostinfo.cpp:260 #5 0xb7e6f132 in QThreadPrivate::start (arg=0xa699510) at thread/qthread_unix.cpp:188 #6 0xb65664ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb673b49e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb6073a20 (LWP 3505)): [KCrash Handler] #6 x_Plasma__AppletScript::contextualActions (this=0xaed5c00) at /usr/include/qt4/QtCore/qlist.h:111 #7 0xb5dd6003 in Plasma::Applet::contextualActions (this=0xab34de8) at /build/buildd/kde4libs-4.3.2/plasma/applet.cpp:1193 #8 0xb5df415a in Plasma::ContainmentPrivate::appletActions (this=0x9fa8018, desktopMenu=@0xbf8a6574, applet=0xab34de8, includeApplet=8) at /build/buildd/kde4libs-4.3.2/plasma/containment.cpp:570 #9 0xb5df447c in Plasma::ContainmentPrivate::showContextMenu (this=0x9fa8018, point=@0xbf8a65b8, screenPos=@0xbf8a65cc, includeApplet=<value optimized out>) at /build/buildd/kde4libs-4.3.2/plasma/containment.cpp:648 #10 0xb5df45e5 in Plasma::Containment::contextMenuEvent (this=0x9fc5af0, event=0xbf8a6b1c) at /build/buildd/kde4libs-4.3.2/plasma/containment.cpp:526 #11 0xb702d118 in QGraphicsItem::sceneEvent (this=0x9fc5af8, event=0xbf8a6b1c) at graphicsview/qgraphicsitem.cpp:5000 #12 0xb707d95f in QGraphicsWidget::sceneEvent (this=0x9fc5af0, event=0xbf8a6b1c) at graphicsview/qgraphicswidget.cpp:1110 #13 0xb70527bc in QGraphicsScenePrivate::sendEvent (this=0x9e32658, item=0x9fc5af8, event=0xbf8a6b1c) at graphicsview/qgraphicsscene.cpp:1159 #14 0xb705f09f in QGraphicsScene::contextMenuEvent (this=0x9e72780, contextMenuEvent=0xbf8a6b1c) at graphicsview/qgraphicsscene.cpp:3956 #15 0xb706004a in QGraphicsScene::event (this=0x9e72780, event=0xbf8a6b1c) at graphicsview/qgraphicsscene.cpp:3766 #16 0xb6a1fd3c in QApplicationPrivate::notify_helper (this=0x9de11e0, receiver=0x9e72780, e=0xbf8a6b1c) at kernel/qapplication.cpp:4056 #17 0xb6a2803e in QApplication::notify (this=0x9ddb6e8, receiver=0x9e72780, e=0xbf8a6b1c) at kernel/qapplication.cpp:3603 #18 0xb753049d in KApplication::notify (this=0x9ddb6e8, receiver=0x9e72780, event=0xbf8a6b1c) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302 #19 0xb7f63bcb in QCoreApplication::notifyInternal (this=0x9ddb6e8, receiver=0x9e72780, event=0xbf8a6b1c) at kernel/qcoreapplication.cpp:610 #20 0xb706d0a6 in QGraphicsView::contextMenuEvent (this=0xa8f5ac8, event=0xbf8a7110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #21 0xb6a7705c in QWidget::event (this=0xa8f5ac8, event=0xbf8a7110) at kernel/qwidget.cpp:7708 #22 0xb6e27a53 in QFrame::event (this=0xa8f5ac8, e=0xbf8a7110) at widgets/qframe.cpp:559 #23 0xb6ec7c2f in QAbstractScrollArea::viewportEvent (this=0xa8f5ac8, e=0x9cd97b08) at widgets/qabstractscrollarea.cpp:962 #24 0xb70729b2 in QGraphicsView::viewportEvent (this=0xa8f5ac8, event=0xbf8a7110) at graphicsview/qgraphicsview.cpp:2919 #25 0xb6eca235 in QAbstractScrollAreaFilter::eventFilter (this=0x9ec80d8, o=0xa749508, e=0xbf8a7110) at widgets/qabstractscrollarea_p.h:100 #26 0xb7f62dea in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9de11e0, receiver=0xa749508, event=0xbf8a7110) at kernel/qcoreapplication.cpp:726 #27 0xb6a1fd1a in QApplicationPrivate::notify_helper (this=0x9de11e0, receiver=0xa749508, e=0xbf8a7110) at kernel/qapplication.cpp:4052 #28 0xb6a2857d in QApplication::notify (this=0x9ddb6e8, receiver=0xa749508, e=0xbf8a7110) at kernel/qapplication.cpp:3845 #29 0xb753049d in KApplication::notify (this=0x9ddb6e8, receiver=0xa749508, event=0xbf8a7110) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302 #30 0xb7f63bcb in QCoreApplication::notifyInternal (this=0x9ddb6e8, receiver=0xa749508, event=0xbf8a7110) at kernel/qcoreapplication.cpp:610 #31 0xb6a2ae8e in QCoreApplication::sendSpontaneousEvent (receiver=0xa749508, event=0x9cd97b08) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #32 0xb6a984b7 in QETWidget::translateMouseEvent (this=0xa8f5ac8, event=0xbf8a877c) at kernel/qapplication_x11.cpp:4415 #33 0xb6a97085 in QApplication::x11ProcessEvent (this=0x9ddb6e8, event=0xbf8a877c) at kernel/qapplication_x11.cpp:3428 #34 0xb6ac237a in x11EventSourceDispatch (s=0x9de4068, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #35 0xb65b3b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #36 0xb65b70eb in ?? () from /usr/lib/libglib-2.0.so.0 #37 0xb65b7268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #38 0xb7f8f2f8 in QEventDispatcherGlib::processEvents (this=0x9de0ef8, flags={i = -1081439944}) at kernel/qeventdispatcher_glib.cpp:327 #39 0xb6ac1a75 in QGuiEventDispatcherGlib::processEvents (this=0x9de0ef8, flags={i = -1081439896}) at kernel/qguieventdispatcher_glib.cpp:202 #40 0xb7f621fa in QEventLoop::processEvents (this=0xbf8a89e0, flags={i = -1081439832}) at kernel/qeventloop.cpp:149 #41 0xb7f62642 in QEventLoop::exec (this=0xbf8a89e0, flags={i = -1081439768}) at kernel/qeventloop.cpp:201 #42 0xb7f64ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #43 0xb6a1fbb7 in QApplication::exec () at kernel/qapplication.cpp:3525 #44 0xb4bc52f0 in kdemain (argc=1, argv=0x9d77cb8) at /build/buildd/kdebase-workspace-4.3.2/plasma/shells/desktop/main.cpp:50 #45 0x0804e27d in launch (argc=1, _name=0x9d93654 "/usr/bin/plasma-desktop", args=0x9d9366c "", cwd=0x0, envc=0, envs=0x9d93670 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805136d "0") at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:677 #46 0x0804ea5d in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1169 #47 0x0804efe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1362 #48 0x0804fbca in main (argc=2, argv=0xbf8a91d4, envp=0xbf8a91e0) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1793 Reported using DrKonqi
- Do you know which engine(language) does this widget use ? It could be a bindings error or a bug in the widget itself. Thanks
I can not tell, but ist is the widget installed via widget explorer, which are hosted on kde-apps.org (I think). The crash also occurs when I put the widget on the desktop. There I can read "script initialization failed". Shortly after -> crash. Here the trace back Application: Plasma Workspace (kdeinit4), signal: Segmentation fault [Current thread is 0 (LWP 3300)] Thread 2 (Thread 0xa7c59b90 (LWP 3302)): #0 0xb8073430 in __kernel_vsyscall () #1 0xb65670e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0 #2 0xb67472ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6 #3 0xb7e6d172 in QWaitCondition::wait (this=0x9fbb240, mutex=0x9fbb23c, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #4 0xb77a9ac2 in QHostInfoAgent::run (this=0x9fbb230) at kernel/qhostinfo.cpp:260 #5 0xb7e6c132 in QThreadPrivate::start (arg=0x9fbb230) at thread/qthread_unix.cpp:188 #6 0xb65634ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0 #7 0xb673849e in clone () from /lib/tls/i686/cmov/libc.so.6 Thread 1 (Thread 0xb6070a20 (LWP 3300)): [KCrash Handler] #6 x_Plasma__AppletScript::contextualActions (this=0xac16720) at /usr/include/qt4/QtCore/qlist.h:111 #7 0xb5dd3003 in Plasma::Applet::contextualActions (this=0xaba4488) at /build/buildd/kde4libs-4.3.2/plasma/applet.cpp:1193 #8 0xb5df115a in Plasma::ContainmentPrivate::appletActions (this=0x9ac7068, desktopMenu=@0xbfa81e24, applet=0xaba4488, includeApplet=8) at /build/buildd/kde4libs-4.3.2/plasma/containment.cpp:570 #9 0xb5df147c in Plasma::ContainmentPrivate::showContextMenu (this=0x9ac7068, point=@0xbfa81e68, screenPos=@0xbfa81e7c, includeApplet=<value optimized out>) at /build/buildd/kde4libs-4.3.2/plasma/containment.cpp:648 #10 0xb5df15e5 in Plasma::Containment::contextMenuEvent (this=0x9b5d580, event=0xbfa823cc) at /build/buildd/kde4libs-4.3.2/plasma/containment.cpp:526 #11 0xb702a118 in QGraphicsItem::sceneEvent (this=0x9b5d588, event=0xbfa823cc) at graphicsview/qgraphicsitem.cpp:5000 #12 0xb707a95f in QGraphicsWidget::sceneEvent (this=0x9b5d580, event=0xbfa823cc) at graphicsview/qgraphicswidget.cpp:1110 #13 0xb704f7bc in QGraphicsScenePrivate::sendEvent (this=0x9858cd8, item=0x9b5d588, event=0xbfa823cc) at graphicsview/qgraphicsscene.cpp:1159 #14 0xb705c09f in QGraphicsScene::contextMenuEvent (this=0x9822310, contextMenuEvent=0xbfa823cc) at graphicsview/qgraphicsscene.cpp:3956 #15 0xb705d04a in QGraphicsScene::event (this=0x9822310, event=0xbfa823cc) at graphicsview/qgraphicsscene.cpp:3766 #16 0xb6a1cd3c in QApplicationPrivate::notify_helper (this=0x97aa2d0, receiver=0x9822310, e=0xbfa823cc) at kernel/qapplication.cpp:4056 #17 0xb6a2503e in QApplication::notify (this=0x97a4738, receiver=0x9822310, e=0xbfa823cc) at kernel/qapplication.cpp:3603 #18 0xb752d49d in KApplication::notify (this=0x97a4738, receiver=0x9822310, event=0xbfa823cc) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302 #19 0xb7f60bcb in QCoreApplication::notifyInternal (this=0x97a4738, receiver=0x9822310, event=0xbfa823cc) at kernel/qcoreapplication.cpp:610 #20 0xb706a0a6 in QGraphicsView::contextMenuEvent (this=0xa193f98, event=0xbfa829c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213 #21 0xb6a7405c in QWidget::event (this=0xa193f98, event=0xbfa829c0) at kernel/qwidget.cpp:7708 #22 0xb6e24a53 in QFrame::event (this=0xa193f98, e=0xbfa829c0) at widgets/qframe.cpp:559 #23 0xb6ec4c2f in QAbstractScrollArea::viewportEvent (this=0xa193f98, e=0xa6d4db08) at widgets/qabstractscrollarea.cpp:962 #24 0xb706f9b2 in QGraphicsView::viewportEvent (this=0xa193f98, event=0xbfa829c0) at graphicsview/qgraphicsview.cpp:2919 #25 0xb6ec7235 in QAbstractScrollAreaFilter::eventFilter (this=0xa202310, o=0xa2023e8, e=0xbfa829c0) at widgets/qabstractscrollarea_p.h:100 #26 0xb7f5fdea in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x97aa2d0, receiver=0xa2023e8, event=0xbfa829c0) at kernel/qcoreapplication.cpp:726 #27 0xb6a1cd1a in QApplicationPrivate::notify_helper (this=0x97aa2d0, receiver=0xa2023e8, e=0xbfa829c0) at kernel/qapplication.cpp:4052 #28 0xb6a2557d in QApplication::notify (this=0x97a4738, receiver=0xa2023e8, e=0xbfa829c0) at kernel/qapplication.cpp:3845 #29 0xb752d49d in KApplication::notify (this=0x97a4738, receiver=0xa2023e8, event=0xbfa829c0) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302 #30 0xb7f60bcb in QCoreApplication::notifyInternal (this=0x97a4738, receiver=0xa2023e8, event=0xbfa829c0) at kernel/qcoreapplication.cpp:610 #31 0xb6a27e8e in QCoreApplication::sendSpontaneousEvent (receiver=0xa2023e8, event=0xa6d4db08) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216 #32 0xb6a954b7 in QETWidget::translateMouseEvent (this=0xa193f98, event=0xbfa8402c) at kernel/qapplication_x11.cpp:4415 #33 0xb6a94085 in QApplication::x11ProcessEvent (this=0x97a4738, event=0xbfa8402c) at kernel/qapplication_x11.cpp:3428 #34 0xb6abf37a in x11EventSourceDispatch (s=0x97ad068, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #35 0xb65b0b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #36 0xb65b40eb in ?? () from /usr/lib/libglib-2.0.so.0 #37 0xb65b4268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #38 0xb7f8c2f8 in QEventDispatcherGlib::processEvents (this=0x97a9fa8, flags={i = -1079492120}) at kernel/qeventdispatcher_glib.cpp:327 #39 0xb6abea75 in QGuiEventDispatcherGlib::processEvents (this=0x97a9fa8, flags={i = -1079492072}) at kernel/qguieventdispatcher_glib.cpp:202 #40 0xb7f5f1fa in QEventLoop::processEvents (this=0xbfa84290, flags={i = -1079492008}) at kernel/qeventloop.cpp:149 #41 0xb7f5f642 in QEventLoop::exec (this=0xbfa84290, flags={i = -1079491944}) at kernel/qeventloop.cpp:201 #42 0xb7f61ae9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888 #43 0xb6a1cbb7 in QApplication::exec () at kernel/qapplication.cpp:3525 #44 0xb4bc22f0 in kdemain (argc=1, argv=0x9740cb8) at /build/buildd/kdebase-workspace-4.3.2/plasma/shells/desktop/main.cpp:50 #45 0x0804e27d in launch (argc=1, _name=0x9754824 "/usr/bin/plasma-desktop", args=0x975483c "", cwd=0x0, envc=0, envs=0x9754840 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805136d "0") at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:677 #46 0x0804ea5d in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1169 #47 0x0804efe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1362 #48 0x0804fbca in main (argc=2, argv=0xbfa84a84, envp=0xbfa84a90) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1793
SVN commit 1035437 by aseigo: if the script fails to initialize, then delete the script plugin and clean up after ourselves. should help prevent scriptengines from ending up in a bad state BUG:209697 M +5 -0 applet.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1035437