txiki.js: windows: Maximum call stack size exceeded

I run tjs on a new windows11 24h2 environment and get this error. The precompiled tjs already contains the required dll files. This error is a bit strange. Even if I use source code to compile, I get the same error.

Maximum call stack size exceeded

D:/a/txiki.js/txiki.js/src/vm.c:341:TJS_NewRuntimeInternal: Assertion `(tjs__eval_bytecode(ctx, tjs__polyfills, tjs__polyfills_size, 1)) == (0)' failed.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (16 by maintainers)

Most upvoted comments

After reinstalling win11 24h2 it works fine, temporarily closed until others encounter the same problem

Out of curiosity, can you try running the executable with --stack-size XXX and increase the value to see if it starts to work?

Not work

  ./build/tjs.exe --version --stack-size 100000 --memory-limit 100000 --trace
Maximum call stack size exceeded

C:/wt/txiki.js/src/vm.c:341:TJS_NewRuntimeInternal: Assertion `(tjs__eval_bytecode(ctx, tjs__polyfills, tjs__polyfills_size, 1)) == (0)' failed.```

Thanks for the heads up, I’ll take a look!