On Fri, 9 Jan 2004, Jeff Clites wrote:

> On Jan 9, 2004, at 12:24 AM, Leopold Toetsch wrote:
>
> > Michal Wallace <[EMAIL PROTECTED]> wrote:
> >> #!/bin/env parrot
> >> #
> >> # yieldbug.imc
> >> #
> >> # This program should print dots forever.
> >> # Instead it prints a few dots and then segfaults.
> >
> > It does print dots forever here.
>
> It does for me too. But based on a previous email, I assume you are
> getting the crash after applying Luke's continuations patch? (I haven't
> tried your script with that applied.)

Crap. Yes, this code works for me too on the
unpatched version. I should have been more
careful.

But... I had based this example on a much larger
program that has the same bug in either version of
parrot. It loops through a list of iterators. It
works fine if I comment out the two exception
handler lines:

     newsub P0, .Exception_Handler, __py__catch
     set_eh P0

But with those two lines there it segfaults immediately
with the stack_height assertion failure.

I'll try to boil it down again tonight.

Sincerely,

Michal J Wallace
Sabren Enterprises, Inc.
-------------------------------------
contact: [EMAIL PROTECTED]
hosting: http://www.cornerhost.com/
my site: http://www.withoutane.com/
--------------------------------------

Reply via email to