From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id C7774BB83 for ; Wed, 19 Apr 2006 11:44:06 +0200 (CEST) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id k3J9i641029426 for ; Wed, 19 Apr 2006 11:44:06 +0200 Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id LAA31810 for ; Wed, 19 Apr 2006 11:44:05 +0200 (MET DST) Received: from nz-out-0102.google.com (nz-out-0102.google.com [64.233.162.196]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k3J9i4Pc027805 for ; Wed, 19 Apr 2006 11:44:05 +0200 Received: by nz-out-0102.google.com with SMTP id 4so886294nzn for ; Wed, 19 Apr 2006 02:44:04 -0700 (PDT) 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:content-transfer-encoding:content-disposition:references; b=S5qm6V9kD2IGoFtopO6QcGDMqufAwzfTaSLxq+STidx5/ZkO44oFHm2fWZexHd+gRswoCxPl+506gBXk9d5dDtR6VgVUjk6OOHddvK6Ggn6EDdeAokZxxDmwre5VAIJ6PpuvfOywKSokmQQ0MlPv5VAFDt0etWr2UI7F0NTlS6A= Received: by 10.36.145.3 with SMTP id s3mr119997nzd; Wed, 19 Apr 2006 02:44:04 -0700 (PDT) Received: by 10.36.121.13 with HTTP; Wed, 19 Apr 2006 02:44:04 -0700 (PDT) Message-ID: Date: Wed, 19 Apr 2006 21:44:04 +1200 From: "Jonathan Roewen" To: "Sebastian Egner" Subject: Re: [Caml-list] Bug in ocamlc or in ocamlrun. Cc: "Marc Lasson" , caml-list@inria.fr In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <4445734B.6030004@free.fr> X-j-chkmail-Score: MSGID : 44460664.000 on nez-perce : j-chkmail score : X : 0/20 1 X-Miltered: at concorde with ID 44460666.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44460664.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; bug:01 ocamlc:01 ocamlrun:01 ocaml:01 segfault:01 caml-list:01 define:01 seems:03 segmentation:03 let:03 let:03 fault:04 probably:06 sufficient:08 wrong:08 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_BY_IP autolearn=disabled version=3.0.3 > It seems that it is sufficient to define > > let add a b =3D List.map2 R.add a b > > instead of > > let add =3D List.map2 R.add > > to make the segmentation fault disappear (Ocaml 3.09.1). That is besides the point =3DP The fact is that the code -does- segfault while there is nothing syntactically (and probably semanticly) wrong with the code. Jonathan