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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 11DC0BC69 for ; Thu, 29 Mar 2007 23:32:14 +0200 (CEST) Received: from ipmail02.adl2.internode.on.net (ipmail02.adl2.internode.on.net [203.16.214.141]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2TLWBNg010877 for ; Thu, 29 Mar 2007 23:32:13 +0200 Received: from ppp36-111.lns2.syd6.internode.on.net (HELO [192.168.1.201]) ([59.167.36.111]) by ipmail02.adl2.internode.on.net with ESMTP; 30 Mar 2007 07:02:11 +0930 X-IronPort-AV: i="4.14,348,1170595800"; d="scan'208"; a="103892637:sNHT53496254" Subject: Re: [Caml-list] Bug somewhere in Ocaml 3.09.3.rc1? From: skaller To: caml-list@inria.fr In-Reply-To: <1175200818.16694.46.camel@rosella.wigram> References: <1175200818.16694.46.camel@rosella.wigram> Content-Type: text/plain Date: Fri, 30 Mar 2007 07:32:09 +1000 Message-Id: <1175203929.9294.3.camel@rosella.wigram> Mime-Version: 1.0 X-Mailer: Evolution 2.8.1 Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 460C305B.002 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bug:01 ocaml:01 bug:01 compiler:01 ocaml:01 marshalling:01 corrupting:98 meg:98 sourceforge:01 wrote:01 parsed:01 caml-list:01 data:02 string:02 fri:05 On Fri, 2007-03-30 at 06:40 +1000, skaller wrote: > I have a weird bug where the Felix compiler is going haywire. > I need some ideas how to think about what it is. It appears > to be a bug in Ocaml, not my code. [] > So I think I'm overflowing some boundary, and the Ocaml > run time is corrupting something. The Felix compiler's fresh > symbol count is around 16,000 when this happens -- quite a small > number. The test code is around 500K of source characters, > or 12,000 lines (half the lines are #line directives). Ok, 3.10 fails too .. but I think it might be Marshall .. i'm Marshalling all the parsed code out. Here's the file: 1948 -rw-r--r-- 1 skaller skaller 1988162 2007-03-30 07:26 rt-1.01.01-0.par so the data here is 2Meg .. could this be breaking string length limits and crashing something? -- John Skaller Felix, successor to C++: http://felix.sf.net