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.1 required=5.0 tests=AWL,MISSING_HEADERS 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 D648DBBE1 for ; Wed, 11 Oct 2006 21:18:09 +0200 (CEST) Received: from furbychan.cocan.org (furbychan.cocan.org [80.68.91.176]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id k9BJI4sZ018300 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Wed, 11 Oct 2006 21:18:09 +0200 Received: from rich by furbychan.cocan.org with local (Exim 3.35 #1 (Debian)) id 1GXjaN-0006bi-00 for ; Wed, 11 Oct 2006 20:17:47 +0100 Date: Wed, 11 Oct 2006 20:17:47 +0100 Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Missing overflow exception message in ocamlopt Message-ID: <20061011191747.GB25358@furbychan.cocan.org> References: <43CD2D195487A448934920501C6EDB23026B233F@WIN-MSG-21.wingroup.windeploy.ntdev.microsoft.com> <200610112003.20262.jon@ffconsultancy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200610112003.20262.jon@ffconsultancy.com> User-Agent: Mutt/1.5.9i From: Richard Jones X-Miltered: at concorde with ID 452D436C.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 2006:98 2006:98 46,:98 blog:98 blog:98 wrote:01 wrote:01 lichtenberg:01 compile:01 On Wed, Oct 11, 2006 at 08:03:20PM +0100, Jon Harrop wrote: > 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. Does it _ever_ throw a Stack_overflow in native code?? I've never seen it. Rich. -- Richard Jones, CTO Merjis Ltd. Merjis - web marketing and technology - http://merjis.com Internet Marketing and AdWords courses - http://merjis.com/courses - NEW! Merjis blog - http://blog.merjis.com - NEW!