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

RE: Assertion failed:svn_path_is_canonical(path, pool) with https

From: <skrishnamur1_at_bloomberg.com>
Date: Tue, 19 Jan 2010 15:07:12 -0500

For me I disabled VAS an it worked and then I got the VAS people to make some changes and it has been working fine since then. My theory is that VAS with https was doing something screwy to the url that was passed to mod_svn, causing it to crash...

From: Curley, John [mailto:John.Curley_at_windriver.com]
Sent: Tuesday, January 19, 2010 3:03 PM
To: Krish, Sailesh; users_at_subversion.apache.org
Subject: RE: Assertion failed:svn_path_is_canonical(path, pool) with https

Hi,

I did not see a response yet. I had the same issue, although, I have several options which are different:

<Location /svn/myspace>
  DAV svn
  SVNPath /myhost/svn/repositories/myspace
  SVNPathAuthz on
  AuthzSVNAccessFile //myhost/svn/repositories/myspace/conf/authz
  Satisfy All
  AuthType Basic
  AuthName "Myspace repository"
  AuthDigestDomain /svn/myspace
  AuthUserFile //etc/opt/CollabNet_Subversion/conf/svn_auth_file
  #<LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  #</LimitExcept>
</Location>
The main difference is that the <LimitExcept ...> clause is commented out. The users will have to authenticate for all operations.

As you can see, I use basic authentication, instead of VAS, which I am not familiar with.

I hope this helps,
John

________________________________
From: skrishnamur1_at_bloomberg.com [mailto:skrishnamur1_at_bloomberg.com]
Sent: Monday, January 11, 2010 12:47 PM
To: 'users_at_subversion.apache.org'
Subject: Assertion failed:svn_path_is_canonical(path, pool) with https
Hi,

I configured apache 2.2 with mod_svn for subversion 1.6 and it worked fine with http and it worked fine. but with https, I get the below error. Could someone help figure out the bug?:
Code:

Assertion failed: svn_path_is_canonical(path, pool), file subversion/libsvn_subr
/path.c, line 380, function svn_path_basename
[Tue Dec 29 10:56:11 2009] [notice] child pid 737 exit signal Abort (6), possible coredump in /bb/tmp/apache.2.2

my config for svn in the httpd.conf looks like the below:
Code:

   <Location /svn>
      DAV svn
      SVNPath /tmp/repos/
      AuthzSVNAccessFile /temp/repos/conf/authz
       <LimitExcept GET PROPFIND OPTIONS REPORT>
        Require valid-user
      </LimitExcept>
      AuthType VAS
      AuthName "Please use toolkit username/password to authenticate."
      Require valid-user
      AuthVasUseBasic on

    </Location>

my authz config file looks like the below:
Code:

[groups]
admins = neil, dphung2, rmenon, pdoidge, abeniwal, jrodgers, skrish
smile = kzhang, ssisskin

[/]
@admins = rw
* = r

[/ISYS]
@admins = rw
* = r

[/ISYS/Apps]
* = rw

[/quote]
Received on 2010-01-19 21:07:56 CET

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.