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

SVN Perl Bus Error

From: Brooke Smith <brooke_at_tintuna.com>
Date: 2005-02-10 12:29:33 CET

Gidday all,

About a month ago I wrote of a problem running Perl SVN code (svn,
version 1.1.1 (r11581) compiled Jan 15 2005, 12:50:36). I was
getting a Segmentation Fault. This was under Mac OS X 10.3.4. I left
it as something to work out and that it might be a Mac OS X problem.
Recently our sysadmin installed SVN 1.1.3 on Solaris 8 box and the same
thing happened with exactly the same test code. The code (below and
attached) does an 'ls' of a path that doesn't exist. If the path
exists it doesn't seg fault ('svn://eeow/new/tags' doesn't exist but
'svn://eeow/new' does):

use SVN::Client;

my $ctx = new SVN::Client();

        my $lsvn_error_t = shift;

        print STDERR "SVN::Error::handler - object: $lsvn_error_t\n";
        print STDERR " message: " . $lsvn_error_t -> message() . "\n";

print STDERR "Call ls(svn://eeow/new/tags, 'HEAD', 1)\n";

eval{$ctx -> ls('svn://eeow/new/tags', 'HEAD', 1);};
if ($@) {
        print STDERR "Error: $@\n";
        exit 1;

Now when I run the same code at home I'm getting a bus error. Here is
the stdoutput.

bsmith@eeow newVersion $ ktrace -t cnisuw ./simple.pl
Call ls(svn://eeow/new/tags, 'HEAD', 1)
SVN::Error::handler - object: _p_svn_error_t=SCALAR(0x188dd90)
   message: URL 'svn://eeow/new/tags' non-existent in that revision
Bus error

Seeing it is happening on two platforms it seems like a problem not
specifically related to Mac OS X. I'm attaching the ktrace output file
and would appreciate if it could be inspected to see if anything stands

We would really like to move to SVN from CVS but in this strategic move
we'd rewrite our tools using Perl and we can't do this if we can't get
it to work.


Brooke Smith <novorivus at optusnet.com.au>
Go directly to jail.  Do not pass Go, do not collect $200.

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Thu Feb 10 12:35:44 2005

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.