Thanks :) On Fri, Oct 11, 2019, 23:14 Alon Zakai <[email protected]> wrote:
> Thanks for the info - ok, then yes, it sounds like that Chrome beta > regression, > > https://bugs.chromium.org/p/chromium/issues/detail?id=1009439#c18 > > It's marked as blocking beta, so I think it's a high priority to fix. > > I don't think there's a workaround, or any help that's needed. Can only > use another version (like stable) for now, and wait for the fix. > > - Alon > > > On Fri, Oct 11, 2019 at 1:49 PM Mehdi Sabwat <[email protected]> > wrote: > >> Hi, >> >> Thanks, on Chrome beta 79.0.3928.4. >> >> I think I got the Firefox nightly regression too (ticket 1587394). Is >> there a workaround for the Chrome heap issue? Is there something I can do >> on my end to help ? >> >> On Fri, Oct 11, 2019, 22:11 Alon Zakai <[email protected]> wrote: >> >>> Which browser do you see the problem on? On Chrome 77 it loads and shows >>> the video correctly. >>> >>> I know there have been some recent bugs in this area, like a recent >>> Chrome beta regression with 1GB heaps, and a recent Firefox nightly >>> regression with pthreads, and this app seems to use both those features :) >>> So it might be one of those two. >>> >>> - Alon >>> >>> >>> >>> On Fri, Oct 11, 2019 at 7:08 AM Mehdi Sabwat <[email protected]> >>> wrote: >>> >>>> Hi, I am running into this error in the generated js runtime: >>>> >>>> Uncaught RangeError: Start offset undefined is outside the bounds of >>>> the buffer >>>> at new Int8Array (<anonymous>) >>>> at updateGlobalBufferAndViews (experimental.js:1402) >>>> at experimental.js:1475 >>>> >>>> It seems to come from this autogenerated function, >>>> >>>> function updateGlobalBufferAndViews(buf) { >>>> buffer = buf; >>>> Module['HEAP8'] = HEAP8 = new Int8Array(buf); >>>> Module['HEAP16'] = HEAP16 = new Int16Array(buf); >>>> Module['HEAP32'] = HEAP32 = new Int32Array(buf); >>>> Module['HEAPU8'] = HEAPU8 = new Uint8Array(buf); >>>> Module['HEAPU16'] = HEAPU16 = new Uint16Array(buf); >>>> Module['HEAPU32'] = HEAPU32 = new Uint32Array(buf); >>>> Module['HEAPF32'] = HEAPF32 = new Float32Array(buf); >>>> Module['HEAPF64'] = HEAPF64 = new Float64Array(buf); >>>> } >>>> >>>> >>>> called here: >>>> >>>> // If the user provides an incorrect length, just use that length >>>> instead rather than providing the user to >>>> // specifically provide the memory length with Module['TOTAL_MEMORY']. >>>> INITIAL_TOTAL_MEMORY = buffer.byteLength; >>>> assert(INITIAL_TOTAL_MEMORY % WASM_PAGE_SIZE === 0); >>>> updateGlobalBufferAndViews(buffer); >>>> >>>> >>>> I am using TOTAL_MEMORY=1GB. I currently have no idea where this error >>>> might come from and would love it if someone could help. >>>> >>>> the files are hosted here: >>>> http://msabwat.gitlab.io/demo/experimental.html >>>> >>>> Thank you, >>>> >>>> Regards >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "emscripten-discuss" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/emscripten-discuss/45871afe-a769-49c1-8804-2a9800024423%40googlegroups.com >>>> <https://groups.google.com/d/msgid/emscripten-discuss/45871afe-a769-49c1-8804-2a9800024423%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "emscripten-discuss" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpRH4A1B619EtQ2-a7wJ2apCZSYu_kNYfWzhSXEmsThT_g%40mail.gmail.com >>> <https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpRH4A1B619EtQ2-a7wJ2apCZSYu_kNYfWzhSXEmsThT_g%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "emscripten-discuss" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/emscripten-discuss/CANLCaykmd3GjArG-MYO6%2BO6RhmZUHQ6DFuOAa32n9zJYbUxpTA%40mail.gmail.com >> <https://groups.google.com/d/msgid/emscripten-discuss/CANLCaykmd3GjArG-MYO6%2BO6RhmZUHQ6DFuOAa32n9zJYbUxpTA%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > You received this message because you are subscribed to the Google Groups > "emscripten-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpSOhvrmNvUED8kqMpn6iTG%2B3Ng7oF-1NS7gF%2B%2BkYOb7zw%40mail.gmail.com > <https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpSOhvrmNvUED8kqMpn6iTG%2B3Ng7oF-1NS7gF%2B%2BkYOb7zw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CANLCay%3DD9aiS553Yp4W9fEiSxVe5e0PomqbbEXwuShgP5mjM8A%40mail.gmail.com.
