bug#46232: ‘Wrong type argument ...’ exception when printing backtrace after interrupt

2021-02-01 Thread Maxime Devos
Hi guilers! When entering sleeping code in the REPL, then interrupting it (C-c) and entering ,bt twice, I receive an error message from ,bt: GNU Guile 3.0.5 [...] Enter `,help' for help. scheme@(guile-user)> (let ((mu (make-mutex))) (with-mutex mu (wait-condition-variable (make-condition-variabl

bug#46230: When are spurious wakeups of condition variables possible?

2021-02-01 Thread Maxime Devos
Hi guilers, Whether spurious wakeups of condition variables are possible isn't documented in the manual. Apparently, guile may or may not actually prevent spurious wakeups (#guile, Mon 1 Feb 09:19:29 UTC 2021). The bug is: * No mention of the possibility of spurious wakeups in the manual, *