develooper Front page | perl.perl5.porters | Postings from February 2018

Re: [perl #131046] [PATCH] Carp: Do not crash when reading @DB::args

Thread Previous | Thread Next
February 1, 2018 09:17
Re: [perl #131046] [PATCH] Carp: Do not crash when reading @DB::args
Message ID:
demerphq wrote:
>                                        We can encounter a stack
>refcounting bug /only/ because we are serializing the stack to report
>some other exception.

We can indeed, but that doesn't make it any more possible to work around
the bug.  It does give you the opportunity to entirely avoid tickling
these stack refcounting bugs, by not attempting to serialise arguments
from the stack at all.  But if you do look at arguments on the stack,
you're subject to the refcounting bug, and can't work around that.

>This ticket isn't about fixing the stack refcounting, it is about not
>dieing while trying to report some other issue.

Yes, and that objective is not achievable.  The stack-not-refcounted
bug cannot be reliably detected.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About