webcontainer-core icon indicating copy to clipboard operation
webcontainer-core copied to clipboard

Failed to construct transformer: RuntimeError: memory access out of bounds

Open leeorw opened this issue 9 months ago • 4 comments

Describe the bug

Failed to construct transformer: RuntimeError: memory access out of bounds at https://w-credentialless-staticblitz.com/internal_bindings_bg.5a421e5b.wasm:wasm-function[341]:0x747ee at new _0x48529e (https://sb1fkfsa84v-uwgz.w-credentialless-staticblitz.com/blitz.5a421e5b.js:40:272996) at new _0x2caa7e (https://sb1fkfsa84v-uwgz.w-credentialless-staticblitz.com/blitz.5a421e5b.js:40:849292) at new Hash (https://sb1fkfsa84v-uwgz.w-credentialless-staticblitz.com/builtins.8cb5228f.js:70:945) at createHash (https://sb1fkfsa84v-uwgz.w-credentialless-staticblitz.com/builtins.8cb5228f.js:24:2531) at sha1hex (file:///home/projects/sb1-fkfsa84v/node_modules/metro-file-map/src/worker.js#cjs:24:10) at Object.worker (file:///home/projects/sb1-fkfsa84v/node_modules/metro-file-map/src/worker.js#cjs:80:12) at execFunction (file:///home/projects/sb1-fkfsa84v/node_modules/jest-worker/build/workers/processChild.js#cjs:149:17) at execHelper (file:///home/projects/sb1-fkfsa84v/node_modules/jest-worker/build/workers/processChild.js#cjs:137:5) at execMethod (file:///home/projects/sb1-fkfsa84v/node_modules/jest-worker/build/workers/processChild.js#cjs:140:5) { type: 'RuntimeError' }

Link to the blitz that caused the error

https://stackblitz.com/edit/sb1-fkfsa84v?file=.env

Steps to reproduce

Application doesn't execute

Expected behavior

Application should be working

Parity with Local

Screenshots

Failed to construct transformer: RuntimeError: memory access out of bounds

Platform

Browser name  = Chrome
Full version  = 134.0.0.0
Major version = 134
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
performance.memory = {
  "totalJSHeapSize": 84045119,
  "usedJSHeapSize": 75144447,
  "jsHeapSizeLimit": 4294705152
}
Hash = 5a421e5b

Additional context

No response

leeorw avatar Mar 24 '25 13:03 leeorw

Hey @leeorw, is it possible to make that project public?

SamVerschueren avatar Apr 11 '25 09:04 SamVerschueren

Hey @SamVerschueren It's still under construction , not ready to publish

leeorw avatar Apr 11 '25 09:04 leeorw

Without access it's hard for me to debug the problem. I see two options

  1. You invite me to the project by clicking Share in the top left and adding me (SamVerschueren) as viewer.
  2. You fork the project, you make the project secret (which means you can only access it if you have the URL), and you send the URL to me on either X or via email samv[at]stackblitz.com.

SamVerschueren avatar Apr 11 '25 09:04 SamVerschueren

Hi , thank you for your time. At the moment, I'm not bothered by this error. So you can scrap that message. Thanks

On Fri, Apr 11, 2025 at 11:15 AM Sam Verschueren @.***> wrote:

Without access it's hard for me to debug the problem. I see two options

  1. You invite me to the project by clicking Share in the top left and adding me (SamVerschueren) as viewer.
  2. You fork the project, you make the project secret (which means you can only access it if you have the URL), and you send the URL to me on either X https://x.com/SamVerschueren or via email samv[at] stackblitz.com.

— Reply to this email directly, view it on GitHub https://github.com/stackblitz/webcontainer-core/issues/1791#issuecomment-2796321016, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACP2FCOW36NSU2BIXWLJJIL2Y6B2ZAVCNFSM6AAAAABZU5ZMTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJWGMZDCMBRGY . You are receiving this because you were mentioned.Message ID: @.***> SamVerschueren left a comment (stackblitz/webcontainer-core#1791) https://github.com/stackblitz/webcontainer-core/issues/1791#issuecomment-2796321016

Without access it's hard for me to debug the problem. I see two options

  1. You invite me to the project by clicking Share in the top left and adding me (SamVerschueren) as viewer.
  2. You fork the project, you make the project secret (which means you can only access it if you have the URL), and you send the URL to me on either X https://x.com/SamVerschueren or via email samv[at] stackblitz.com.

— Reply to this email directly, view it on GitHub https://github.com/stackblitz/webcontainer-core/issues/1791#issuecomment-2796321016, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACP2FCOW36NSU2BIXWLJJIL2Y6B2ZAVCNFSM6AAAAABZU5ZMTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOOJWGMZDCMBRGY . You are receiving this because you were mentioned.Message ID: @.***>

-- Best Regards

Leeor Weinreb

This email is CONFIDENTIAL. It is intended only for the use of the person to whom it is addressed. Any distribution, copying or other use by anyone else is strictly prohibited. If you have received this message in error, please delete this message.

leeorw avatar Apr 11 '25 11:04 leeorw