-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
VM crashes on shutdown #23844
Comments
We do suspect there are some issues surrounding shutdown. It would be great to get a core dump from such a crash. Could you please run the app under "ulimit -c unlimited" and send me any core that it dumps, and the binary? |
This looks like failure to cleanly shut down threads in the thread pool. In the core file, "Dart::thread_pool_" is NULL, and we currently never clear that field once it's set. Also another thread's backtrace suggests the entire dart lib is being unmapped, which would explain the unexpected zero memory: This seems to be related to work in progress by @zanderso here: (gdb) bt |
Clean shutdown has been turned on for a long time, and the upstream problem seems to be gone as well. |
We are seeing a flakey crash on Dart VM shutdown when our Mojo app exits. The gdb stack backtrace is shown below. This can't be reduced to a simple repro case, so I'm not sure how to proceed.
The text was updated successfully, but these errors were encountered: