caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Andries Hekstra <andries.hekstra@philips.com>
To: caml-list@yquem.inria.fr
Subject: Line number for index out of bounds
Date: Mon, 6 Mar 2006 11:44:31 +0100	[thread overview]
Message-ID: <OF69D879A9.96F51C70-ONC1257129.003A8688-C1257129.003B1EBA@philips.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1416 bytes --]

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 

[-- Attachment #2: Type: text/html, Size: 1962 bytes --]

             reply	other threads:[~2006-03-06 10:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-06 10:44 Andries Hekstra [this message]
2006-03-06 11:14 ` [Caml-list] " Richard Jones
2006-03-06 14:39   ` Markus Mottl
2006-03-06 19:08   ` Andries Hekstra
2006-03-06 19:53     ` Richard Jones
2006-03-12 10:17     ` Martin Jambon
2006-03-12 11:02       ` Richard Jones
2006-03-11 13:26   ` [Caml-list] Line number for index out of bounds / Exceptions for left hand side of assignments Andries Hekstra
2006-03-07 15:55 ` [Caml-list] Line number for index out of bounds Alan Falloon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=OF69D879A9.96F51C70-ONC1257129.003A8688-C1257129.003B1EBA@philips.com \
    --to=andries.hekstra@philips.com \
    --cc=caml-list@yquem.inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).