From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: weis Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA10059 for caml-redistribution@pauillac.inria.fr; Mon, 21 Feb 2000 18:17:39 +0100 (MET) Resent-Message-Id: <200002211717.SAA10059@pauillac.inria.fr> 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 OAA07703 for ; Mon, 21 Feb 2000 14:40:27 +0100 (MET) Received: from air.irisa.fr (air.irisa.fr [131.254.60.130]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id OAA05204 for ; Mon, 21 Feb 2000 14:40:25 +0100 (MET) Received: from parate.irisa.fr (parate.irisa.fr [131.254.12.25]) by air.irisa.fr (8.9.3/8.9.3) with ESMTP id OAA23700; Mon, 21 Feb 2000 14:40:25 +0100 (MET) Sender: David.Mentre@irisa.fr To: "Juan J. Quintela" Cc: caml-list@inria.fr Subject: Re: Calling C from OCaml, GC problems References: From: David.Mentre@irisa.fr (David=?iso-8859-1?q?_Mentr=E9?=) Date: 21 Feb 2000 14:40:25 +0100 In-Reply-To: "Juan J. Quintela"'s message of "18 Feb 2000 11:48:43 +0100" Message-ID: User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-From: weis@pauillac.inria.fr Resent-Date: Mon, 21 Feb 2000 18:17:39 +0100 Resent-To: caml-redistribution@pauillac.inria.fr "Juan J. Quintela" writes: > I think you need to protect m with > CAMLparam1(m); No. You need to protect only Caml 'values'. (and I've tested your suggestion, segfault at the beginning of the program). d. -- David.Mentre@irisa.fr -- http://www.irisa.fr/prive/dmentre/ Opinions expressed here are only mine.