It's really nice to have the desk cluttered with 3 PCs. I ran t/dynclass/pyint_1.imc parallel through gdb and tried to track down, why it segfaults on OS X.

Eventually I found this:

$ grep -2 parents dynclasses/pynci.dump

linux/i386:

  'class' => 'PyNCI',
  'parents' => [
    'NCI',
    'PyFunc',

OS X:

  'parents' => [
    'PyFunc',
    'NCI',

That's the reason, why a Sub is called, where there is none - PyNCI has the wrong vtable entry for invoke.

I'd be glad if some folks could have a look at the PMC compiler classes/pmc2c2.pl and lib/Parrot/Pmc2c.pm. Something seems to be fishy somewhere.

Thanks,
leo



Reply via email to