emscripten-core / emscripten-core/emscripten
Calling `exit` from a pthread can result in racy behaviour/leaks
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
For example the new `test_emscripten_lock_busyspin_waitinf` test is currently flaky under asan/lsan due to the race conditions in the shutdown.
See https://github.com/emscripten-core/emscripten/pull/26448#issuecomment-4070883936 for more details.
Contributor guide
Assessment
This issue has not been assessed yet.