Marc,
Applied your advice with enclosing 'sub' to delay execution, and now the
stuff works great!
I examined plain 'do/eval' with your new Coro 1.1, and... this also works,
at least on my little example.
I will be extending the prototype by I/O and synch primitives from Coro set,
then.
Thank you very much,
Waldemar.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 22, 2005 8:55 PM
To: Rachwal Waldemar-AWR001
Cc: [email protected]
Subject: Re: 'Coro' segfaults on DO and EVAL


On Tue, Feb 22, 2005 at 06:32:29PM +0100, Rachwal Waldemar-AWR001
<[EMAIL PROTECTED]> wrote:
> perl's 'do "SCRIPT"'.
> 'eval "CONTENTS"' also crashes in the same way. A sample script 
> reproducing

I made an effort of supporting some cases of cede'ing while compiling, the
result is in Coro-1.1 (soon on CPAN, or at
http://data.plan9.de/Coro-1.1.tar.gz). It also has better amd64-linux
support.

Maybe that helps your case, but if there is a problem, try to avoid eval
"..." and use eval "sub {...}".

-- 
                The choice of a
      -----==-     _GNU_
      ----==-- _       generation     Marc Lehmann
      ---==---(_)__  __ ____  __      [EMAIL PROTECTED]
      --==---/ / _ \/ // /\ \/ /      http://schmorp.de/
      -=====/_/_//_/\_,_/ /_/\_\      XX11-RIPE

Reply via email to