Bug#401340: Fwd: [PATCH] segmention fault. Use of uninitialized
value in string eq at /usr/lib/perl5/SVN/Core.pm line 410 during global
destruction.
Peter Samuelson
peter at p12n.org
Sat Dec 2 20:53:42 CET 2006
This bug on svn 1.4.2 was reported to the Debian bug tracker,
http://bugs.debian.org/401340:
[Jari Aalto]
> Running following command
>
> perl -cw perl-program.pl
>
> Which uses the SVN:: package produces error:
>
> Use of uninitialized value in string eq at /usr/lib/perl5/SVN/Core.pm line 410 during global destruction.
> Segmentation fault
He provides a patch, but it looks to me as though it fixes a symptom
rather than the real bug.
> --- Core.pm 2006-12-02 20:29:37+02 1.1
> +++ Core.pm 2006-12-02 20:32:27+02 1.2
> @@ -407,6 +407,10 @@
> sub DESTROY {
> return if $globaldestroy;
> my $self = shift;
> +
> + defined $$self or return;
> + defined $SVN::_Core::current_pool or return;
> +
> if ($$self eq $SVN::_Core::current_pool) {
> $SVN::_Core::current_pool = pop @POOLSTACK;
> }
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-subversion-maintainers/attachments/20061202/9b69f1be/attachment.pgp
More information about the pkg-subversion-maintainers
mailing list