You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "skrishnamur1@bloomberg.com" <sk...@bloomberg.com> on 2010/01/11 20:47:07 UTC

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]


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

Posted by "skrishnamur1@bloomberg.com" <sk...@bloomberg.com>.
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@windriver.com]
Sent: Tuesday, January 19, 2010 3:03 PM
To: Krish, Sailesh; users@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@bloomberg.com [mailto:skrishnamur1@bloomberg.com]
Sent: Monday, January 11, 2010 12:47 PM
To: 'users@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]


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

Posted by "Curley, John" <Jo...@windriver.com>.
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@bloomberg.com [mailto:skrishnamur1@bloomberg.com] 
Sent: Monday, January 11, 2010 12:47 PM
To: 'users@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]