From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 465F2BBE1 for ; Wed, 11 Oct 2006 21:02:25 +0200 (CEST) Received: from pih-relay06.plus.net (pih-relay06.plus.net [212.159.14.133]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k9BJ2OGi015072 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 11 Oct 2006 21:02:25 +0200 Received: from [80.229.56.224] (helo=[10.0.0.5]) by pih-relay06.plus.net with esmtp (Exim) id 1GXjLG-0003WE-4S for caml-list@yquem.inria.fr; Wed, 11 Oct 2006 20:02:11 +0100 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Missing overflow exception message in ocamlopt Date: Wed, 11 Oct 2006 20:03:20 +0100 User-Agent: KMail/1.9.4 References: <43CD2D195487A448934920501C6EDB23026B233F@WIN-MSG-21.wingroup.windeploy.ntdev.microsoft.com> In-Reply-To: <43CD2D195487A448934920501C6EDB23026B233F@WIN-MSG-21.wingroup.windeploy.ntdev.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610112003.20262.jon@ffconsultancy.com> X-Miltered: at concorde with ID 452D3FC0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlopt:01 byte:01 stack:01 ocamlopt:01 ocaml:01 stack:01 ocaml:01 2006:98 46,:98 frog:98 wrote:01 lichtenberg:01 compile:01 caml-list:01 exception:01 On Wednesday 11 October 2006 19:46, Jakob Lichtenberg wrote: > When I compile the following program as byte code I see a stack overflow > (expected). When using ocamlopt it seems that the program dies and I do > not see the expected overflow exception? OCaml doesn't always throw the Stack_overflow exception from native code. On some systems it seg faults. -- Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists