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

Re: Assertion failed: *path != '/', ra_loader.c

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 03 Sep 2008 15:18:13 +0100

On Wed, 2008-09-03 at 15:59 +0200, holibert wrote:
> my Perl script which runs fine with Subversion 1.4.6 fails with 1.5.x:

Hi Holger.

First, please note that you should post questions about using Subversion
(including using the libraries) to the "users@" mailing list, not this
one; see <http://subversion.tigris.org/mailing-lists.html>.

However, I can guess the answer to this one.

> Assertion failed: *path != '/', file C:\Projects\subversion-1.5.2\subversion\libsvn_ra\ra_loader.c, line 997
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
>
>
> Here the Perl code, which fails:
> =====================================================
> $ra_session = get_repo_session("$url[0]");
> $node_kind_src = $ra_session->check_path("$rel_path", $source_rev);
> =====================================================
>
>
> $rel_path is something like "/dev/gui..."
>
> Any suggestions?

Yes: it looks like the argument to check_path() is supposed to be a
relative path, which should not start with a '/' character. Even if
version 1.4.6 allowed it, it was not correct, and version 1.5.x has this
new check to catch the error.

I hope that helps. If you have further questions, please email
<users_at_subversion.tigris.org>.

Thanks.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-03 16:18:36 CEST

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.