Is the "a" array really two dimentional (check, don't assume)?
In my script it is:

Qt Code:
  1. var a = [ [ 0 ] ];
To copy to clipboard, switch view to plain text mode 

I don't have expert ECMAScript knowledge, but such definition looks surely to be two-dimensional.

So this works? <evaluate skipped>
Yep. And code after it crash:

Qt Code:
  1. for(;;)
  2. {
  3. QScriptValue oFnStart = oEngine.evaluate( "OnStart" );
  4. Q_ASSERT( oFnStart.isFunction() );
  5. oFnStart.call(); // Crash here in deep bytecode interpreter internals.
  6. }
To copy to clipboard, switch view to plain text mode