Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-StackTrace CPAN distribution.

Report information
The Basics
Id: 99095
Status: resolved
Priority: 0/
Queue: Devel-StackTrace

People
Owner: Nobody in particular
Requestors: ether [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: undef frame during global destruction
I'm afraid I don't have a reproduction case to give you, but I'm seeing this (reliably) on one of my test systems: Can't call method "as_string" on an undefined value at /var/local/CE/extlib/lib/perl5/Devel/StackTrace.pm line 243 during global destruction. line 243 is $st .= $f->as_string( $first, $p ) . "\n"; Is it possible that some of the frames are being destroyed prematurely? Or simply that an error condition during global destruction should be treated differently?
On Tue Sep 23 19:20:27 2014, ETHER wrote: Show quoted text
> Is it possible that some of the frames are being destroyed > prematurely? Or simply that an error condition during global > destruction should be treated differently?
To answer your questions ... Yes, AFAIK objects can be destroyed in any old order during global destruction. And yes, I suspect that errors during global destruction should be treated differently, but I'm not sure whether this is up to D::ST or something higher up the stack.