- Status Closed
- Percent Complete
- Task Type Bug Report
- Category ECMAScript
-
Assigned To
Andrew - Operating System All
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Anonymous Submitter - 27.07.2011
Last edited by Andrew - 23.04.2013
Opened by Anonymous Submitter - 27.07.2011
Last edited by Andrew - 23.04.2013
FS#149 - SIGABRT when trying to use entiy.setColor()
Script context:
Compare.js#413:
"green"
ECMA code:
QScriptValue REcmaSharedPointerEntity::setColor (QScriptContext* context, QScriptEngine* engine) { QScriptValue result = engine->undefinedValue(); // public function: can be called from ECMA wrapper of ECMA shell: REntity* self = getSelf("setColor", context); => Q_ASSERT(self!=NULL);
Stacktrace:
Thread [1] 18673 (Suspended : Signal : SIGABRT:Aborted) __kernel_vsyscall() at 0xffffe424 raise() at 0xb4efc8df abort() at 0xb4efe220 RMainWindow::messageHandler() at RMainWindow.cpp:63 0x8f3917a qt_message_output() at 0xb5356f65 0xb53571ab qFatal() at 0xb53572c9 qt_assert() at 0xb5357355 REcmaSharedPointerEntity::setColor() at REcmaSharedPointerEntity.cpp:1,360 0x8bc0602 0xb6bd813c 0xb6ac1f68 0xb6a9164c 0xa622afd2 0xb6a423e3 0xb6af06e0 0xb6ac201e 0xb6be0cd3 0xb6be11a9 QMetaObject::metacall() at 0xb5478c83 QMetaObject::activate() at 0xb5489134 <...more frames...>