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
{{ message }}
Repository navigation
profiling.sampling --async-aware misses main interpreter tasks when subinterpreters exist #158968
Stack dump for PID 72163, thread 24398118 (task 4404221168; most recent call last):
File "<task>", in Task-1
File "repro.py", line 9, in blocking_work.<locals>.sub_spin
while time.monotonic() < deadline:
Expected:
Stack dump for PID 72163, thread 24398118 (task 4404221168; most recent call last):
File "<task>", in Task-1
File "repro.py", line 9, in blocking_work.<locals>.sub_spin
while time.monotonic() < deadline:
Stack dump, thread 24398104 (task 4379889488; most recent call last):
File "<task>", in Task-1
File "repro.py", line 20, in main
while time.monotonic() < deadline:
Proposed fix: add subinterpreter traversal like #158900 do
Activity