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

Seg fault, Perl bindings, "perl -c"

From: Nik Clayton <nik_at_ngo.org.uk>
Date: 2006-09-12 11:56:11 CEST

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.

N

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Sep 12 11:56:47 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.