Dear OCaml-List,

Thanks for replies to my previous email about a crashing Objective Caml program which simulates a next generation optical storage system that crashed due to an NFS error after 2 days of running. Special thanks to Gerd Stolpmann. In the mean time the program has computed for one and a half day more, ca. 3.5 days, and gives an index out of bound error, see below.

===================================================================================================

                BestDelayLeadingPitEdgeInPerc = 23.0, bestAsymmetryInPerc= 10.1
                1-Track ScalarDiffr. for 38.8 rawGb with 6.1 pixels/bit and 83.3 bits/spot ................Fatal error: exception Invalid_argument("index out of bounds")
===================================================================================================


This is better than a C++ program giving a segmentation fault, as one now knows the reason of the crash.
Of course, I am very curious in which line number of the program this exception occurs.
Is there any way to get hold of this line number?

Best regards,

=Andries

------------------------------------------------------------------------
Dr. Ir. Andries P. Hekstra
Philips Research
High Tech Campus 27  (WL-1-4.15)
5656 AG Eindhoven
Tel./Fax/Secr. +31 40 27 42048/42566/44051
  *  Good open source break software for computer users : http://www.workrave.org