Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-5005

JVM will core dump due to assertion failure in SVN native client

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 3.4.1
    • None
    • None
    • None

      SVNClient.streamFileContent in JavaHL does not canoncialise URLs passed to it. It later calls methods that assert that the URL passed to it is canonicalised.

      If the URI is not canonical for any reason (for example, the file name contains a +) then the JVM will core dump because of this:

      java: /tmp/subversion-1.7.5/subversion/libsvn_subr/dirent_uri.c:1519: uri_skip_ancestor: Assertion `svn_uri_is_canonical(child_uri, ((void *)0))' failed.
      

      This looks like a bug in the JavaHL bindings. Other methods in the SVNClient interface do not exhibit this behaviour.

              rstephens Richard Stephens (Inactive)
              rstephens Richard Stephens (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: