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
test: test_alsa_device_lost can take its thread baseline while an old thread still exits #3575
The rerun passed on the same commit, and the failure has nothing to do with that PR.
Cause
destroy_while_away (:364) and update_while_away (:380) read thread_count() once at the start, then compare the settled count with it. In this failure the baseline was 2 and the settled count was 1, so the test ended with fewer threads than it started with. The source did not leave a thread behind.
I expect that the baseline counted a thread of the previous case that was still exiting. pthread_join() can return before the task leaves /proc/self/task. I did not reproduce this.
Proposed fix
Before the baseline, wait until the count is stable for a short time. The check after the destroy stays as it is.
Activity
vpacher commentedon Nov 3, 2026
Claiming: #3575
destroy_while_awayandupdate_while_away.First PR today.
test: Stop three unrelated failures from failing the asan job (obs-ru…