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 3125CBB81 for ; Mon, 6 Mar 2006 15:39:55 +0100 (CET) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.200]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k26EdsOf026661 for ; Mon, 6 Mar 2006 15:39:54 +0100 Received: by xproxy.gmail.com with SMTP id s12so791999wxc for ; Mon, 06 Mar 2006 06:39:54 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=J8VU+LkYwJfqKT76r/VzoCLPsg4w8rv5ZIj+NlgE4yIsufp4qIjQC/ipaLuSSvMOyNAZXa+JzVgeRf0kOuIeQq80cTsmCC6MaTcnqoETq3DMvh9CLtY+2BTjIytpO7Gh5fuZoL8LWhkhW1QdPhBeDXRzoYtywp5ExfrvNLWD7S0= Received: by 10.70.49.10 with SMTP id w10mr7062098wxw; Mon, 06 Mar 2006 06:39:53 -0800 (PST) Received: by 10.70.57.14 with HTTP; Mon, 6 Mar 2006 06:39:53 -0800 (PST) Message-ID: Date: Mon, 6 Mar 2006 09:39:53 -0500 From: "Markus Mottl" To: "Richard Jones" Subject: Re: [Caml-list] Line number for index out of bounds Cc: "Andries Hekstra" , caml-list@yquem.inria.fr In-Reply-To: <20060306111412.GA12323@furbychan.cocan.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1022_30071413.1141655993835" References: <20060306111412.GA12323@furbychan.cocan.org> X-Miltered: at nez-perce with ID 440C49BA.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; markus:01 mottl:01 markus:01 mottl:01 ocamlopt:01 stack:01 patched:01 runtime:01 ocaml:01 ocaml:01 ocamlopt:01 stack:01 patched:01 runtime:01 W8:98 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=HTML_40_50,HTML_MESSAGE, INFO_TLD,RCVD_BY_IP autolearn=disabled version=3.0.3 ------=_Part_1022_30071413.1141655993835 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 3/6/06, Richard Jones wrote: > > * Hack ocamlopt to be able to print exceptions properly :-) > We have already developed a patch for the OCaml-compiler to generate function call backtraces for native code programs and submitted it to the OCaml-bugtracker in the hope to get it included in a future release. Function call backtraces are different from stack backtraces, sometimes more, sometimes less useful. They are usually sufficient for tracking down the source of exceptions. In case you feel like running a patched runtime, look up issue 0003885 on the bugtracker, which contains an attachment with the patch for OCaml 3.09: http://caml.inria.fr/mantis/view.php?id=3D3885 Regards, Markus -- Markus Mottl http://www.ocaml.info markus.mottl@gmail.com ------=_Part_1022_30071413.1141655993835 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 3/6/06, Richard Jones <rich@annexia.org> wrote:
* Hack ocamlopt to be able to print exceptions properly :-)

We have already developed a patch for the OCaml-compiler to generate function call backtraces for native code programs and submitted it to the OCaml-bugtracker in the hope to get it included in a future release.  Function call backtraces are different from stack backtraces, sometimes more, sometimes less useful.  They are usually sufficient for tracking down the source of exceptions.

In case you feel like running a patched runtime, look up issue 0003885 on the bugtracker, which contains an attachment with the patch for OCaml 3.09: http= ://caml.inria.fr/mantis/view.php?id=3D3885

Regards,
Markus

--
Markus Mottl        http://www.ocaml.info      &n= bsp; markus.mottl@gmail.com<= /a> ------=_Part_1022_30071413.1141655993835--