[perl #60556] Exceptions from C-level MULTI functions break subs

Christoph Otto via RT parrotbug-followup at parrotcode.org
Sun Nov 16 10:08:03 UTC 2008


On Sat Nov 15 11:56:08 2008, christoph at mksig.org wrote:
> If an exception handler catches an exception from a MULTI function
> implemented
> in C, passing that exception from the handler to a sub causes a
> segfault.
> Doing the same thing with a subclass of Integer with a PIR divide sub
> works as
> expected.
> The attached code demonstrates this.  If p is an Integer, the parrot
> dies.  If
> it's a MyInteger, it doesn't.

I added a TODO'd test for this bug to the end of t/pmc/exception.t in
r32698.


More information about the parrot-dev mailing list