From: HENRIKSON, J. <JEFHEN@SAFECO.com> - 2005-03-02 18:55:19
|
Hello, I find DynArray very unstable on my machine, and will have to revert my code back to Markus Mottl's Res library for the time being. Just calling (of_array [||]) several times will cause a segfault on my machine: Objective Caml version 3.08.1 # # #directory "+site-lib/extlib";; # #load "extLib.cma";; # open ExtLib;; # DynArray.of_array [||];; - : '_a DynArray.t =3D <abstr> # DynArray.of_array [||];; - : '_a DynArray.t =3D <abstr> # DynArray.of_array [||];; - : '_a DynArray.t =3D <abstr> # DynArray.of_array [||];; - : '_a DynArray.t =3D <abstr> # DynArray.of_array [||];; Process caml-toplevel segmentation fault It's not completely deterministic. It can require varying number of calls to get the segfault but usually less than 10. This test was performed on Linux. I can provide more details about the configuration if you have trouble reproducing the problem. Regards, Jeff Henrikson |