Closed rmculpepper closed 3 years ago
The initial error is "mutex-acquire: mutex is defunct". It looks like the solution is probably to change Chez Scheme's guardian for mutexes and condition variables to be an ordered guardian, and I'm testing that repair.
The following program causes Racket to go into an error-reporting loop:
When the program is run, Racket prints the following in a loop:
If the
let
is replaced withbegin
(so the definition keeps the os-async-channel reachable), the error disappears.I ran into this issue while trying to minimize another bug. I don't think I actually depend on being able to write to an unreachable os-async-channel.