You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failing command line in full:
make && cd build && emrun main.html
Full link command and output with -v appended:
See Makefile
When an operation from a dynamic callback is unsuspended, and the code originating at main() has been suspended and unsuspended in the meantime, the stack gets corrupted.
To reproduce, simply run the program as specified in the 'failing command line' section. You should be seeing an error in the console after 5 seconds - the test map in timer callback seems to have been somehow meddled with.
This only happens if the loop in the code is outside of the suspended method for some reason - see the comments in code.