-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Kernel: Running test-pthread repeatedly leaks processes #6474
Comments
When keeping this running for a long time after, it seems Log enclosed
|
Looks like test-pthread is a common theme, here's another run, but this time with WHPX Acceleration enabled: Debug console
|
test-pthread creates 10 threads, and verifies that only one of them can trigger a pthread_once call. However, running it many times in quick succession can cause processes (but not threads!) to be leaked, and never finalized. Kernel scheduler dump from the above
In another test, I ran
And ended up with 75 processes, but only 21 showing up in system monitor. The pastebin here is to the /proc/all listing from the run, which shows that there are in fact, 76 entries in g_processes. |
Fixed by 3c2a6a2 |
This can cause the system to hang. Hitting Andreas's new Alt+Shift+F12 hotkey shows that there are two Threads that are
Dead
, but the Finalizer is not being scheduled.See below in the comments for how it was narrowed down to test-pthread
Tests were run using branch #6459
Debug console log below vvvvv
Debug Console Log
The text was updated successfully, but these errors were encountered: