From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id QAA22635; Thu, 3 Jan 2002 16:42:03 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 QAA22438 for ; Thu, 3 Jan 2002 16:42:02 +0100 (MET) Received: from postfix1-2.free.fr (postfix1-2.free.fr [213.228.0.130]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g03Fg2b04679; Thu, 3 Jan 2002 16:42:02 +0100 (MET) Received: from imp1-1.free.fr (imp1-1.free.fr [213.228.0.21]) by postfix1-2.free.fr (Postfix) with ESMTP id E4E5EAB1C2; Thu, 3 Jan 2002 16:42:01 +0100 (CET) Received: by imp1-1.free.fr (Postfix, from userid 33) id D685E6436A; Thu, 3 Jan 2002 16:42:01 +0100 (MET) To: Xavier Leroy Subject: Re: [Caml-list] Garbage Again Message-ID: <1010072521.3c347bc9acfe1@imp.free.fr> Date: Thu, 03 Jan 2002 16:42:01 +0100 (MET) From: warplayer@free.fr Cc: OCaml References: <000b01c18fb3$8a443b90$c7c20b50@warp> <20020103153557.B20919@pauillac.inria.fr> In-Reply-To: <20020103153557.B20919@pauillac.inria.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.42 X-Originating-IP: 147.210.18.14 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > > It crashed again.... > > Too bad. Are you really expecting the 500+ subscribers of this list > to debug your code? Hint: there are at least two fencepost > (off-by-one) problems in the code snippet you posted. Okay. But it's not like I was newbie asking for help each time it comes. In fact, I have read many many times the full Interfacing C with OCaml documentation pages to try to figure out what's going wrong. And spend many many ( too much ) hours debugging. But sometimes you have to say "stop", because YES I'm having trouble with GC and YES I'm looking for debug help on the list. Am I that stupid ? I think that kind of GC problems can't be resolved without a solid knowledge of the GC, especially when the existing support for interfacing with C is only few doc pages, sometimes foggy (especially concerning globals and how to store value from ocaml in C). If one day I manage to understand all theses concepts, perhaps then writing a full tutorial explaining all C/OCaml interfacing cases will be a good thing for the OCaml community, and then this list will perhaps have more than 500 subsribers, don't you think ? About theses fenceposts, I would be glad to have your holy flame lighning my dark way. Warp ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr