Bug 266092 - Closing interactive console while executing a script crashes plasma
Summary: Closing interactive console while executing a script crashes plasma
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-11 17:33 UTC by a.pronobis
Modified: 2013-03-05 16:48 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description a.pronobis 2011-02-11 17:33:59 UTC
Version:           unspecified (using KDE 4.6.0) 
OS:                Linux

If I press escape while the script in the interactive console is being executed, plasma crashes with the following backtrace:


Application: Plasma Desktop Shell (plasma-desktop), signal: Aborted
[Current thread is 1 (Thread 0x7f031da52780 (LWP 1555))]

Thread 6 (Thread 0x7f02fa77a700 (LWP 1578)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f031d3001dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f031d2fec78 in __libc_free (mem=0x7f031d5ffe40) at malloc.c:3736
#3  0x00007f031a6dce3a in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x23662c0, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:392
#4  0x00007f031a5bbac4 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302
#5  0x00007f031a5bc286 in ~__pthread_cleanup_class (arg=0x7f031a9e1f40) at /usr/include/pthread.h:545
#6  QThreadPrivate::start (arg=0x7f031a9e1f40) at thread/qthread_unix.cpp:271
#7  0x00007f031285c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#8  0x00007f031d36792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f02f9f79700 (LWP 1584)):
#0  0x00007f031d35b203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f03121aa009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f03121aa45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f031a6dc1e6 in QEventDispatcherGlib::processEvents (this=0x23ecf40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f031a6aea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f031a6aedec in QEventLoop::exec (this=0x7f02f9f78d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f031a5b92fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f031a68e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x23f0330) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f031a5bc27e in QThreadPrivate::start (arg=0x23f0330) at thread/qthread_unix.cpp:266
#9  0x00007f031285c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007f031d36792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f02f89eb700 (LWP 1602)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007f031d3001dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007f031d2fec78 in __libc_free (mem=0x7f031d5ffe40) at malloc.c:3736
#3  0x00007f031a6dc601 in socketNotifierSourceCheck (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:92
#4  0x00007f03121a966a in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x00007f03121aa023 in ?? () from /lib/libglib-2.0.so.0
#6  0x00007f03121aa45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x00007f031a6dc193 in QEventDispatcherGlib::processEvents (this=0x24f8db0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#8  0x00007f031a6aea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#9  0x00007f031a6aedec in QEventLoop::exec (this=0x7f02f89ead90, flags=) at kernel/qeventloop.cpp:201
#10 0x00007f031a5b92fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#11 0x00007f031a68e5f8 in QInotifyFileSystemWatcherEngine::run (this=0x246e290) at io/qfilesystemwatcher_inotify.cpp:248
#12 0x00007f031a5bc27e in QThreadPrivate::start (arg=0x246e290) at thread/qthread_unix.cpp:266
#13 0x00007f031285c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#14 0x00007f031d36792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f02f2874700 (LWP 25792)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f0317c1f334 in QTWTF::TCMalloc_PageHeap::scavengerThread (this=0x7f0317f2a160) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:2359
#2  0x00007f0317c1f369 in QTWTF::TCMalloc_PageHeap::runScavengerThread (context=0x7f0317f38234) at ../3rdparty/javascriptcore/JavaScriptCore/wtf/FastMalloc.cpp:1464
#3  0x00007f031285c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007f031d36792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f02ead17700 (LWP 32079)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f031a5bcda2 in wait (this=<value optimized out>, mutex=0x3dc8cc0, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x3dc8cc0, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f031a5b1da2 in QThreadPoolThread::run (this=0x3d9dea0) at concurrent/qthreadpool.cpp:140
#4  0x00007f031a5bc27e in QThreadPrivate::start (arg=0x3d9dea0) at thread/qthread_unix.cpp:266
#5  0x00007f031285c971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f031d36792d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f031da52780 (LWP 1555)):
[KCrash Handler]
#6  0x00007f031d2b4ba5 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#7  0x00007f031d2b86b0 in abort () at abort.c:92
#8  0x00007f031d2ee43b in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#9  0x00007f031d2f84b6 in malloc_printerr (action=3, str=0x7f031d3cc078 "double free or corruption (out)", ptr=<value optimized out>) at malloc.c:6283
#10 0x00007f031d2fec83 in __libc_free (mem=<value optimized out>) at malloc.c:3738
#11 0x00007f031a6c1d5f in QObjectPrivate::deleteChildren (this=0x46921b0) at kernel/qobject.cpp:1957
#12 0x00007f0319a72168 in QWidget::~QWidget (this=0x47389d0, __in_chrg=<value optimized out>) at kernel/qwidget.cpp:1589
#13 0x00007f031d641779 in InteractiveConsole::~InteractiveConsole (this=0x47389d0, __in_chrg=<value optimized out>) at ../../../../plasma/desktop/shell/interactiveconsole.cpp:188
#14 0x00007f031a6c1c08 in QObject::event (this=0x47389d0, e=0x613) at kernel/qobject.cpp:1202
#15 0x00007f0319a6c6df in QWidget::event (this=0x47389d0, event=0x49c5d70) at kernel/qwidget.cpp:8646
#16 0x00007f0319a16fdc in QApplicationPrivate::notify_helper (this=0x1b2a5c0, receiver=0x47389d0, e=0x49c5d70) at kernel/qapplication.cpp:4396
#17 0x00007f0319a1caed in QApplication::notify (this=0x1b1ace0, receiver=0x47389d0, e=0x49c5d70) at kernel/qapplication.cpp:4277
#18 0x00007f031b3b4a36 in KApplication::notify (this=0x1b1ace0, receiver=0x47389d0, event=0x49c5d70) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f031a6afcdc in QCoreApplication::notifyInternal (this=0x1b1ace0, receiver=0x47389d0, event=0x49c5d70) at kernel/qcoreapplication.cpp:732
#20 0x00007f031a6b2c22 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1adc530) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1adc530) at kernel/qcoreapplication.cpp:1373
#22 0x00007f031a6dc653 in sendPostedEvents (s=0x1b2cd60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#23 postEventSourceDispatch (s=0x1b2cd60) at kernel/qeventdispatcher_glib.cpp:277
#24 0x00007f03121a6342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007f03121aa2a8 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007f03121aa45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00007f031a6dc193 in QEventDispatcherGlib::processEvents (this=0x1adbc20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#28 0x00007f0319ac9a4e in QGuiEventDispatcherGlib::processEvents (this=0x613, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f031a6aea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007f031a6aedec in QEventLoop::exec (this=0x7fffdce279f0, flags=) at kernel/qeventloop.cpp:201
#31 0x00007f031c1f49a0 in WorkspaceScripting::AppInterface::sleep (this=<value optimized out>, ms=300) at ../../../libs/plasmagenericshell/scripting/appinterface.cpp:153
#32 0x00007f031c1f56c0 in WorkspaceScripting::AppInterface::qt_metacall (this=0x2add410, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffdce286e0) at ./appinterface.moc:106
#33 0x00007f0317c8c9a0 in QScript::callQtMethod (exec=<value optimized out>, callType=<value optimized out>, thisQObject=<value optimized out>, scriptArgs=<value optimized out>, meta=<value optimized out>, initialIndex=<value optimized out>, maybeOverloaded=true) at bridge/qscriptqobject.cpp:960
#34 0x00007f0317c8e55e in QScript::QtFunction::execute (this=0x7f02e8285b80, exec=0x7f02e83000a8, thisValue=<value optimized out>, scriptArgs=...) at bridge/qscriptqobject.cpp:1015
#35 0x00007f0317c8e842 in QScript::QtFunction::call (exec=0x7f02e83000a8, callee=0x7f02e8285b80, thisValue=..., args=...) at bridge/qscriptqobject.cpp:1030
#36 0x00007f0317b90090 in QTJSC::NativeFuncWrapper::operator() (this=0x7fffdce288d0, exec=0x7f02e83000a8, jsobj=0x7f02e8285b80, thisValue=..., argList=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/CallData.cpp:46
#37 0x00007f0317b6a527 in QTJSC::cti_op_call_NotJSFunction (args=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:1771
#38 0x00007f03001ae6a5 in ?? ()
#39 0x7fffffff00000007 in ?? ()
#40 0x00007f02e8285b80 in ?? ()
#41 0x00007f020000000c in ?? ()
#42 0x0000000000000002 in ?? ()
#43 0x00007f02e8283ec0 in ?? ()
#44 0x00007f0200000004 in ?? ()
#45 0x00007f02e8300000 in ?? ()
#46 0x00007f02f80fa690 in ?? ()
#47 0x00007f02f816b000 in ?? ()
#48 0x00007f03001ad228 in ?? ()
#49 0x00007f02f8160540 in ?? ()
#50 0x00007f02e83000a8 in ?? ()
#51 0x00007fffdce28b80 in ?? ()
#52 0x00007f0317f15d58 in QTJSC::Profiler::s_sharedProfiler () from /usr/lib/libQtScript.so.4
#53 0x00007f02f8172800 in ?? ()
#54 0x00007f02e8300048 in ?? ()
#55 0x0000000000000005 in ?? ()
#56 0x00007f02f8160540 in ?? ()
#57 0x00007f02f8172800 in ?? ()
#58 0x00007f0317f15d58 in QTJSC::Profiler::s_sharedProfiler () from /usr/lib/libQtScript.so.4
#59 0x00007f02e8300000 in ?? ()
#60 0x00007f0317b1bab9 in execute (this=<value optimized out>, eval=<value optimized out>, callFrame=<value optimized out>, thisObj=<value optimized out>, globalRegisterOffset=<value optimized out>, scopeChain=<value optimized out>, exception=0x7fffdce28b80) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITCode.h:79
#61 QTJSC::Interpreter::execute (this=<value optimized out>, eval=<value optimized out>, callFrame=<value optimized out>, thisObj=<value optimized out>, globalRegisterOffset=<value optimized out>, scopeChain=<value optimized out>, exception=0x7fffdce28b80) at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:886
#62 0x00007f0317b1bd5b in QTJSC::Interpreter::execute (this=0x7f02f8160528, eval=0x7f02f817a420, callFrame=0x4a3b958, thisObj=0xffffffffffffffff, scopeChain=<value optimized out>, exception=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:803
#63 0x00007f0317c55a79 in QScriptEnginePrivate::evaluateHelper (this=0x48778a0, exec=0x4a3b958, sourceId=<value optimized out>, executable=<value optimized out>, compile=<value optimized out>) at api/qscriptengine.cpp:1359
#64 0x00007f0317c5d7c6 in QScriptEngine::evaluate (this=<value optimized out>, program=<value optimized out>, fileName=<value optimized out>, lineNumber=<value optimized out>) at api/qscriptengine.cpp:2606
#65 0x00007f031c1ffdb7 in WorkspaceScripting::ScriptEngine::evaluateScript (this=0x7fffdce28e20, script=<value optimized out>, path=<value optimized out>) at ../../../libs/plasmagenericshell/scripting/scriptengine.cpp:360
#66 0x00007f031d6413d1 in InteractiveConsole::evaluateScript (this=0x47389d0) at ../../../../plasma/desktop/shell/interactiveconsole.cpp:488
#67 0x00007f031d644434 in InteractiveConsole::qt_metacall (this=0x47389d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdce29160) at ./interactiveconsole.moc:103
#68 0x00007f031a6c7b27 in QMetaObject::activate (sender=0x24d60b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#69 0x00007f0319a0f852 in QAction::triggered (this=0x613, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#70 0x00007f0319a10f5b in QAction::activate (this=0x24d60b0, event=<value optimized out>) at kernel/qaction.cpp:1256
#71 0x00007f0319a13257 in QAction::event (this=0x613, e=<value optimized out>) at kernel/qaction.cpp:1182
#72 0x00007f031b2b19fd in KAction::event (this=0x613, event=0x7fffdce297d0) at ../../kdeui/actions/kaction.cpp:131
#73 0x00007f0319a16fdc in QApplicationPrivate::notify_helper (this=0x1b2a5c0, receiver=0x24d60b0, e=0x7fffdce297d0) at kernel/qapplication.cpp:4396
#74 0x00007f0319a1caed in QApplication::notify (this=0x1b1ace0, receiver=0x24d60b0, e=0x7fffdce297d0) at kernel/qapplication.cpp:4277
#75 0x00007f031b3b4a36 in KApplication::notify (this=0x1b1ace0, receiver=0x24d60b0, event=0x7fffdce297d0) at ../../kdeui/kernel/kapplication.cpp:311
#76 0x00007f031a6afcdc in QCoreApplication::notifyInternal (this=0x1b1ace0, receiver=0x24d60b0, event=0x7fffdce297d0) at kernel/qcoreapplication.cpp:732
#77 0x00007f0319a527d6 in sendEvent (this=<value optimized out>, e=0x7fffdce29dd0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#78 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffdce29dd0) at kernel/qshortcutmap.cpp:879
#79 0x00007f0319a545e7 in QShortcutMap::tryShortcutEvent (this=0x1b2a6e8, o=<value optimized out>, e=0x7fffdce29dd0) at kernel/qshortcutmap.cpp:364
#80 0x00007f0319a1e6e4 in QApplication::notify (this=0x1b1ace0, receiver=0x416ed60, e=0x7fffdce29dd0) at kernel/qapplication.cpp:3840
#81 0x00007f031b3b4a36 in KApplication::notify (this=0x1b1ace0, receiver=0x416ed60, event=0x7fffdce29dd0) at ../../kdeui/kernel/kapplication.cpp:311
#82 0x00007f031a6afcdc in QCoreApplication::notifyInternal (this=0x1b1ace0, receiver=0x416ed60, event=0x7fffdce29dd0) at kernel/qcoreapplication.cpp:732
#83 0x00007f0319ac44ba in QKeyMapper::sendKeyEvent (keyWidget=0x416ed60, grab=<value optimized out>, type=QEvent::KeyPress, code=69, modifiers=<value optimized out>, text=..., autorepeat=true, count=1, nativeScanCode=26, nativeVirtualKey=101, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1867
#84 0x00007f0319ac6ac0 in QKeyMapperPrivate::translateKeyEvent (this=0x1b65f10, keyWidget=0x416ed60, event=<value optimized out>, grab=19) at kernel/qkeymapper_x11.cpp:1837
#85 0x00007f0319a9dcb4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffdce2a9a0) at kernel/qapplication_x11.cpp:3429
#86 0x00007f0319aca0e2 in x11EventSourceDispatch (s=0x1b2de20, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#87 0x00007f03121a6342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#88 0x00007f03121aa2a8 in ?? () from /lib/libglib-2.0.so.0
#89 0x00007f03121aa45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#90 0x00007f031a6dc193 in QEventDispatcherGlib::processEvents (this=0x1adbc20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#91 0x00007f0319ac9a4e in QGuiEventDispatcherGlib::processEvents (this=0x613, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#92 0x00007f031a6aea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#93 0x00007f031a6aedec in QEventLoop::exec (this=0x7fffdce2acd0, flags=) at kernel/qeventloop.cpp:201
#94 0x00007f031c1f49a0 in WorkspaceScripting::AppInterface::sleep (this=<value optimized out>, ms=300) at ../../../libs/plasmagenericshell/scripting/appinterface.cpp:153
#95 0x00007f031c1f56c0 in WorkspaceScripting::AppInterface::qt_metacall (this=0x48f5be0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0x7fffdce2b9c0) at ./appinterface.moc:106
#96 0x00007f0317c8c9a0 in QScript::callQtMethod (exec=<value optimized out>, callType=<value optimized out>, thisQObject=<value optimized out>, scriptArgs=<value optimized out>, meta=<value optimized out>, initialIndex=<value optimized out>, maybeOverloaded=true) at bridge/qscriptqobject.cpp:960
#97 0x00007f0317c8e55e in QScript::QtFunction::execute (this=0x7f02e8705b80, exec=0x7f02e94190a8, thisValue=<value optimized out>, scriptArgs=...) at bridge/qscriptqobject.cpp:1015
#98 0x00007f0317c8e842 in QScript::QtFunction::call (exec=0x7f02e94190a8, callee=0x7f02e8705b80, thisValue=..., args=...) at bridge/qscriptqobject.cpp:1030
#99 0x00007f0317b90090 in QTJSC::NativeFuncWrapper::operator() (this=0x7fffdce2bbb0, exec=0x7f02e94190a8, jsobj=0x7f02e8705b80, thisValue=..., argList=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/CallData.cpp:46
#100 0x00007f0317b6a527 in QTJSC::cti_op_call_NotJSFunction (args=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:1771
#101 0x00007f03001cc6a5 in ?? ()
#102 0x7fffffff00000007 in ?? ()
#103 0x00007f02e8705b80 in ?? ()
#104 0x00007f020000000c in ?? ()
#105 0x0000000000000002 in ?? ()
#106 0x00007f02e8703ec0 in ?? ()
#107 0x00007f0200000004 in ?? ()
#108 0x00007f02e9419000 in ?? ()
#109 0x00007f02f80fa6e0 in ?? ()
#110 0x00007f02f816bc40 in ?? ()
#111 0x00007f03001cb228 in ?? ()
#112 0x00007f02f81174e8 in ?? ()
#113 0x00007f02e94190a8 in ?? ()
#114 0x00007fffdce2be60 in ?? ()
#115 0x00007f0317f15d58 in QTJSC::Profiler::s_sharedProfiler () from /usr/lib/libQtScript.so.4
#116 0x00007f02f80f1000 in ?? ()
#117 0x00007f02e9419048 in ?? ()
#118 0x0000000000000005 in ?? ()
#119 0x00007f02f81174e8 in ?? ()
#120 0x00007f02f80f1000 in ?? ()
#121 0x00007f0317f15d58 in QTJSC::Profiler::s_sharedProfiler () from /usr/lib/libQtScript.so.4
#122 0x00007f02e9419000 in ?? ()
#123 0x00007f0317b1bab9 in execute (this=<value optimized out>, eval=<value optimized out>, callFrame=<value optimized out>, thisObj=<value optimized out>, globalRegisterOffset=<value optimized out>, scopeChain=<value optimized out>, exception=0x7fffdce2be60) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITCode.h:79
#124 QTJSC::Interpreter::execute (this=<value optimized out>, eval=<value optimized out>, callFrame=<value optimized out>, thisObj=<value optimized out>, globalRegisterOffset=<value optimized out>, scopeChain=<value optimized out>, exception=0x7fffdce2be60) at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:886
#125 0x00007f0317b1bd5b in QTJSC::Interpreter::execute (this=0x7f02f81174d0, eval=0x7f02f815b3c8, callFrame=0x4465de8, thisObj=0xffffffffffffffff, scopeChain=<value optimized out>, exception=<value optimized out>) at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:803
#126 0x00007f0317c55a79 in QScriptEnginePrivate::evaluateHelper (this=0x48ec130, exec=0x4465de8, sourceId=<value optimized out>, executable=<value optimized out>, compile=<value optimized out>) at api/qscriptengine.cpp:1359
#127 0x00007f0317c5d7c6 in QScriptEngine::evaluate (this=<value optimized out>, program=<value optimized out>, fileName=<value optimized out>, lineNumber=<value optimized out>) at api/qscriptengine.cpp:2606
#128 0x00007f031c1ffdb7 in WorkspaceScripting::ScriptEngine::evaluateScript (this=0x7fffdce2c100, script=<value optimized out>, path=<value optimized out>) at ../../../libs/plasmagenericshell/scripting/scriptengine.cpp:360
#129 0x00007f031d6413d1 in InteractiveConsole::evaluateScript (this=0x47389d0) at ../../../../plasma/desktop/shell/interactiveconsole.cpp:488
#130 0x00007f031d644434 in InteractiveConsole::qt_metacall (this=0x47389d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffdce2c440) at ./interactiveconsole.moc:103
#131 0x00007f031a6c7b27 in QMetaObject::activate (sender=0x24d60b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xffffffffffffffff) at kernel/qobject.cpp:3280
#132 0x00007f0319a0f852 in QAction::triggered (this=0x613, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#133 0x00007f0319a10f5b in QAction::activate (this=0x24d60b0, event=<value optimized out>) at kernel/qaction.cpp:1256
#134 0x00007f0319a13257 in QAction::event (this=0x613, e=<value optimized out>) at kernel/qaction.cpp:1182
#135 0x00007f031b2b19fd in KAction::event (this=0x613, event=0x7fffdce2cab0) at ../../kdeui/actions/kaction.cpp:131
#136 0x00007f0319a16fdc in QApplicationPrivate::notify_helper (this=0x1b2a5c0, receiver=0x24d60b0, e=0x7fffdce2cab0) at kernel/qapplication.cpp:4396
#137 0x00007f0319a1caed in QApplication::notify (this=0x1b1ace0, receiver=0x24d60b0, e=0x7fffdce2cab0) at kernel/qapplication.cpp:4277
#138 0x00007f031b3b4a36 in KApplication::notify (this=0x1b1ace0, receiver=0x24d60b0, event=0x7fffdce2cab0) at ../../kdeui/kernel/kapplication.cpp:311
#139 0x00007f031a6afcdc in QCoreApplication::notifyInternal (this=0x1b1ace0, receiver=0x24d60b0, event=0x7fffdce2cab0) at kernel/qcoreapplication.cpp:732
#140 0x00007f0319a527d6 in sendEvent (this=<value optimized out>, e=0x7fffdce2d0b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#141 QShortcutMap::dispatchEvent (this=<value optimized out>, e=0x7fffdce2d0b0) at kernel/qshortcutmap.cpp:879
#142 0x00007f0319a545e7 in QShortcutMap::tryShortcutEvent (this=0x1b2a6e8, o=<value optimized out>, e=0x7fffdce2d0b0) at kernel/qshortcutmap.cpp:364
#143 0x00007f0319a1e6e4 in QApplication::notify (this=0x1b1ace0, receiver=0x416ed60, e=0x7fffdce2d0b0) at kernel/qapplication.cpp:3840
#144 0x00007f031b3b4a36 in KApplication::notify (this=0x1b1ace0, receiver=0x416ed60, event=0x7fffdce2d0b0) at ../../kdeui/kernel/kapplication.cpp:311
#145 0x00007f031a6afcdc in QCoreApplication::notifyInternal (this=0x1b1ace0, receiver=0x416ed60, event=0x7fffdce2d0b0) at kernel/qcoreapplication.cpp:732
#146 0x00007f0319ac44ba in QKeyMapper::sendKeyEvent (keyWidget=0x416ed60, grab=<value optimized out>, type=QEvent::KeyPress, code=69, modifiers=<value optimized out>, text=..., autorepeat=false, count=1, nativeScanCode=26, nativeVirtualKey=101, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1867
#147 0x00007f0319ac6ac0 in QKeyMapperPrivate::translateKeyEvent (this=0x1b65f10, keyWidget=0x416ed60, event=<value optimized out>, grab=19) at kernel/qkeymapper_x11.cpp:1837
#148 0x00007f0319a9dcb4 in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffdce2dc80) at kernel/qapplication_x11.cpp:3429
#149 0x00007f0319aca0e2 in x11EventSourceDispatch (s=0x1b2de20, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#150 0x00007f03121a6342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#151 0x00007f03121aa2a8 in ?? () from /lib/libglib-2.0.so.0
#152 0x00007f03121aa45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#153 0x00007f031a6dc193 in QEventDispatcherGlib::processEvents (this=0x1adbc20, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#154 0x00007f0319ac9a4e in QGuiEventDispatcherGlib::processEvents (this=0x613, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#155 0x00007f031a6aea02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#156 0x00007f031a6aedec in QEventLoop::exec (this=0x7fffdce2dfb0, flags=) at kernel/qeventloop.cpp:201
#157 0x00007f031a6b2ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#158 0x00007f031d645d23 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at ../../../../plasma/desktop/shell/main.cpp:118
#159 0x00007f031d29fd8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fffdce2e388) at libc-start.c:226
#160 0x0000000000400669 in _start ()


Reproducible: Always

Steps to Reproduce:
- Open interactive console
- Load a script
- Run the script
- Quickly press Esc

Actual Results:  
Plasma crash

Expected Results:  
Nothing? Or maybe closing after the script fully executes?
Comment 1 Aaron J. Seigo 2011-12-02 14:31:47 UTC
Git commit 1e7938ecc87889499eecbbdc54c396a4b5d65d1d by Aaron Seigo.
Committed on 02/12/2011 at 15:31.
Pushed by aseigo into branch 'master'.

exclude user events during sleep

BUG:266092

M  +1    -1    libs/plasmagenericshell/scripting/appinterface.cpp

http://commits.kde.org/kde-workspace/1e7938ecc87889499eecbbdc54c396a4b5d65d1d
Comment 2 Aaron J. Seigo 2011-12-02 14:32:12 UTC
Git commit f8cce2f40a3426979adc12b72bbe218a82ef9be5 by Aaron Seigo.
Committed on 02/12/2011 at 15:31.
Pushed by aseigo into branch 'KDE/4.7'.

exclude user events during sleep

BUG:266092

M  +1    -1    libs/plasmagenericshell/scripting/appinterface.cpp

http://commits.kde.org/kde-workspace/f8cce2f40a3426979adc12b72bbe218a82ef9be5
Comment 3 Marco Martin 2013-03-05 16:48:25 UTC
Git commit 5362e4e3b6ff6e04114dd7861595ef8aa47701f2 by Marco Martin, on behalf of Aaron Seigo.
Committed on 02/12/2011 at 15:31.
Pushed by mart into branch 'master'.

exclude user events during sleep

M  +1    -1    appinterface.cpp

http://commits.kde.org/plasma-framework/5362e4e3b6ff6e04114dd7861595ef8aa47701f2