Assertion failed #12

Open
opened 2024-10-19 09:21:54 +00:00 by reynir · 1 comment
Owner

I observed an assertion failed in opam-mirror. It seems the body_f function to Http_mirage_client.request (in this case (Disk.partial_write _ _)) was never called.

console 2024-10-18T17:47:28-00:00: Fatal error: exception File "unikernel.ml", line 459, characters 19-25: Assertion failed
console 2024-10-18T17:47:28-00:00: Raised at Dune__exe__Unikernel.Make.Disk.finalize_write in file "unikernel.ml", line 459, characters 19-31
I observed an assertion failed in opam-mirror. It seems the `body_f` function to `Http_mirage_client.request` (in this case `(Disk.partial_write _ _)`) was never called. ``` console 2024-10-18T17:47:28-00:00: Fatal error: exception File "unikernel.ml", line 459, characters 19-25: Assertion failed console 2024-10-18T17:47:28-00:00: Raised at Dune__exe__Unikernel.Make.Disk.finalize_write in file "unikernel.ml", line 459, characters 19-31 ```
Author
Owner

An initial hypothesis after briefly looking at the http-mirage-client is it might happen if EOF is immediately read. I'm not sure about that.

An initial hypothesis after briefly looking at the http-mirage-client is it might happen if EOF is immediately read. I'm not sure about that.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: robur/opam-mirror#12
No description provided.