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

Re: Seg fault, Perl bindings, "perl -c"

From: Mathias Weinert <mathias.weinert_at_gfa-net.de>
Date: 2006-09-12 12:13:10 CEST

Nik Clayton wrote:
> If you use Perl's "-c" command line option to check the syntax of a Perl
> program that uses SVN::Core you get a seg fault.
>
> % perl -c -MSVN::Core -e 'print "hello, world\n";'
> -e syntax OK
> Segmentation fault (core dumped)
>
> This is with Perl 5.8.8, Subversion 1.3.2 (r19776), with ra_dav, ra_svn,
> and ra_local enabled, on FreeBSD (tested on -current, 6.1, 5.4, and 4.10).
>
> I asked around on the #london.pm channel, and was told that this was
> repeatable for:
>
> Subversion 1.2.1 on Darwin, Perl 5.8.8
>
> Subversion 1.3.1 on Ubuntu 2.6.15-25-386, Perl 5.8.8
>
> Subversion 1.3.2 on Ubuntu 2.6.15-25-386, Perl 5.8.8
>
> It apparently wasn't repeatable on:
>
> Subversion 1.1.4 on (unknown) Linux, Perl 5.8.8
>
> If you actually run the program (i.e., remove the "-c" from the command
> line) it works correctly.

Also reproducible with

     Subversion 1.4.0 on cygwin, Perl 5.8.7

I get:

$ perl -c -MSVN::Core -e 'print "hello, world\n";'
-e syntax OK
Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8/cygwin/SVN/Core.pm line 410 during global destruction.
Segmentation fault (core dumped)

Mathias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 12 12:14:33 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.