[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: Wed, 30 Oct 2013 17:23:34 +0000

Apologies for following my own message, but based on a recommendation from the mod_wsgi developer,
I upgraded the mod_wsgi module to version 3.4. This failed, however, to remedy the situation.

[Wed Oct 30 16:22:58 2013] [notice] Apache/2.2.22 (Ubuntu) DAV/2 SVN/1.7.13 mod_wsgi/3.4 Python/2.7.3 configured -- resuming normal operations
[Wed Oct 30 16:22:58 2013] [info] Server built: Jul 12 2013 13:37:15
[Wed Oct 30 16:22:58 2013] [debug] worker.c(1757): AcceptMutex: sysvsem (default: sysvsem)
[Wed Oct 30 16:22:58 2013] [info] mod_wsgi (pid=25136): Initializing Python.
[Wed Oct 30 16:22:58 2013] [info] mod_wsgi (pid=25135): Initializing Python.
[Wed Oct 30 16:22:58 2013] [info] mod_wsgi (pid=25135): Attach interpreter ''.
[Wed Oct 30 16:22:58 2013] [info] mod_wsgi (pid=25136): Attach interpreter ''.
[Wed Oct 30 16:23:12 2013] [debug] mod_deflate.c(615): [client <elided>] Zlib: Compressed 481 to 328 : URL /projects/firetracks
[Wed Oct 30 16:23:14 2013] [info] [client <elided>] mod_wsgi (pid=25135, process='', application=''): Loading WSGI script '/var/lib/wsgi/access.wsgi'.
[Wed Oct 30 16:23:14 2013] [info] [client <elided>] mod_wsgi (pid=25136, process='', application=''): Loading WSGI script '/var/lib/wsgi/access.wsgi'.
[Wed Oct 30 16:23:14 2013] [notice] child pid 25135 exit signal Segmentation fault (11), possible coredump in /tmp/apache2-gdb-dump
[Wed Oct 30 16:23:14 2013] [notice] child pid 25136 exit signal Segmentation fault (11), possible coredump in /tmp/apache2-gdb-dump
[Wed Oct 30 16:23:15 2013] [info] mod_wsgi (pid=25194): Initializing Python.
[Wed Oct 30 16:23:15 2013] [info] mod_wsgi (pid=25194): Attach interpreter ''.

What we know is that mod_dav_svn works as expected without the mod_wsgi auth directives. mod_wsgi works as expected
without mod_dav_svn directives. The intended Apache configuration works as expected with mod_dav_svn from Subversion
1.7.9 and mod_wsgi 3.3.

Is there something more I can do to help clarify the report?

--
Larry Howard, Sr. Research Scientist
Institute for Software Integrated Systems, Vanderbilt University
On Oct 29, 2013, at 1:25 PM, Howard, Larry P <larry.howard_at_Vanderbilt.Edu> wrote:
> 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-30 18:25:23 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.