From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 57325BB9C for ; Thu, 24 Nov 2005 15:24:14 +0100 (CET) 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 jAOEODRO012148 for ; Thu, 24 Nov 2005 15:24:13 +0100 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 PAA24691 for ; Thu, 24 Nov 2005 15:24:13 +0100 (MET) Received: from mail.enyo.de (mail.enyo.de [212.9.189.167]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jAOEOCSO011967 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Thu, 24 Nov 2005 15:24:12 +0100 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by albireo.enyo.de with esmtp id 1EfI1A-0004VC-GI; Thu, 24 Nov 2005 15:24:08 +0100 Received: from fw by deneb.enyo.de with local (Exim 4.54) id 1EfI18-0008Q3-SQ; Thu, 24 Nov 2005 15:24:06 +0100 From: Florian Weimer To: Vincenzo Ciancia Cc: caml-list@inria.fr Subject: Re: [Caml-list] Memory leak with ocaml 3.09 but not with ocaml <= 3.08.1 References: Date: Thu, 24 Nov 2005 15:24:06 +0100 In-Reply-To: (Vincenzo Ciancia's message of "Thu, 24 Nov 2005 01:00:52 +0100") Message-ID: <87hda26s55.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde with ID 4385CD0D.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 4385CD0C.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 3.09:01 ocaml:01 allocator:01 run-time:01 callbacks:01 invoke:01 caml:02 florian:02 string:02 library:03 blocking:04 path:06 memory: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=none autolearn=disabled version=3.0.3 * Vincenzo Ciancia: > My C callbacks, which then call back ocaml, look like this: > leave_blocking_section(); > vpath = copy_string(path); I don't think it's allowed to invoke the Caml allocator while not holding the run-time library lock.