You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 16, 2020. It is now read-only.
Hey,
i am not sure why this is happening only when i compile my code using nexe into the 32bit binary but anyway, i wanted to post the result.
So, when analyzing a file larger than 2GB using your module in some code that was compiled using nexe to 32bit, the application crashes with the following error message which should imho be solved at compile time of the wasm module.
Not sure if you compile the wasm or you just take a precompiled from Jerome@Mediainfo?
function(a){if(!(a instanceof x))throw a;});c.inspect=function(){return"[Emscripten Module object]"}}else if(ca)c.print||(c.print=print),"undefined"!=typeof printErr&&(c.printErr=printErr),c.read="undefined"!=typeof read?read:function(){throw"no read() available";},c.readBinary=function(a){if("function"===typeof readbuffer)return new Uint8Array(readbuffer(a));a=read(a,"binary");assert("object"===typeof a);return a},"undefined"!=typeof scriptArgs?c.arguments=scriptArgs:"undefined"!=typeof arguments&&
^
abort("Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 134217728, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which allows increasing the size at runtime, or (3) if you want malloc to return NULL (0) instead of this abort, compile with -s ABORTING_MALLOC=0 ") at Error
at Ea (C:\dev\ffastrans_webui\rest_service\node_modules\node-mediainfo\lib\MediaInfoWasm.js:41:26)
at E (C:\dev\ffastrans_webui\rest_service\node_modules\node-mediainfo\lib\MediaInfoWasm.js:142:128)
at ga (C:\dev\ffastrans_webui\rest_service\node_modules\node-mediainfo\lib\MediaInfoWasm.js:43:15)
at enlargeMemory (C:\dev\ffastrans_webui\rest_service\node_modules\node-mediainfo\lib\MediaInfoWasm.js:96:53)
at wasm-function[5577]:67
at wasm-function[4999]:3289
at wasm-function[5497]:16
at wasm-function[5498]:3
at wasm-function[4025]:203
at wasm-function[413]:494
at wasm-function[53]:66
at wasm-function[109]:138
at wasm-function[5593]:16
at dynCall_iiii_23 (eval at X (C:\dev\ffastrans_webui\rest_service\node_modules\node-mediainfo\lib\MediaInfoWasm.js:83:483), <anonymous>:4:12)
at MediaInfo$Open_Buffer_Continue [as Open_Buffer_Continue] (eval at Gc (C:\dev\ffastrans_webui\rest_service\node_modules\node-mediainfo\lib\MediaInfoWasm.js:90:433), <anonymous>:9:10)
at ReadStream.<anonymous> (C:\dev\ffastrans_webui\rest_service\node_modules\node-mediainfo\dist\index.js:89:36)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey,
i am not sure why this is happening only when i compile my code using nexe into the 32bit binary but anyway, i wanted to post the result.
So, when analyzing a file larger than 2GB using your module in some code that was compiled using nexe to 32bit, the application crashes with the following error message which should imho be solved at compile time of the wasm module.
Not sure if you compile the wasm or you just take a precompiled from Jerome@Mediainfo?
The text was updated successfully, but these errors were encountered: