Open Alexufo opened 2 months ago
Do you know where calculate_stealing_threshold
is defined so what its trying to do? It don't think its part of emscripten itself.
Does increasing the stack size help? I.e. does building with -sSTACK_SIZE=16mb
make the problem go away?
calculate_stealing_threshold
- from tbb lib
thank you. Yes it helped.
What is the danger of a large stack? Can it impose a restriction on something?
version: 3.1.56, 3.1.60
Code without threads works fine, but on multithreads i got
wasm.js:3690 Assertion base > stack_size / 2 failed (located in the calculate_stealing_threshold function, line in file: 572)
And part in js from emscripten
I have a debug mode. In release mode, the error doesn't seem to occur