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 57A29BB9A for ; Mon, 14 Nov 2005 03:42:46 +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 jAE2gjoP031541 for ; Mon, 14 Nov 2005 03:42:45 +0100 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 DAA07009 for ; Mon, 14 Nov 2005 03:42:45 +0100 (MET) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id jAE2giIt031533 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Mon, 14 Nov 2005 03:42:44 +0100 Received: from root by ciao.gmane.org with local (Exim 4.43) id 1EbUHN-0002bZ-K6 for caml-list@inria.fr; Mon, 14 Nov 2005 03:41:10 +0100 Received: from 218.18.209.71 ([218.18.209.71]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Nov 2005 03:41:09 +0100 Received: from zuoqian by 218.18.209.71 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 14 Nov 2005 03:41:09 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: xuzq Subject: perl4caml crashed with threads Date: Mon, 14 Nov 2005 02:16:43 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 218.18.209.71 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Firefox/1.0.7 (ax)) Sender: news X-j-chkmail-Score: MSGID : 4377F9A4.001 on concorde : j-chkmail score : X : 0/20 1 X-Miltered: at concorde with ID 4377F9A5.001 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4377F9A4.001 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=1.6 required=5.0 tests=RCVD_BY_IP,RCVD_NUMERIC_HELO 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 ()= try let sv=Perl.eval "3+7" in let r=int_of_sv sv in printf "result=%i" r with _->printf "error" let ()=Thread.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.