[Development] crash in SimpleScriptFunction::call()

René J.V. Bertin rjvbertin at gmail.com
Thu Oct 5 16:28:28 CEST 2017


Hi,

I've run into a known crashing issue in SimpleScriptFunction::call() that's been resolved sometime after 5.8.0 :

https://bugs.kde.org/show_bug.cgi?id=384404

* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x1909d3508)
  * frame #0: 0x000000010c7ddd77
    frame #1: QtQml`QV4::SimpleScriptFunction::call(that=<unavailable>, scope=0x00000001070c8400, callData=<unavailable>) at qv4functionobject.cpp:593 [opt]
    frame #2: QtQml`QV4::Runtime::method_callActivationProperty(QV4::ExecutionEngine*, int, QV4::CallData*) [inlined] QV4::Object::call(scope=0x00000001070c8400, d=<unavailable>) const at qv4object_p.h:352 [opt]
    frame #3: QtQml`QV4::Runtime::method_callActivationProperty(engine=<unavailable>, nameIndex=<unavailable>, callData=<unavailable>) at qv4runtime.cpp:982 [opt]
    frame #4: 0x00000001087e6956
    frame #5: QtQml`QV4::SimpleScriptFunction::call(that=<unavailable>, scope=0x00000001070c8400, callData=<unavailable>) at qv4functionobject.cpp:593 [opt]
    frame #6: QtQml`QV4::Runtime::method_callActivationProperty(QV4::ExecutionEngine*, int, QV4::CallData*) [inlined] QV4::Object::call(scope=0x00000001070c8400, d=<unavailable>) const at qv4object_p.h:352 [opt]
    frame #7: QtQml`QV4::Runtime::method_callActivationProperty(engine=<unavailable>, nameIndex=<unavailable>, callData=<unavailable>) at qv4runtime.cpp:982 [opt]
    frame #8: 0x00000001087e5c03
    frame #9: QtQml`QV4::SimpleScriptFunction::call(that=<unavailable>, scope=0x00000001070c8400, callData=<unavailable>) at qv4functionobject.cpp:593 [opt]
    frame #10: QtQml`QJSValue::call(QList<QJSValue> const&) [inlined] QV4::Object::call(scope=0x00000001070c8400, d=<unavailable>) const at qv4object_p.h:352 [opt]
    frame #11: QtQml`QJSValue::call(this=<unavailable>, args=<unavailable>) at qjsvalue.cpp:669 [opt]

Does this ring a bell for anyone, and above all, is this fixable without backporting all the changes from 5.8 to 5.9?

Thanks,
R.



More information about the Development mailing list