http://bugs.winehq.org/show_bug.cgi?id=33625
Bug #: 33625 Summary: javascript typed arrays needed for emscripten Product: Wine Version: 1.5.23 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: jscript AssignedTo: wine-bugs@winehq.org ReportedBy: wine.dev@web.de Classification: Unclassified
Created attachment 44508 --> http://bugs.winehq.org/attachment.cgi?id=44508 screenshot
This emscripten-qt demo failed to load:
http://vps2.etotheipiplusone.com:30176/redmine/emscripten-qt-examples/scribb...
http://bugs.winehq.org/show_bug.cgi?id=33625
--- Comment #1 from Detlef Riekenberg wine.dev@web.de 2013-05-20 09:24:11 CDT --- Created attachment 44509 --> http://bugs.winehq.org/attachment.cgi?id=44509 Log with +ieframe
http://bugs.winehq.org/show_bug.cgi?id=33625
--- Comment #2 from Detlef Riekenberg wine.dev@web.de 2013-05-20 09:26:49 CDT --- Created attachment 44510 --> http://bugs.winehq.org/attachment.cgi?id=44510 Log with +iefame,+jscript (packed with gzip)
https://bugs.winehq.org/show_bug.cgi?id=33625
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |source CC| |focht@gmx.net
--- Comment #3 from Anastasius Focht focht@gmx.net --- Hello folks,
confirming, still present.
Trace log:
--- snip --- $ WINEDEBUG=+tid,+seh,+loaddll,+process,+jscript,+ole,+variant,+msgbox wine iexplore http://vps2.etotheipiplusone.com:30176/redmine/emscripten-qt-examples/scribb...
log.txt 2>&1
0023:trace:jscript:interp_ident L"Float64Array" 0023:trace:jscript:identifier_eval L"Float64Array" 0023:trace:jscript:jsdisp_get_id not found L"Float64Array" 0023:trace:jscript:JScript_GetScriptDispatch (0x1e8bb90)->(0x33f09c) 0023:trace:jscript:DispatchEx_QueryInterface (0x1e8e980)->(IID_IDispatchEx 0x33f0d8) 0023:trace:jscript:DispatchEx_GetDispID (0x1e8e980)->(L"Float64Array" 10000001 0x33f140) 0023:trace:jscript:jsdisp_get_id not found L"Float64Array" 0023:warn:jscript:throw_error L"'Float64Array' is undefined" 0023:trace:jscript:prop_get L"prototype" ret obj(0x1e8de20) 0023:trace:jscript:DispatchEx_QueryInterface (0x1e8de20)->(IID_IDispatchJS 0x33e9e8) 0023:trace:jscript:init_dispex 0x88aeff0 (0x1e8de20) 0023:trace:jscript:ensure_prop_name creating prop L"number" flags 0 0023:trace:jscript:prop_put L"number" = -2146823279.000000 0023:trace:jscript:ensure_prop_name creating prop L"message" flags 200 0023:trace:jscript:prop_put L"message" = str(L"'Float64Array' is undefined") 0023:trace:jscript:ensure_prop_name creating prop L"description" flags 0 0023:trace:jscript:prop_put L"description" = str(L"'Float64Array' is undefined") 0023:trace:jscript:enter_bytecode EXCEPTION 800a1391 ... --- snip ---
javascript code in question:
--- snip --- ... try { if (Float64Array == null) { throw ""; } } catch (e) { Module.setStatus("Aborted - Unsupported Browser :/"); window.alert( "Javascript typed arrays apparently are not supported by your browser: unfortunately, emscripten-qt apps cannot run it it."); throw e; } ... var HEAP; var HEAP8, HEAPU8, HEAP16, HEAPU16, HEAP32, HEAPU32, HEAPF32, HEAPF64;
var STACK_ROOT, STACKTOP, STACK_MAX; var STATICTOP;
function enlargeMemory() { abort('Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value ( ' + TOTAL_MEMORY + '), (2) compile with ALLOW_MEMORY_GROWTH which adjusts the size at runtime but prevents some optimizations, or (3) set Module.TOTAL_MEMORY before the program runs.'); }
var TOTAL_STACK = Module['TOTAL_STACK'] || 5242880; var TOTAL_MEMORY = Module['TOTAL_MEMORY'] || 40000000; var FAST_MEMORY = Module['FAST_MEMORY'] || 2097152;
// Initialize the runtime's memory // check for full engine support (use string 'subarray' to avoid closure compiler confusion) assert(!!Int32Array && !!Float64Array && !!(new Int32Array(1)['subarray']) && !!(new Int32Array(1)['set']), 'Cannot fallback to non-typed array case: Code is too specialized');
var buffer = new ArrayBuffer(TOTAL_MEMORY); HEAP8 = new Int8Array(buffer); HEAP16 = new Int16Array(buffer); HEAP32 = new Int32Array(buffer); HEAPU8 = new Uint8Array(buffer); HEAPU16 = new Uint16Array(buffer); HEAPU32 = new Uint32Array(buffer); HEAPF32 = new Float32Array(buffer); HEAPF64 = new Float64Array(buffer); ... --- snip ---
MSDN: http://msdn.microsoft.com/en-us/library/ie/hh869304%28v=vs.85%29.aspx
$ wine --version wine-1.7.14-126-g2bb1059
Regards
https://bugs.winehq.org/show_bug.cgi?id=33625
--- Comment #4 from Austin English austinenglish@gmail.com --- This is your friendly reminder that there has been no bug activity for over a year. Is this still an issue in current (1.7.51 or newer) wine?
https://bugs.winehq.org/show_bug.cgi?id=33625
--- Comment #5 from Anastasius Focht focht@gmx.net --- Hello folks,
still present.
$ wine --version wine-1.7.51
Regards
https://bugs.winehq.org/show_bug.cgi?id=33625
Robert Wilhelm sloper42@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sloper42@yahoo.com
--- Comment #6 from Robert Wilhelm sloper42@yahoo.com --- confirming in wine-5.20.