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

Re: Perl bindings: SVN::Repos::open() seg fault

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-08-21 15:56:07 CEST

On 8/21/07, Prystash,John <prystasj@oclc.org> wrote:
>
>
>
>
> Hey Everyone, I'm getting a segmentation fault when attempting to run the
> following code in Perl
>
> use Carp;
> use SVN::Core;
> use SVN::Fs;
> use SVN::Repos;
>
> my $path = shift;
>
> croak "Repository path required.\n" unless $path;
>
> print "\nOpening repository: $path\n\n";
> my $repos = SVN::Repos::open($path);
>
> When I try to step into the SVN::Repos::open() call, the debugger hangs, so
> I'm having a hard time narrowing things down.
>
> When building the bindings, everything passed and went well, I've had no
> other problems I can think of.

I haven't played with the bindings for a while, but you might have to
set up a pool first with SVN::Pool->new_default; ?

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Aug 21 15:53:48 2007

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.