Closed brendanlong closed 4 years ago
I looked into this more and the assert failure is impossible (the same assertion is repeated at the top of the file and neither of these variable change inside the function), so I assume it's related to a threading issue in our code.
Unfortunately our logs format this in an annoying way, but we're getting errors like this relatively often and I'm not sure what's going on or how we should track this down:
The assert on line 834 is https://github.com/janestreet/async_unix/blob/v0.11.0/src/writer0.ml#L834
We're using v0.11 but this function seems unchanged since then. I could try moving to a later version if you think that would help, although the base64 stuff is going to make that really difficult for us :(
Any ideas what's wrong? Since it's an
assert
I'm guessing this is supposed to be impossible, but we could also be doing something wrong.