bug#59055: [PATCH] Fix possible deadlock.

2022-11-20 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
On Sun, 20 Nov 2022, Ludovic Courtès wrote: > Did you try to come up with a reproducer? That would be awesome but I > guess it’s hard because you need to trigger EINTR at the right point. With a stress test in guile-parallel. Very hard to reproduce indeed. You can also reproduce it with `ice-9

bug#59055: [PATCH] Fix possible deadlock.

2022-11-20 Thread Ludovic Courtès
Hi, Olivier Dion skribis: > If we got interrupted while waiting on our condition variable, we unlock > the kernel mutex momentarily while executing asynchronous operations > before putting us back into the waiting queue. > > However, we have to retry acquiring the mutex before getting back into

bug#59055: [PATCH] Fix possible deadlock.

2022-11-05 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
If we got interrupted while waiting on our condition variable, we unlock the kernel mutex momentarily while executing asynchronous operations before putting us back into the waiting queue. However, we have to retry acquiring the mutex before getting back into the queue, otherwise it's possible tha