@@ -836,49 +836,6 @@ let () = List.iter (fun p -> Task.await pool p) [p0;p1;p2;p3;p4;p5]
836
836
let () = Task.teardown_pool pool
837
837
```
838
838
839
-
840
- Utop segfault (known?, status?)
841
- -------------------------------
842
-
843
- Utop segfaults when loading [ src/domain/domain_spawntree.ml] ( src/domain/domain_spawntree.ml )
844
- interactively:
845
-
846
- ``` ocaml
847
- $ utop
848
- ──────────────────────────────────────────────┬─────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────
849
- │ Welcome to utop version 2.8.0 (using OCaml version 4.12.0+domains)! │
850
- └─────────────────────────────────────────────────────────────────────┘
851
- Findlib has been successfully loaded. Additional directives:
852
- #require "package";; to load a package
853
- #list;; to list the available packages
854
- #camlp4o;; to load camlp4 (standard syntax)
855
- #camlp4r;; to load camlp4 (revised syntax)
856
- #predicates "p,q,...";; to set these predicates
857
- Topfind.reset();; to force that packages will be reloaded
858
- #thread;; to enable threads
859
-
860
-
861
- Type #utop_help for help about using utop.
862
-
863
- utop # #require "ppx_deriving.show";;
864
- utop # #require "qcheck";;
865
- utop # #use "src/domain_spawntree.ml";;
866
- type cmd = Incr | Decr | Spawn of cmd list
867
- val pp_cmd : Format.formatter -> cmd -> unit = <fun>
868
- val show_cmd : cmd -> string = <fun>
869
- val count_spawns : cmd -> int = <fun>
870
- val gen : int -> int -> cmd Gen.t = <fun>
871
- val shrink_cmd : cmd Shrink.t = <fun>
872
- val interp : int -> cmd -> int = <fun>
873
- val dom_interp : int Atomic.t -> cmd -> unit = <fun>
874
- val t : max_depth:int -> max_width:int -> Test.t = <fun>
875
- random seed: 359528592
876
- Segmentation fault (core dumped)
877
- ```
878
-
879
- This does not happen when running a plain ` ocaml ` top-level though, so it
880
- seems ` utop ` -specific.
881
-
882
839
---
883
840
884
841
This project has been created and is maintained by <a href =" https://tarides.com/ " >Tarides</a >.
0 commit comments