You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 2786 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
after trying to communicate over a socket the exception
Sys_error("Connection reset by peer")
gets raised by my networking application. The exception is caught, and
the app executes a subsequent "close_out" on the out_channel associated
with the socket. The function never returns: the program silently dies.
The OCaml-debugger displays the following as last message:
Lost connection with process 11781Uncaught exception: Out of memory
Calling the external "close_out_channel" rather than "close_out",
i.e. closing the out_channel without flushing it first, does not cause
this problem. This may indicate a bug in the flush-function.
Original bug ID: 2786
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Hi,
after trying to communicate over a socket the exception
Sys_error("Connection reset by peer")
gets raised by my networking application. The exception is caught, and
the app executes a subsequent "close_out" on the out_channel associated
with the socket. The function never returns: the program silently dies.
The OCaml-debugger displays the following as last message:
Lost connection with process 11781Uncaught exception: Out of memory
Calling the external "close_out_channel" rather than "close_out",
i.e. closing the out_channel without flushing it first, does not cause
this problem. This may indicate a bug in the flush-function.
Regards,
Markus
--
Markus Mottl http://www.oefai.at/~markus markus@oefai.at
The text was updated successfully, but these errors were encountered: