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 23529BBBB for ; Fri, 3 Mar 2006 02:36:54 +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 k231arPn027674 for ; Fri, 3 Mar 2006 02:36:53 +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 CAA00755 for ; Fri, 3 Mar 2006 02:36:53 +0100 (MET) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.196]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id k231aqLO013326 for ; Fri, 3 Mar 2006 02:36:52 +0100 Received: by xproxy.gmail.com with SMTP id s17so369228wxc for ; Thu, 02 Mar 2006 17:36:51 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jsKOg5d952f1ocVUlZgXj/Y4osNISCE1wDRbmjDt9BfZ8i0UMrJQBK1MwKdaRucXGfqVdOx8lNp7IBi0+Xi7LsQBMDBFUc1OqhVQrja7hcG/ayjGPdL2z9nCeAUd80RsKQpxc93xp7hRGy0JY+MBpIl/yv09XgfWuE/x1+Rc6kg= Received: by 10.70.54.13 with SMTP id c13mr3931611wxa; Thu, 02 Mar 2006 17:36:51 -0800 (PST) Received: by 10.70.126.16 with HTTP; Thu, 2 Mar 2006 17:36:51 -0800 (PST) Message-ID: <9d3ec8300603021736y6ec829fu4899cbd3938384f6@mail.gmail.com> Date: Fri, 3 Mar 2006 02:36:51 +0100 From: "Till Varoquaux" To: oleg@pobox.com Subject: Re: [Caml-list] Native delimited continuations for bytecode OCaml Cc: garrigue@math.nagoya-u.ac.jp, caml-list@inria.fr In-Reply-To: <20060303012002.9B34FA9D0@Adric.metnet.navy.mil> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060302.085148.70476851.garrigue@math.nagoya-u.ac.jp> <20060303012002.9B34FA9D0@Adric.metnet.navy.mil> X-Miltered: at concorde with ID 44079DB5.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at nez-perce with ID 44079DB4.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 delimited:01 bytecode:01 ocaml:01 oleg:01 oleg:01 val:01 val:01 stack:01 threads:01 wrote:01 wrote:01 abstract:01 exception:01 functions:01 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 On 3/3/06, oleg@pobox.com wrote: > > Jacques Garrigue wrote: > >> Fatal error: exception Invalid_argument("output_value: abstract value > >> (Custom)") > > > it just says that the marshaller encountered a custom C value. > > But there are no such values in my code: C functions return either > Val_long, Val_unit, or a tuple with the tag 0 rather than > Custom_tag. The custom value must be referenced in the custom stack > fragement... > It can also come from an open io handle or threads (I doubt you are using a= ny). Regards, Till