From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 5B6B1BB81 for ; Mon, 6 Mar 2006 11:49:11 +0100 (CET) Received: from gw-eur4.philips.com (gw-eur4.philips.com [161.85.125.10]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k26AnAne031755 for ; Mon, 6 Mar 2006 11:49:11 +0100 Received: from smtpscan-eur5.philips.com (smtpscan-eur5.mail.philips.com [130.144.57.168]) by gw-eur4.philips.com (Postfix) with ESMTP id A235C4970A for ; Mon, 6 Mar 2006 10:49:10 +0000 (UTC) Received: from smtpscan-eur5.philips.com (localhost [127.0.0.1]) by localhost.philips.com (Postfix) with ESMTP id 3DBC250 for ; Mon, 6 Mar 2006 10:49:06 +0000 (GMT) Received: from smtprelay-eur2.philips.com (smtprelay-eur2.philips.com [130.144.57.171]) by smtpscan-eur5.philips.com (Postfix) with ESMTP id EDC275A for ; Mon, 6 Mar 2006 10:49:02 +0000 (GMT) Received: from ehvrmh02.diamond.philips.com (ehvrmh02-srv.diamond.philips.com [130.139.27.125]) by smtprelay-eur2.philips.com (Postfix) with ESMTP id 7DF1833 for ; Mon, 6 Mar 2006 10:49:01 +0000 (GMT) To: caml-list@yquem.inria.fr Subject: Line number for index out of bounds MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.0.3 September 26, 2003 From: Andries Hekstra Message-ID: Date: Mon, 6 Mar 2006 11:44:31 +0100 X-MIMETrack: Serialize by Router on ehvrmh02/H/SERVER/PHILIPS(Release 6.5.3FP1HF291 | September 19, 2005) at 06/03/2006 11:47:46, Serialize complete at 06/03/2006 11:47:46 Content-Type: multipart/alternative; boundary="=_alternative 003B1E45C1257129_=" X-Miltered: at nez-perce with ID 440C13A6.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocaml-list:01 gerd:01 stolpmann:01 computed:01 eindhoven:01 ocaml-list:01 gerd:01 stolpmann:01 computed:01 eindhoven:01 optical:98 optical:98 sans-serif:98 sans-serif:98 exception:01 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=HTML_30_40,HTML_MESSAGE autolearn=disabled version=3.0.3 This is a multipart message in MIME format. --=_alternative 003B1E45C1257129_= Content-Type: text/plain; charset="US-ASCII" 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 --=_alternative 003B1E45C1257129_= Content-Type: text/html; charset="US-ASCII"
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  
--=_alternative 003B1E45C1257129_=--