[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 18:25:44 +0000

On Oct 29, 2013, at 12:53 PM, Branko Čibej <brane_at_wandisco.com> wrote:

> Hmm ... This is reaching a bit far, but your initial post shows that the
> crashes happen on the VirtualHost on port 80. I notice that you have
> this parameter:
>
> SVNParentPath /var/lib//svn
>
> The extra slash shouldn't hurt, but maybe it does ... can you access the
> repository, with your original configuration, on port 8080 -- which
> doesn't have the extra slash in the SVNParentPath parameter? And what
> happens if you remove that slash in the port 80 vhost configuration?
>
> — Brane
>

Unable to access through 8080 with the original Apache configuration,
nor after removing the extra slash from the port 80 vhost configuration:

[Tue Oct 29 18:04:26 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 SVN/1.7.13 mod_wsgi/3.3 Python/2.7.3 configured -- resuming normal operations
[Tue Oct 29 18:04:26 2013] [info] Server built: Jul 12 2013 13:37:15
[Tue Oct 29 18:04:26 2013] [debug] worker.c(1757): AcceptMutex: sysvsem (default: sysvsem)
[Tue Oct 29 18:04:26 2013] [info] mod_wsgi (pid=13477): Initializing Python.
[Tue Oct 29 18:04:26 2013] [info] mod_wsgi (pid=13476): Initializing Python.
[Tue Oct 29 18:04:26 2013] [info] mod_wsgi (pid=13476): Attach interpreter ''.
[Tue Oct 29 18:04:26 2013] [info] mod_wsgi (pid=13477): Attach interpreter ''.
[Tue Oct 29 18:04:46 2013] [info] [client <elided>] mod_wsgi (pid=13477, process='', application=''): Loading WSGI script '/var/lib/wsgi/access.wsgi'.
[Tue Oct 29 18:04:46 2013] [notice] child pid 13477 exit signal Segmentation fault (11), possible coredump in /tmp/apache2-gdb-dump
[Tue Oct 29 18:07:14 2013] [debug] mod_deflate.c(615): [client <elided>] Zlib: Compressed 481 to 328 : URL /projects/firetracks/svn
[Tue Oct 29 18:07:15 2013] [info] mod_wsgi (pid=13540): Initializing Python.
[Tue Oct 29 18:07:15 2013] [info] mod_wsgi (pid=13540): Attach interpreter ''.
[Tue Oct 29 18:07:17 2013] [info] [client <elided>] mod_wsgi (pid=13476, process='', application=''): Loading WSGI script '/var/lib/wsgi/access.wsgi'.
[Tue Oct 29 18:07:17 2013] [info] [client <elided>] mod_wsgi (pid=13540, process='', application=''): Loading WSGI script '/var/lib/wsgi/access.wsgi'.
[Tue Oct 29 18:07:17 2013] [notice] child pid 13476 exit signal Segmentation fault (11), possible coredump in /tmp/apache2-gdb-dump
[Tue Oct 29 18:07:18 2013] [notice] child pid 13540 exit signal Segmentation fault (11), possible coredump in /tmp/apache2-gdb-dump
[Tue Oct 29 18:07:18 2013] [info] mod_wsgi (pid=13570): Initializing Python.
[Tue Oct 29 18:07:18 2013] [info] mod_wsgi (pid=13570): Attach interpreter ''.

httpd.conf (repaired):

CoreDumpDirectory /tmp/apache2-gdb-dump
LogLevel debug

listen 8080

<VirtualHost *:8080>
    ServerName svn.mydomain.org
    <Location /projects>
        DAV svn
        SVNParentPath /var/lib/svn
        SVNListParentPath Off
        WSGIAccessScript /var/lib/wsgi/access.wsgi
    </Location>
</VirtualHost>

<VirtualHost *:80>
    ServerName svn.mydomain.org
    <Location /projects>
        DAV svn
        SVNParentPath /var/lib/svn
        SVNListParentPath Off
        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

  • application/pkcs7-signature attachment: smime.p7s
Received on 2013-10-29 19:26:25 CET

This is an archived mail posted to the Subversion Users mailing list.