From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id E62A8BB81 for ; Sat, 18 Dec 2004 19:35:29 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id iBIIZTI1029995 for ; Sat, 18 Dec 2004 19:35:29 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id TAA13059 for ; Sat, 18 Dec 2004 19:35:29 +0100 (MET) Received: from mail.eecs.harvard.edu (bowser.eecs.harvard.edu [140.247.60.24]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id iBIIZSZj024200; Sat, 18 Dec 2004 19:35:28 +0100 Received: from localhost (localhost.eecs.harvard.edu [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id EAF2054C8EF; Sat, 18 Dec 2004 13:35:27 -0500 (EST) Received: from mail.eecs.harvard.edu ([127.0.0.1]) by localhost (bowser.eecs.harvard.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 58035-01; Sat, 18 Dec 2004 13:35:27 -0500 (EST) Received: by mail.eecs.harvard.edu (Postfix, from userid 32018) id A3B5654C840; Sat, 18 Dec 2004 13:35:27 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.eecs.harvard.edu (Postfix) with ESMTP id 9E2F854C7FF; Sat, 18 Dec 2004 13:35:27 -0500 (EST) Date: Sat, 18 Dec 2004 13:35:27 -0500 (EST) From: Christopher Alexander Stein To: Damien Doligez Cc: caml users Subject: Re: [Caml-list] Out_of_memory In-Reply-To: <7C7B37CB-50E5-11D9-8EE8-000D9345235C@inria.fr> Message-ID: <20041218133138.N53182@bowser.eecs.harvard.edu> References: <20041217013905.L29074@bowser.eecs.harvard.edu> <2BD7548E-5081-11D9-B92D-000D9345235C@inria.fr> <20041218031455.C86590@bowser.eecs.harvard.edu> <7C7B37CB-50E5-11D9-8EE8-000D9345235C@inria.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at eecs.harvard.edu X-Miltered: at nez-perce with ID 41C47871.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 41C47870.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 oldify:01 ocaml:01 segfaults:01 oldify:01 camldebug:01 damien:01 wrote:01 segfault:01 bytecode:01 runtime:01 damien:01 caml-list:01 beginner's:01 ocaml:01 X-Spam-Checker-Version: SpamAssassin 3.0.0 (2004-09-13) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.0 X-Spam-Level: Interesting point. It was throwing Out_of_memory half the time and segfaulting the other half (in caml_oldify_mopup), then I carefully read through the C <-> OCaml chapter of the manual and made sure my C library code is consistent with the rules outlined there. Since those changes, it no longer throws Out_of_memory and always segfaults in caml_oldify_mopup. I will take a look at camldebug. Thanks, Lex On Sat, 18 Dec 2004, Damien Doligez wrote: > > Program received signal SIGSEGV, Segmentation fault. > > I'm not sure I understand how this segfault can translate to an > out-of-memory exception in the bytecode runtime. > > -- Damien > > _______________________________________________ > 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 >