Skip to content
This repository was archived by the owner on May 16, 2020. It is now read-only.
This repository was archived by the owner on May 16, 2020. It is now read-only.

Some unexpected errors #2

Description

@orecus

Hi,

I've just started migrating to this library and encountered some errors while processing files with it, not sure if these are bugs within medainfo itself, or this version of it.

Let me know if there are any additional details that may be needed or if I can assist in tracking these down.

RuntimeError: float unrepresentable in integer range
    at wasm-function[4084]:107
    at wasm-function[3442]:5
    at wasm-function[3440]:1155
    at wasm-function[3427]:838
    at wasm-function[3999]:117
    at wasm-function[3996]:413
    at wasm-function[3993]:263
    at wasm-function[3992]:669
    at wasm-function[4003]:1880
    at wasm-function[989]:79
    at wasm-function[1625]:494
    at wasm-function[1626]:1515
    at wasm-function[1597]:23398
    at wasm-function[3999]:117
    at wasm-function[3996]:413
    at wasm-function[3993]:263
    at wasm-function[3992]:669
    at wasm-function[4207]:161
    at wasm-function[3993]:124
    at wasm-function[3992]:669
    at wasm-function[410]:494
    at wasm-function[53]:66
/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:19
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&&
                                 ^

RuntimeError: float unrepresentable in integer range
    at wasm-function[4084]:107
    at wasm-function[3442]:5
    at wasm-function[3440]:1155
    at wasm-function[3427]:838
    at wasm-function[3999]:117
    at wasm-function[3996]:413
    at wasm-function[3993]:263
    at wasm-function[3992]:669
    at wasm-function[4003]:1880
    at wasm-function[989]:79
    at wasm-function[1625]:494
    at wasm-function[1626]:1515
    at wasm-function[1597]:23398
    at wasm-function[3999]:117
    at wasm-function[3996]:413
    at wasm-function[3993]:263
    at wasm-function[3992]:669
    at wasm-function[4207]:161
    at wasm-function[3993]:124
    at wasm-function[3992]:669
    at wasm-function[410]:494
    at wasm-function[53]:66
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 
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 
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 (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:41:26)
    at E (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:142:128)
    at ga (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:43:15)
    at enlargeMemory (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:96:53)
    at wasm-function[5528]:67
    at wasm-function[4963]:3289
    at wasm-function[5448]:16
    at wasm-function[5449]:3
    at wasm-function[3992]:203
    at wasm-function[410]:494
    at wasm-function[53]:66
    at wasm-function[109]:138
    at wasm-function[5544]:16
    at dynCall_iiii_23 (eval at X (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:83:483), <anonymous>:4:12)
    at MediaInfo$Open_Buffer_Continue [as Open_Buffer_Continue] (eval at Gc (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:90:433), <anonymous>:9:10)
    at ReadStream.<anonymous> (/edacis/node_modules/node-mediainfo/dist/index.js:86:36)
    at ReadStream.emit (events.js:189:13)
    at ReadStream.EventEmitter.emit (domain.js:441:20)
    at addChunk (_stream_readable.js:284:12)
    at readableAddChunk (_stream_readable.js:265:11)
    at ReadStream.Readable.push (_stream_readable.js:220:10)
    at lazyFs.read (internal/fs/streams.js:181:12)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:19
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 (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:41:26)
    at E (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:142:128)
    at ga (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:43:15)
    at enlargeMemory (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:96:53)
    at wasm-function[5528]:67
    at wasm-function[4963]:3289
    at wasm-function[5448]:16
    at wasm-function[5449]:3
    at wasm-function[3992]:203
    at wasm-function[410]:494
    at wasm-function[53]:66
    at wasm-function[109]:138
    at wasm-function[5544]:16
    at dynCall_iiii_23 (eval at X (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:83:483), <anonymous>:4:12)
    at MediaInfo$Open_Buffer_Continue [as Open_Buffer_Continue] (eval at Gc (/edacis/node_modules/node-mediainfo/lib/MediaInfoWasm.js:90:433), <anonymous>:9:10)
    at ReadStream.<anonymous> (/edacis/node_modules/node-mediainfo/dist/index.js:86:36)
    at ReadStream.emit (events.js:189:13)
    at ReadStream.EventEmitter.emit (domain.js:441:20)
    at addChunk (_stream_readable.js:284:12)
    at readableAddChunk (_stream_readable.js:265:11)
    at ReadStream.Readable.push (_stream_readable.js:220:10)
    at lazyFs.read (internal/fs/streams.js:181:12)
If this abort() is unexpected, build with -s ASSERTIONS=1 which can give more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions