You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Vick Khera <kh...@kcilink.com> on 2011/12/23 16:18:26 UTC

assertion failure when using serf instead of neon RA.

On a FreeBSD 8.2/amd64 box, if I build svn using the serf RA library, I get an assertion fail (and core dump) when accessing a particular remote repository.  When I recompile svn using neon, I do not get this error:

[root@yertle]# svn ls http://svn.redports.org/virtualbox
Assertion failed: (svn_fspath__is_canonical(parent_fspath)), function svn_fspath__is_child, file subversion/libsvn_subr/dirent_uri.c, line 2467.
Abort (core dumped)
[root@yertle]# svn --version
svn, version 1.7.2 (r1207936)
   compiled Dec 16 2011, 11:10:55

Copyright (C) 2011 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme
* ra_serf : Module for accessing a repository via WebDAV protocol using serf.
  - handles 'http' scheme
  - handles 'https' scheme

 *** recompile svn with neon instead of serf ***

[root@yertle]# svn ls http://svn.redports.org/virtualbox
devel/
emulators/
www/
[root@yertle]# svn --version
svn, version 1.7.2 (r1207936)
   compiled Dec 23 2011, 10:11:14

Copyright (C) 2011 The Apache Software Foundation.
This software consists of contributions made by many people; see the NOTICE
file for more information.
Subversion is open source software, see http://subversion.apache.org/

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
  - handles 'http' scheme
  - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
  - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

[root@yertle]# 


Re: assertion failure when using serf instead of neon RA.

Posted by Vick Khera <kh...@kcilink.com>.
On Dec 24, 2011, at 11:21 AM, Daniel Shahaf wrote:

> Could you file an issue, please, and assign it to the 1.8.0 milestone?

Done. http://subversion.tigris.org/issues/show_bug.cgi?id=4088

Re: assertion failure when using serf instead of neon RA.

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Vick Khera wrote on Fri, Dec 23, 2011 at 10:18:26 -0500:
> On a FreeBSD 8.2/amd64 box, if I build svn using the serf RA library,
> I get an assertion fail (and core dump) when accessing a particular
> remote repository.  When I recompile svn using neon, I do not get this
> error:
> 

FTR, you can compile svn with both neon and serf and switch between them
via --config-option=servers:global:http-library=$libname .

I can reproduce your assertion on a linux box using serf 1.0.0 and
svn, version 1.8.0-dev (under development)
   compiled Dec 12 2011, 11:45:23.
Could you file an issue, please, and assign it to the 1.8.0 milestone?

Thanks!

Daniel


> [root@yertle]# svn ls http://svn.redports.org/virtualbox
> Assertion failed: (svn_fspath__is_canonical(parent_fspath)), function svn_fspath__is_child, file subversion/libsvn_subr/dirent_uri.c, line 2467.
> Abort (core dumped)
> [root@yertle]# svn --version
> svn, version 1.7.2 (r1207936)
>    compiled Dec 16 2011, 11:10:55
> 
> Copyright (C) 2011 The Apache Software Foundation.
> This software consists of contributions made by many people; see the NOTICE
> file for more information.
> Subversion is open source software, see http://subversion.apache.org/
> 
> The following repository access (RA) modules are available:
> 
> * ra_svn : Module for accessing a repository using the svn network protocol.
>   - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
>   - handles 'file' scheme
> * ra_serf : Module for accessing a repository via WebDAV protocol using serf.
>   - handles 'http' scheme
>   - handles 'https' scheme
> 
>  *** recompile svn with neon instead of serf ***
> 
> [root@yertle]# svn ls http://svn.redports.org/virtualbox
> devel/
> emulators/
> www/
> [root@yertle]# svn --version
> svn, version 1.7.2 (r1207936)
>    compiled Dec 23 2011, 10:11:14
> 
> Copyright (C) 2011 The Apache Software Foundation.
> This software consists of contributions made by many people; see the NOTICE
> file for more information.
> Subversion is open source software, see http://subversion.apache.org/
> 
> The following repository access (RA) modules are available:
> 
> * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
>   - handles 'http' scheme
>   - handles 'https' scheme
> * ra_svn : Module for accessing a repository using the svn network protocol.
>   - handles 'svn' scheme
> * ra_local : Module for accessing a repository on local disk.
>   - handles 'file' scheme
> 
> [root@yertle]# 
>