bug#64666: Nested ‘scm_sigaction_for_thread’ calls lead to deadlock

2023-07-16 Thread Ludovic Courtès
Ludovic Courtès skribis: > It’s possible for ‘sigaction’ (aka. ‘scm_sigaction_for_thread’) to run > asyncs, which in turn call ‘scm_sigaction_for_thread’ for the very same > thread, leading to a deadlock: Fixed in 85520354a8f5de0366c4ac3eb5403aeb27c9515e. Ludo’.

bug#64666: Nested ‘scm_sigaction_for_thread’ calls lead to deadlock

2023-07-16 Thread Ludovic Courtès
Hello, It’s possible for ‘sigaction’ (aka. ‘scm_sigaction_for_thread’) to run asyncs, which in turn call ‘scm_sigaction_for_thread’ for the very same thread, leading to a deadlock: --8<---cut here---start->8--- (gdb) bt #0 0x7f823bcdf32b in __lll_lock_wait