Summary: | Rocs crashed when trying to execute Javascript. | ||
---|---|---|---|
Product: | [Applications] Rocs | Reporter: | mmellott |
Component: | general | Assignee: | Andreas Cord-Landwehr <cordlandwehr> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | cordlandwehr, mmellott |
Priority: | NOR | ||
Version: | 1.8 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/rocs/9e7c0230b90785498203e9fda1b7d396254d4b95 | Version Fixed In: | 4.11 |
Attachments: | New crash information added by DrKonqi |
Description
mmellott
2013-05-31 13:43:13 UTC
Please install the libqt4-script-dbg packages when the crash occurs again to provide debug information for qtscript internals, too. If you can paste the problematic script, that also would ease analyzing the crash. Did not save the script before crash. *** Bug 320538 has been marked as a duplicate of this bug. *** Created attachment 80616 [details]
New crash information added by DrKonqi
rocs (1.8.80) on KDE Platform 4.10.3 using Qt 4.8.4
- What I was doing when the application crashed:
Running a script. Had just stopped a script that was in progress.
- Custom settings of the application:
Built from source with latest (38a303bef84fb49c776fbabbc75f9e0fd1229952) master commits.
-- Backtrace (Reduced):
#6 data (this=0x8) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:135
[...]
#9 QScriptEngine::newQObject (this=0x0, object=0x2bcf2f0, ownership=QScriptEngine::QtOwnership, options=...) at api/qscriptengine.cpp:2197
#10 0x000000000042dda7 in MainWindow::executeScript (this=0x27389c0, mode=MainWindow::Execute, text=...) at /home/matt/rocs-source/App/Ui/MainWindow.cpp:978
#11 0x000000000042dc0b in MainWindow::executeScriptFull (this=0x27389c0, text=...) at /home/matt/rocs-source/App/Ui/MainWindow.cpp:956
#12 0x000000000041859e in MainWindow::qt_static_metacall (_o=0x27389c0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7fff99fcbf20) at /home/matt/rocs-build/App/moc_MainWindow.cpp:133
Can consistently reproduce crash by pressing "Stop" while script is running and then pressing "Run" to restart the script. Git commit 9e7c0230b90785498203e9fda1b7d396254d4b95 by Andreas Cord-Landwehr. Committed on 03/07/2013 at 14:55. Pushed by cordlandwehr into branch 'master'. Initialize global engine objects after engine. When execution is stopped, the current engine is removed. Hence, it is necessary to create it again before setting up global engine objects. M +2 -2 App/Ui/MainWindow.cpp M +11 -0 RocsCore/QtScriptBackend.cpp M +5 -0 RocsCore/QtScriptBackend.h http://commits.kde.org/rocs/9e7c0230b90785498203e9fda1b7d396254d4b95 |