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.7 required=5.0 tests=AWL,DNS_FROM_RFC_ABUSE autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 7829DBBE1 for ; Wed, 11 Oct 2006 21:46:41 +0200 (CEST) Received: from smtp.microsoft.com (smtp.microsoft.com [131.107.115.214]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id k9BJkdbe029753 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Wed, 11 Oct 2006 21:46:40 +0200 Received: from mailout6.microsoft.com (157.54.69.150) by TK5-EXGWY-E803.partners.extranet.microsoft.com (10.251.56.169) with Microsoft SMTP Server id 8.0.647.8; Wed, 11 Oct 2006 12:46:39 -0700 Received: from tuk-hub-03.redmond.corp.microsoft.com ([157.54.70.29]) by mailout6.microsoft.com with Microsoft SMTPSVC(6.0.3790.1830); Wed, 11 Oct 2006 12:46:25 -0700 Received: from tk5-exhub-c103.redmond.corp.microsoft.com ([157.54.70.186]) by tuk-hub-03.redmond.corp.microsoft.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Wed, 11 Oct 2006 12:46:25 -0700 Received: from win-imc-01.wingroup.windeploy.ntdev.microsoft.com (157.54.0.39) by tk5-exhub-c103.redmond.corp.microsoft.com (157.54.70.186) with Microsoft SMTP Server id 8.0.665.7; Wed, 11 Oct 2006 12:46:25 -0700 Received: from WIN-MSG-21.wingroup.windeploy.ntdev.microsoft.com ([157.54.62.26]) by win-imc-01.wingroup.windeploy.ntdev.microsoft.com with Microsoft SMTPSVC(6.0.3790.2786); Wed, 11 Oct 2006 12:46:24 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [Caml-list] Missing overflow exception message in ocamlopt Date: Wed, 11 Oct 2006 12:45:30 -0700 Message-ID: <43CD2D195487A448934920501C6EDB23026B23C3@WIN-MSG-21.wingroup.windeploy.ntdev.microsoft.com> In-Reply-To: <200610112003.20262.jon@ffconsultancy.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [Caml-list] Missing overflow exception message in ocamlopt Thread-Index: AcbtbTe1tRQ9ufdPR6anaI1ho5hHbwAAIdlw References: <43CD2D195487A448934920501C6EDB23026B233F@WIN-MSG-21.wingroup.windeploy.ntdev.microsoft.com> <200610112003.20262.jon@ffconsultancy.com> From: Jakob Lichtenberg To: Jon Harrop , X-OriginalArrivalTime: 11 Oct 2006 19:46:24.0816 (UTC) FILETIME=[EF456B00:01C6ED6D] X-Miltered: at discorde with ID 452D4A1F.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; ocamlopt:01 bug:01 ocamlopt:01 byte:01 stack:01 ocaml:01 stack:01 ocaml:01 beginner's:01 bug:01 2006:98 2006:98 46,:98 frog:98 beginners:01 Is this a bug in ocamlopt? - Jakob -----Original Message----- From: caml-list-bounces@yquem.inria.fr [mailto:caml-list-bounces@yquem.inria.fr] On Behalf Of Jon Harrop Sent: Wednesday, October 11, 2006 12:03 PM To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Missing overflow exception message in ocamlopt 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=20 some systems it seg faults. --=20 Dr Jon D Harrop, Flying Frog Consultancy Ltd. Objective CAML for Scientists http://www.ffconsultancy.com/products/ocaml_for_scientists _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs