Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-4088

serf assertion with <Location />

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.x
    • 1.8.0
    • libsvn_ra_serf
    • None
    • FreeBSD

    Description

      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]#
      
      
      
      From the mailing list, directing me to post here.
      
      From: Daniel Shahaf
      
      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
      

      http://svn.redports.org/virtualbox

      Original issue reported by vivekkhera

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            cmpilato C. Michael Pilato
            subversion-importer Subversion Importer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment