[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Fwd: [PATCH] segmention fault. Use of uninitialized value in string eq at /usr/lib/perl5/SVN/Core.pm line 410 during global destruction.

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: 2006-12-11 15:19:36 CET

Ping...

Has anybody familiar with the perl bindings had a chance to look at
this? If nothing happens in the next few days, I'll file an issue.

-Hyrum

Peter Samuelson wrote:
> 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;
>> }

Received on Mon Dec 11 15:20:39 2006

This is an archived mail posted to the Subversion Dev mailing list.