[perl #57764] docs/art/ppp02-pmc.pod -- example 9 segfault

chromatic chromatic at wgz.org
Thu Feb 12 21:29:16 UTC 2009


On Thursday 12 February 2009 13:14:42 Will Coleda via RT wrote:

> Here's a shorter example that still generates a bus error for me on
> darwin/x86

Oh look, it's an order of destruction problem.

> And here's a partial bt from the bus error:
> #0  0x00000001 in ?? ()
> #1  0x0107f318 in Parrot_exit (interp=0x600cb0, status=1) at
> src/exit.c:91
> #2  0x0107e462 in die_from_exception (interp=0x600cb0,
> exception=0x2fa9f0) at src/exceptions.c:159
> #3  0x0107e521 in Parrot_ex_throw_from_c (interp=0x600cb0,
> exception=0x2fa9f0) at src/exceptions.c:308
> #4  0x0107ec7f in Parrot_ex_throw_from_c_args (interp=0x600cb0,
> ret_addr_unused=0x0, exitcode=62, format=0x1314724 "maximum recursion
> depth exceeded") at src/exceptions.c:409
> #5  0x0119f660 in Parrot_Sub_invoke (interp=0x600cb0, pmc=0x2c19c0,
> next=0x0) at ./src/pmc/sub.pmc:268

...

> #11 0x0109a292 in Parrot_really_destroy (interp=0x600cb0,
> exit_code_unused=1, arg_unused=0x0) at src/inter_create.c:324

-- c


More information about the parrot-dev mailing list