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 MAA25314; Tue, 20 Nov 2001 12:16:58 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id MAA25076 for caml-list@pauillac.inria.fr; Tue, 20 Nov 2001 12:16:57 +0100 (MET) 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 LAA24437 for ; Tue, 20 Nov 2001 11:24:38 +0100 (MET) Received: from feu.irisa.fr (feu.irisa.fr [131.254.60.80]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id fAKAOcb26883 for ; Tue, 20 Nov 2001 11:24:38 +0100 (MET) Received: from irisa.fr (sigzag.irisa.fr [131.254.12.93]) by feu.irisa.fr (8.11.4/8.11.4) with ESMTP id fAKAObT17513 for ; Tue, 20 Nov 2001 11:24:37 +0100 (MET) Message-ID: <3BFA2F65.2BBB4F8E@irisa.fr> Date: Tue, 20 Nov 2001 11:24:37 +0100 From: Sylvain Kerjean Organization: IRISA, Campus de Beaulieu, 35042 Rennes Cedex, FRANCE X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u) X-Accept-Language: fr-FR, en MIME-Version: 1.0 To: caml-list@inria.fr Subject: [Caml-list] [Bug in an interface between C++ and OCAML due to some pointer encapsulation] References: <3BF90C80.CCA8DDDD@univ-savoie.fr> <20011120110017.72dcf99f.Benjamin.Monate@lri.fr> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I made some interesting stuff between C++ and OCaml in order to interface the BeOS API (I have a drawing interface functioning). All is fine, excepted that after a certain amount of time, i get a crash in "oldify_local_roots". I guess that i made some "classical" errors in encapsulating some C pointer in a value, which might then be persistent in the OCaml heap and at the end my heap must be all feed. But i don't know how to solve this bug (no Baygon Vert is not the solution ...). Has anybody encountered the same kind of errors ? ------------------- 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