From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id E5708BC6B for ; Tue, 18 Sep 2007 04:09:44 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAN7P7kbAXQInlGdsb2JhbACOEwIHBAYHCJZV X-IronPort-AV: E=Sophos;i="4.20,266,1186351200"; d="scan'208";a="940600" Received: from concorde.inria.fr ([192.93.2.39]) by mail1-smtp-roc.national.inria.fr with ESMTP; 18 Sep 2007 04:10:47 +0200 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l8I2A80k013656 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Tue, 18 Sep 2007 04:10:13 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAFbQ7kba1uFinmdsb2JhbACOEwIHBAYPGJY6 X-IronPort-AV: E=Sophos;i="4.20,266,1186351200"; d="scan'208";a="16339704" Received: from smtp.syd.people.net.au ([218.214.225.98]) by mail4-smtp-sop.national.inria.fr with SMTP; 18 Sep 2007 04:10:45 +0200 Received: (qmail 589 invoked from network); 18 Sep 2007 02:10:48 -0000 Received: from unknown (HELO hendrix.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 18 Sep 2007 02:10:48 -0000 Received: from hendrix (hendrix [192.168.200.99]) by hendrix.mega-nerd.net (Postfix) with SMTP id 00C8E2FB82 for ; Tue, 18 Sep 2007 12:10:41 +1000 (EST) Date: Tue, 18 Sep 2007 12:10:41 +1000 From: Erik de Castro Lopo To: caml-list@inria.fr Subject: Re: [Caml-list] [ANN] coThreads 0.10 Message-Id: <20070918121041.6683b111.mle+ocaml@mega-nerd.com> In-Reply-To: <87lkb5fe3f.fsf@pps.jussieu.fr> References: <87lkb5fe3f.fsf@pps.jussieu.fr> Reply-To: caml-list@inria.fr Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed 2.3.1 (GTK+ 2.10.11; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at concorde with ID 46EF3380.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 ocaml:01 lseek:01 non-opt:01 errno:01 compiler:01 0.10:98 ubuntu:98 wrote:01 unix:01 unix:01 exception:01 caml-list:01 water:98 water:98 Zheng Li wrote: > > Hi, > > I'd like to announce the first public release of coThreads, a > concurrent programming library for OCaml. I've compiled this with Ocaml 3.09.1 on x86 Linux and x86-64 Linux. Looking at the example program ray_nocol.ml, it works correctly on x86 Linux but fails on x86-64 [0]: # > ./ray_nocol.proc.opt 9 1024 1 ray_nocol.proc.opt.pgm Fatal error: exception Unix.Unix_error(12, "lseek", "") I've also tried the non-opt version and the nath version. All fail in the same way. The errno value of 12 means "Out of memory". I did a little debugging but couldn't find anything obvious. Erik [0] This is the standard 3.09.1 compiler shipped with Ubuntu Feisty. -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- The Earth is around 70% water. Fish rule the seas. Humans are over 90% water. It's only a matter of time.