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

Re: Subversion 1.7.13 mod_dav_svn with mod_wsgi auth causes Apache segfaults

From: Howard, Larry P <larry.howard_at_Vanderbilt.Edu>
Date: Tue, 29 Oct 2013 17:10:51 +0000

Thanks for following up. Amending the previous httpd.conf as shown below successfully invokes the mod_wsgi auth functions.

httpd.conf:

CoreDumpDirectory /tmp/apache2-gdb-dump
LogLevel debug

listen 8080

<VirtualHost *:8080>
    ServerName svn.mydomain.org
    DocumentRoot /var/www
    <Location /index.html>
        WSGIAccessScript /var/lib/wsgi/access.wsgi
    </Location>
</VirtualHost>

<VirtualHost *:80>
    ServerName svn.mydomain.org
    DocumentRoot /var/www
    <Location /index.html>
        AuthType Basic
        AuthName "WSGIAuth"
        AuthBasicProvider wsgi
        WSGIAuthUserScript /var/lib/wsgi/access.wsgi
        Require valid-user
        WSGIAuthGroupScript /var/lib/wsgi/access.wsgi
        Require group authorized
    </Location>
</VirtualHost>

--
Larry Howard, Sr. Research Scientist
Institute for Software Integrated Systems, Vanderbilt University
On Oct 29, 2013, at 7:58 AM, Branko Čibej <brane_at_wandisco.com> wrote:
> On 29.10.2013 13:45, Howard, Larry P wrote:
>> An Apache configuration serving Subversion repositories, with mod_wsgi 3.3 authentication provider, causes per request segfaults in Apache 2.2.22 with mod_dav_svn from Subversion 1.7.13.  If mod_wsgi auth directives are removed from the Apache configuration, then repositories are served properly.
> 
> What if you remove the SVN configuration and just set up a plain server
> with WSGI authentication? Given your description of the issue, and the
> fact that the WSGI process crashes, I'd sooner suspect mod_wsgi or your
> access script, even though I can't see anything obviously wrong with them.
> 
> -- Brane
> 
> 
> -- 
> Branko Čibej | Director of Subversion
> WANdisco // Non-Stop Data
> e. brane_at_wandisco.com

  • application/pkcs7-signature attachment: smime.p7s
Received on 2013-10-29 18:11: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.