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: 3860 Reporter: administrator Status: closed (set by @damiendoligez on 2005-12-15T13:23:24Z) Resolution: not a bug Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Joe Neeman
Version: 3.08.1
OS: Linux
Submission from: 203-173-0-46.dyn.iinet.net.au (203.173.0.46)
The following program exits with "Fatal error: exception Unix.Unix_error(11,
"select", "")" on both my AMD64 and x86 linux boxes when compiled with profiling
support in ocamlopt. If compiled without profiling, it exists cleanly.
for i = 1 to 1000 do
ignore (Unix.select [Unix.stdin] [] [] 0.0)
done
I compile this with "ocamlopt -p -o test unix.cmxa test.ml"
The text was updated successfully, but these errors were encountered:
Profiling generates interrupts (100/s I think), so system calls can be interrupted. Your program must be ready to handle that situation by trying again (standard Unix programming).
Original bug ID: 3860
Reporter: administrator
Status: closed (set by @damiendoligez on 2005-12-15T13:23:24Z)
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Joe Neeman
Version: 3.08.1
OS: Linux
Submission from: 203-173-0-46.dyn.iinet.net.au (203.173.0.46)
The following program exits with "Fatal error: exception Unix.Unix_error(11,
"select", "")" on both my AMD64 and x86 linux boxes when compiled with profiling
support in ocamlopt. If compiled without profiling, it exists cleanly.
for i = 1 to 1000 do
ignore (Unix.select [Unix.stdin] [] [] 0.0)
done
I compile this with "ocamlopt -p -o test unix.cmxa test.ml"
The text was updated successfully, but these errors were encountered: