-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asyncify ignore & debug flag #11736
Comments
Probably unrelated, but Edit: it appears that some C++ class pointers are not set to null by default when using Asyncify (in my code); is this an expected side effect? |
After digging a bit deeper, it appears to be a similar situation as described in #10941 I notice the stack differs between the first and second iteration (stack trace at the beginning of the main loop):
Notice how I also noticed that I can fix the issue by adding "emscripten*" to I'm still not sure why initial values some object attributes are non-null and why |
Perhaps reading the code at the locations where the stack traces differ can help understand this. It does seem puzzling why the trace would change. If nothing else works, I'd try to reduce this to a small testcase. That often helps figure things out, and if not, you can submit it as a testcase here which we can debug. |
This issue has been automatically marked as stale because there has been no activity in the past year. It will be closed automatically if no further activity occurs in the next 30 days. Feel free to re-open at any time if this issue is still relevant. |
Edit: for point two
--profiling
seems to be helping digging out the issue, but I'm still a bit confused as to why debugging flag would make things work.I am currently working on a codebase where I
ASYNCIFY_IGNORE_INDIRECT
thenASYNC_ADD
the functions/methods needed. This works as intended when-g3
or higher is set, but fails with:My questions are:
The text was updated successfully, but these errors were encountered: