Bernhard Schmalhofer <[EMAIL PROTECTED]> wrote:

> Hi,

> the example 'thr-primes.imc' should not use the PerlUndef PMC, as the
> Perl* PMCs are being moved into 'dynclasses'.

> Replacing the PerlUndef PMC with the standard Undef PMC mostly works.
> However, after 499 is found as a prime, an infinite loop seems to be
> entered.

The PerlUndef has the Integer PMC in its parents and inherits an empty
C<share> vtable slot. Undef used the Parrot_default_share implementation
which throws an internal_exception. The strange part is, why this
exception isn't visible and why the program runs to the end and hangs
there.

Anyway I've put in an empty share into the Undef PMC and now it works.

> CU, Bernhard

Thanks for looking at it,
leo

Reply via email to