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

Re: Problem with subversion-perl RPMs from WanDisco?

From: Alexey Neyman <stilor_at_att.net>
Date: Wed, 17 Sep 2014 11:29:21 -0700

On Friday, September 12, 2014 02:30:08 pm Alexey Neyman wrote:
> On Friday, September 12, 2014 01:07:53 pm Ben Reser wrote:
> > On 9/12/14 12:16 PM, Alexey Neyman wrote:
> > > I did a bit of bisection, and it turns out that 1.8.0 was working
> > > properly, but 1.8.1 and higher all segfault as described above.
> > >
> > > Hope that helps.
> >
> > With the WANdisco builds or any builds? The only differences between
> > 1.8.0 and 1.8.1 that impacts the Perl bindings in any way was shutting
> > up a bunch of compiler warnings about the _ symbol (which Perl defines
> > in their header files and SVN also uses internally for different
> > purposes) and a bunch of documentation changes. Neither of which should
> > have any functional difference.
> >
> > If you're seeing this with the WANdisco builds I think this is something
> > wrong with those builds, which has been my inclination in looking into
> > this.
>
> I cannot try stock CentOS, as they don't have 1.8.x available.
>
> I did try building and installing 1.8.10 from source on the same machine,
> and it works fine. So, it doesn't look like a version-specific issue -
> rather, like a build environment issue for WANdisco subversion-perl RPMs.
>
> Is it possible that the build environment changed between 1.8.0 and 1.8.1?

FWIW, I installed all the updates on this test machine and Perl bindings still
crash.

Does anyone else use Perl bindings from that WanDisco RPMs? Can anyone verify
that it works using a simple testcase below on a CentOS 6.x?

[[[
cat >/tmp/1.pl <<'EOF'
#!/usr/bin/perl

use SVN::Core;
use SVN::Repos;

die "Usage: 1.pl REPO TXN" unless $#ARGV == 0;
my $repo = SVN::Repos::open($ARGV[0]) or die "Cannot open repo " . $ARGV[0];
exit 0;
EOF
chmod +x /tmp/1.pl
svnadmin create /tmp/testrepo
/tmp/1.pl /tmp/testrepo
]]]

Regards,
Alexey.
Received on 2014-09-17 20:29:57 CEST

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

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