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: 1527 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Original bug ID: 1527
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Issac Trotts
Version: 3.06
OS: linux (Debian)
Submission from: 128.120.141.217 (128.120.141.217)
Here's a strange thing I ran into when trying to combine the
toplevel with another loop:
$ cat test10.ml
let x = ref 1;;
let a () = while true do () done ;;
let b () = Topmain.main();;
let _ =
let ta = Thread.create a () in
let tb = Thread.create b () in
Thread.join ta;
Thread.join tb;
;;
$ ocamlc -thread -custom unix.cma threads.cma toplevellib.cma test10.ml
-cclib -lthreads -cclib -lunix -cclib -lpthread -o test10
$ ./test10
Objective Caml version 3.06
Test10.x := 0;;
Segmentation fault
The text was updated successfully, but these errors were encountered: