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 nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id DDC6EBB9A for ; Sun, 13 Nov 2005 14:39:00 +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 jADDd0XC028090 for ; Sun, 13 Nov 2005 14:39:00 +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 OAA16170 for ; Sun, 13 Nov 2005 14:39:00 +0100 (MET) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.201]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jADDcxjh028087 for ; Sun, 13 Nov 2005 14:38:59 +0100 Received: by wproxy.gmail.com with SMTP id 57so839621wri for ; Sun, 13 Nov 2005 05:38:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=gpNRQQ5wK25olm/rbDxc/IzTAV+OPPGNKfD1d9q/tUBK0hsf8xDbM/mFMilYgVTWxwyEc7yTIRXI2Zf27gp369/rnlF6cDq9J2KoFTH9w39Rtl6/gKoJyB0pC3/HbqPz+zhK1FZacWGzGVDk/us21eYrAbfqhVW4fJEKTZPCuuE= Received: by 10.65.123.6 with SMTP id a6mr4559159qbn; Sun, 13 Nov 2005 05:38:58 -0800 (PST) Received: by 10.65.203.4 with HTTP; Sun, 13 Nov 2005 05:38:58 -0800 (PST) Message-ID: Date: Sun, 13 Nov 2005 21:38:58 +0800 From: Xu Zuoqian To: caml-list@inria.fr Subject: perl4caml crashed with threads MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Miltered: at nez-perce with ID 437741F4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 437741F3.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; threads:01 bug:01 printf:01 printf:01 ocamlc:01 -thread:01 usr:01 lib:01 threads:01 ocaml:01 unix:01 cma:01 cma:01 int:01 thread:02 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=RCVD_BY_IP autolearn=disabled version=3.0.3 Hi, On my debian sid box,the following prog core dump.What's wrong?Is it all right on your machine or is it a bug? open Printf open Perl let test ()=3D try let sv=3DPerl.eval "3+7" in let r=3Dint_of_sv sv in printf "result=3D%i" r with _->printf "error" let ()=3DThread.join (Thread.create test ()) The command line: ocamlc -thread -I +perl /usr/lib/perl/5.8/auto/DynaLoader/DynaLoader.a perl4caml.cma unix.cma threads.cma test.ml -o test Version: Ocaml 3.08.3 & 3.09.0 perl4caml 0.9.3 regards.