Bug#624689: perl: segfaults (dereferencing a null pointer) while evaluating a pattern match

James Vega jamessan at debian.org
Mon May 2 11:01:02 UTC 2011


On Mon, May 02, 2011 at 01:16:37PM +0300, Niko Tyni wrote:
> On Sat, Apr 30, 2011 at 12:34:57PM -0400, James Vega wrote:
> > Package: perl
> > Version: 5.10.1-20
> > Severity: normal
> 
> > *** Please type your report below this line ***
> > In the piece of code I'm running, an object's DESTROY method has various
> > cleanup that it is doing.  As part of that cleanup, it calls through
> > various functions and ends up evaluating a pattern match.  This pattern
> > match, the last line in the below snippet, ends up crashing Perl.
> 
> Would it be possible to get a recipe for reproducing this?

Unfortunately, I haven't been able to boil it down to a simple test case
yet.  It happens during a run of our test suite, which wouldn't be
easily reproduceable outside of our environment.

I'll try to find some time to see if I can whittle down the code that's
being run to something that still reproduces and can easily be used
externally.

I did snapshot the code that reproduces this problem, though, so I can
do debugging or testing of patches.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20110502/1e122346/attachment.pgp>


More information about the Perl-maintainers mailing list