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
The loop that takes over new threads lets taken-over threads start running, and they can go create child threads. If a managed child has not yet initialized and is waiting for the thread_initexit_lock at the top of dynamo_thread_init, the attach code will send it a takeover signal and we'll interpret our own code.
I'll spare the gory debugging details: it took some time to figure out what was going on, but this happens on a regular basis, at least once every 20 runs of the new test.
The text was updated successfully, but these errors were encountered:
Adds a check when taking over a new thread during attach to avoid
self-interp when the new thread is the child of a thread that's already
been taken over.
Tested with the api.detach_spawn test from #2601.
Fixes#2688
Adds a check when taking over a new thread during attach to avoid
self-interp when the new thread is the child of a thread that's already
been taken over.
Tested with the api.detach_spawn test from #2601.
Fixes#2688
Adds a check when taking over a new thread during attach to avoid
self-interp when the new thread is the child of a thread that's already
been taken over.
Tested with the api.detach_spawn test from #2601.
Fixes#2688
Another attach race hit with the test from #2601.
The loop that takes over new threads lets taken-over threads start running, and they can go create child threads. If a managed child has not yet initialized and is waiting for the thread_initexit_lock at the top of dynamo_thread_init, the attach code will send it a takeover signal and we'll interpret our own code.
I'll spare the gory debugging details: it took some time to figure out what was going on, but this happens on a regular basis, at least once every 20 runs of the new test.
The text was updated successfully, but these errors were encountered: