Bug 249440

Summary: plasma-desktop sometimes crashes when opening or removing widgets
Product: [Unmaintained] plasma4 Reporter: usedonlytosignup
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: asraniel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description usedonlytosignup 2010-08-29 19:41:22 UTC
Version:           unspecified (using KDE 4.5.0) 
OS:                Linux

Application: plasma-desktop (0.3)
KDE Platform Version: 4.5.00 (KDE 4.5.0)
Qt Version: 4.6.3
Operating System: Linux 2.6.34-12-default i686
Distribution: "openSUSE 11.3 (i586)"

-- Information about the crash:
This only happens sometimes, I can reproduce it by adding and removing default panels. Sometimes it crashes when adding and sometimes when removing. I tried 10 times with adding and removing an Empty panel and it never crashed, this may be pure chance or related to the problem.

This is version 4.5.0 installled from http://download.opensuse.org/repositories/KDE:/Distro:/Factory/openSUSE_11.3/

The rpm is kdebase4-workspace-4.5.0-493.3.i586.

I am running OpenSUSE 11.3.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5a10710 (LWP 2355))]

Thread 2 (Thread 0xa9c3cb70 (LWP 3794)):
#0  0xffffe430 in __kernel_vsyscall ()
#1  0xb6d91125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb3bd8fa7 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0xb3cc01a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2304
#3  0xb3bd8fef in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0xb3cc01a0) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1438
#4  0xb6d8cb25 in start_thread () from /lib/libpthread.so.0
#5  0xb617946e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5a10710 (LWP 2355)):
[KCrash Handler]
#7  QGraphicsScene::addItem (this=0x8112c50, item=0x894afd0) at graphicsview/qgraphicsscene.cpp:2605
#8  0xb4ef52a9 in addContainment (this=0x8112c50, name=..., args=...) at /usr/src/debug/kdelibs-4.5.0/plasma/corona.cpp:237
#9  Plasma::Corona::addContainment (this=0x8112c50, name=..., args=...) at /usr/src/debug/kdelibs-4.5.0/plasma/corona.cpp:560
#10 0xb2d43e89 in WorkspaceScripting::ScriptEngine::createContainment (type=..., defaultPlugin=..., context=0xa715b0f8, engine=0xbff7b6d4)
    at /usr/src/debug/kdebase-workspace-4.5.0/libs/plasmagenericshell/scripting/scriptengine.cpp:123
#11 0xb2d44194 in WorkspaceScripting::ScriptEngine::newPanel (context=0xa715b0f8, engine=0xbff7b6d4) at /usr/src/debug/kdebase-workspace-4.5.0/libs/plasmagenericshell/scripting/scriptengine.cpp:99
#12 0xb3c1f7c5 in QScript::FunctionWrapper::proxyConstruct (exec=0x0, callee=0xa7083e00, args=...) at bridge/qscriptfunction.cpp:102
#13 0xb3b40f05 in QTJSC::NativeConstrWrapper::operator() (this=0xbff7b2b8, exec=0xa715b048, jsobj=0xa7083e00, argList=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/ConstructData.cpp:47
#14 0xb3ac2e28 in QTJSC::cti_op_construct_NotJSConstruct (args=0xbff7b53c) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:1808
#15 0xa755b913 in ?? ()
#16 0xb3aeeb42 in execute (this=0xa7595410, eval=0xbff7b53c, callFrame=0x8acc7d4, thisObj=0xa7080000, globalRegisterOffset=9, scopeChain=0xa75d0258, exception=0xbff7b4a0)
    at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITCode.h:79
#17 QTJSC::Interpreter::execute (this=0xa7595410, eval=0xbff7b53c, callFrame=0x8acc7d4, thisObj=0xa7080000, globalRegisterOffset=9, scopeChain=0xa75d0258, exception=0xbff7b4a0)
    at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:921
#18 0xb3aeeea5 in QTJSC::Interpreter::execute (this=0xa7595410, eval=0xbff7b53c, callFrame=0x8acc7d4, thisObj=0xa7080000, scopeChain=0xa75d0258, exception=0xbff7b4a0)
    at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:838
#19 0xb3bfaa09 in QScriptEnginePrivate::evaluateHelper (this=0x8f054a8, exec=0x8acc7d4, sourceId=-1487077016, executable=0xbff7b53c, compile=@0xbff7b58f) at api/qscriptengine.cpp:1219
#20 0xb3bffe57 in QScriptEngine::evaluate (this=0x0, program=..., fileName=..., lineNumber=1) at api/qscriptengine.cpp:2215
#21 0xb2d401fd in WorkspaceScripting::ScriptEngine::evaluateScript (this=0xbff7b6d4, script=..., path=...)
    at /usr/src/debug/kdebase-workspace-4.5.0/libs/plasmagenericshell/scripting/scriptengine.cpp:346
#22 0xb2e29fd5 in DesktopCorona::evaluateScripts (this=0x8112c50, scripts=...) at /usr/src/debug/kdebase-workspace-4.5.0/plasma/desktop/shell/desktopcorona.cpp:320
#23 0xb2e2a1ed in DesktopCorona::addPanel (this=0x8112c50, action=0x8c59338) at /usr/src/debug/kdebase-workspace-4.5.0/plasma/desktop/shell/desktopcorona.cpp:446
#24 0xb2e3398d in DesktopCorona::qt_metacall (this=0x8112c50, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbff7b8b8)
    at /usr/src/debug/kdebase-workspace-4.5.0/build/plasma/desktop/shell/desktopcorona.moc:109
#25 0xb6f06efd in QMetaObject::metacall (object=0x8112c50, cl=QMetaObject::InvokeMetaMethod, idx=45, argv=0xbff7b8b8) at kernel/qmetaobject.cpp:237
#26 0xb6f15fe8 in QMetaObject::activate (sender=0x87a1ba8, m=0xb6d6f6c8, local_signal_index=2, argv=0xbff7b8b8) at kernel/qobject.cpp:3295
#27 0xb68cccf5 in QMenu::triggered (this=0x87a1ba8, _t1=0x8c59338) at .moc/release-shared/moc_qmenu.cpp:164
#28 0xb68cdf91 in QMenuPrivate::_q_actionTriggered (this=0x87b5b20) at widgets/qmenu.cpp:1120
#29 0xb68d3363 in QMenu::qt_metacall (this=0x87a1ba8, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbff7ba58) at .moc/release-shared/moc_qmenu.cpp:105
#30 0xb6f06efd in QMetaObject::metacall (object=0x87a1ba8, cl=QMetaObject::InvokeMetaMethod, idx=35, argv=0xbff7ba58) at kernel/qmetaobject.cpp:237
#31 0xb6f15fe8 in QMetaObject::activate (sender=0x8c59338, m=0xb6d68d28, local_signal_index=1, argv=0xbff7ba58) at kernel/qobject.cpp:3295
#32 0xb6432a0d in QAction::triggered (this=0x8c59338, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#33 0xb6432cab in QAction::activate (this=0x8c59338, event=QAction::Trigger) at kernel/qaction.cpp:1255
#34 0xb68ccfb5 in QMenuPrivate::activateCausedStack (this=0x87b5b20, causedStack=..., action=0x8c59338, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1002
#35 0xb68d3c87 in QMenuPrivate::activateAction (this=0x87b5b20, action=0x8c59338, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1094
#36 0xb68d5058 in QMenu::mouseReleaseEvent (this=0x87a1ba8, e=0xbff7c224) at widgets/qmenu.cpp:2312
#37 0xb6492f00 in QWidget::event (this=0x87a1ba8, event=0xbff7c224) at kernel/qwidget.cpp:8044
#38 0xb68d50dc in QMenu::event (this=0x87a1ba8, e=0xbff7c224) at widgets/qmenu.cpp:2421
#39 0xb6439c64 in QApplicationPrivate::notify_helper (this=0x80a2e88, receiver=0x87a1ba8, e=0xbff7c224) at kernel/qapplication.cpp:4302
#40 0xb6442750 in QApplication::notify (this=0xbff7bf3c, receiver=0x87a1ba8, e=0xbff7c224) at kernel/qapplication.cpp:3867
#41 0xb751e2c1 in KApplication::notify (this=0x809c4a0, receiver=0x87a1ba8, event=0xbff7c224) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#42 0xb6f00e0e in QCoreApplication::notifyInternal (this=0x809c4a0, receiver=0x87a1ba8, event=0xbff7c224) at kernel/qcoreapplication.cpp:726
#43 0xb643ac4c in sendSpontaneousEvent (receiver=0x87a1ba8, event=0xbff7c224, alienWidget=0x0, nativeWidget=0x87a1ba8, buttonDown=0xb6d84078, lastMouseReceiver=..., spontaneous=true)
    at ../../src/corelib/kernel/qcoreapplication.h:218
#44 QApplicationPrivate::sendMouseEvent (receiver=0x87a1ba8, event=0xbff7c224, alienWidget=0x0, nativeWidget=0x87a1ba8, buttonDown=0xb6d84078, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2965
#45 0xb64c2766 in QETWidget::translateMouseEvent (this=0x87a1ba8, event=0xbff7c73c) at kernel/qapplication_x11.cpp:4314
#46 0xb64c173e in QApplication::x11ProcessEvent (this=0x809c4a0, event=0xbff7c73c) at kernel/qapplication_x11.cpp:3391
#47 0xb64ea570 in x11EventSourceDispatch (s=0x80a5af8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#48 0xb5c80b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0xb5c81350 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0xb5c8160e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0xb6f2cd4b in QEventDispatcherGlib::processEvents (this=0x80a2e40, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#52 0xb64ea19a in QGuiEventDispatcherGlib::processEvents (this=0x80a2e40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0xb6f0011d in QEventLoop::processEvents (this=0xbff7c9f0, flags=...) at kernel/qeventloop.cpp:149
#54 0xb6f00319 in QEventLoop::exec (this=0xbff7c9f0, flags=...) at kernel/qeventloop.cpp:201
#55 0xb68d0ed7 in QMenu::exec (this=0xbff7ca48, p=..., action=0x0) at widgets/qmenu.cpp:2063
#56 0xb4ee11ea in Plasma::ContainmentPrivate::showContextMenu (this=0x8305120, point=..., screenPos=..., includeApplet=true, isMouseEvent=true)
    at /usr/src/debug/kdelibs-4.5.0/plasma/containment.cpp:818
#57 0xb4ee140d in Plasma::Containment::contextMenuEvent (this=0x807f6e8, event=0xbff7d15c) at /usr/src/debug/kdelibs-4.5.0/plasma/containment.cpp:655
#58 0xb6a8d8be in QGraphicsItem::sceneEvent (this=0x807f6f0, event=0xbff7d15c) at graphicsview/qgraphicsitem.cpp:6515
#59 0xb6ae5856 in QGraphicsWidget::sceneEvent (this=0x807f6e8, event=0xbff7d15c) at graphicsview/qgraphicswidget.cpp:1123
#60 0xb6ab154e in QGraphicsScenePrivate::sendEvent (this=0x8111220, item=0x807f6f0, event=0xbff7d15c) at graphicsview/qgraphicsscene.cpp:1190
#61 0xb6ab1cee in QGraphicsScene::contextMenuEvent (this=0x8112c50, contextMenuEvent=0xbff7d15c) at graphicsview/qgraphicsscene.cpp:3561
#62 0xb6ac689c in QGraphicsScene::event (this=0x8112c50, event=0xbff7d15c) at graphicsview/qgraphicsscene.cpp:3361
#63 0xb6439c64 in QApplicationPrivate::notify_helper (this=0x80a2e88, receiver=0x8112c50, e=0xbff7d15c) at kernel/qapplication.cpp:4302
#64 0xb6441bf7 in QApplication::notify (this=0x809c4a0, receiver=0x8112c50, e=0xbff7d15c) at kernel/qapplication.cpp:3706
#65 0xb751e2c1 in KApplication::notify (this=0x809c4a0, receiver=0x8112c50, event=0xbff7d15c) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#66 0xb6f00e0e in QCoreApplication::notifyInternal (this=0x809c4a0, receiver=0x8112c50, event=0xbff7d15c) at kernel/qcoreapplication.cpp:726
#67 0xb6ada61c in sendEvent (this=0x843b950, event=0xbff7d85c) at ../../src/corelib/kernel/qcoreapplication.h:215
#68 QGraphicsView::contextMenuEvent (this=0x843b950, event=0xbff7d85c) at graphicsview/qgraphicsview.cpp:2813
#69 0xb6493cd4 in QWidget::event (this=0x843b950, event=0xbff7d85c) at kernel/qwidget.cpp:8211
#70 0xb688c765 in QFrame::event (this=0x843b950, e=0xbff7d85c) at widgets/qframe.cpp:557
#71 0xb691ae01 in QAbstractScrollArea::viewportEvent (this=0x843b950, e=0xbff7d85c) at widgets/qabstractscrollarea.cpp:1036
#72 0xb6ae3c8c in QGraphicsView::viewportEvent (this=0x843b950, event=0xbff7d85c) at graphicsview/qgraphicsview.cpp:2787
#73 0xb691d776 in viewportEvent (this=0x8309a90, o=0x849dac0, e=0xbff7d85c) at widgets/qabstractscrollarea_p.h:100
#74 QAbstractScrollAreaFilter::eventFilter (this=0x8309a90, o=0x849dac0, e=0xbff7d85c) at widgets/qabstractscrollarea_p.h:116
#75 0xb6f00fa6 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x80a2e88, receiver=0x849dac0, event=0xbff7d85c) at kernel/qcoreapplication.cpp:841
#76 0xb6439c34 in QApplicationPrivate::notify_helper (this=0x80a2e88, receiver=0x849dac0, e=0xbff7d85c) at kernel/qapplication.cpp:4298
#77 0xb6441fa8 in QApplication::notify (this=0x849dac0, receiver=0x849dac0, e=0xbff7d85c) at kernel/qapplication.cpp:3946
#78 0xb751e2c1 in KApplication::notify (this=0x809c4a0, receiver=0x849dac0, event=0xbff7d85c) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#79 0xb6f00e0e in QCoreApplication::notifyInternal (this=0x809c4a0, receiver=0x849dac0, event=0xbff7d85c) at kernel/qcoreapplication.cpp:726
#80 0xb64c2609 in sendSpontaneousEvent (this=0x843b950, event=0xbff7dd4c) at ../../src/corelib/kernel/qcoreapplication.h:218
#81 QETWidget::translateMouseEvent (this=0x843b950, event=0xbff7dd4c) at kernel/qapplication_x11.cpp:4385
#82 0xb64c173e in QApplication::x11ProcessEvent (this=0x809c4a0, event=0xbff7dd4c) at kernel/qapplication_x11.cpp:3391
#83 0xb64ea570 in x11EventSourceDispatch (s=0x80a5af8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#84 0xb5c80b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#85 0xb5c81350 in ?? () from /usr/lib/libglib-2.0.so.0
#86 0xb5c8160e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#87 0xb6f2cd4b in QEventDispatcherGlib::processEvents (this=0x80a2e40, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#88 0xb64ea19a in QGuiEventDispatcherGlib::processEvents (this=0x80a2e40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#89 0xb6f0011d in QEventLoop::processEvents (this=0xbff7e004, flags=...) at kernel/qeventloop.cpp:149
#90 0xb6f00319 in QEventLoop::exec (this=0xbff7e004, flags=...) at kernel/qeventloop.cpp:201
#91 0xb6f04c70 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#92 0xb6437164 in QApplication::exec () at kernel/qapplication.cpp:3581
#93 0xb2e290dd in kdemain (argc=1, argv=0x8098928) at /usr/src/debug/kdebase-workspace-4.5.0/plasma/desktop/shell/main.cpp:118
#94 0x0804e3f1 in _start ()

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

Possible duplicates by query: bug 248767, bug 248746, bug 245991, bug 241269, bug 219319.

Report to https://bugs.kde.org

Reproducible: Didn't try
Comment 1 Beat Wolf 2010-09-01 15:46:18 UTC

*** This bug has been marked as a duplicate of bug 205560 ***