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
I built with emcc emtest.c -o emtest.html -s MAIN_MODULE=1 -s ASYNCIFY=1 -s ASYNCIFY_DEBUG=1 -s DYLINK_DEBUG=1 -s ASSERTIONS=2 and attached the full console output to this issue.
Version of emscripten/emsdk:
Take the sample code in
emtest.c
:Any of the below commands will produce a working program; i.e. prints the current time forever.
However with these options set,
main
is called, but emscripten encounters an exception beforemainloop
is called.The exception is below:
I built with
emcc emtest.c -o emtest.html -s MAIN_MODULE=1 -s ASYNCIFY=1 -s ASYNCIFY_DEBUG=1 -s DYLINK_DEBUG=1 -s ASSERTIONS=2
and attached the full console output to this issue.localhost-1736814751439.log
Also note that compiling with at least
-O1
and without at least-s ASSERTIONS=1
, the error becomes silent.The text was updated successfully, but these errors were encountered: