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

subversion 1.4.4, apache 2 and segmentation faults

From: Sean Brown <seanmichaelbrown_at_gmail.com>
Date: 2007-08-10 15:31:35 CEST

I'm having difficulty getting the apache bindings for subversion to
work correctly. Whenever

LoadModule authz_svn_module modules/mod_authz_svn.so

is NOT commented out of my apache configuration, no pages will render
in any way and subversion requests also fail. Here's the error in the
apache error_log:

[Thu Aug 09 23:44:17 2007] [notice] Apache/2.2.4 (Unix) DAV/2
PHP/5.2.3 SVN/1.4.4 configured -- resuming normal operations
[Thu Aug 09 23:44:49 2007] [notice] child pid 26228 exit signal
Segmentation fault (11)

The error that svn clients get is:

svn co http://subversion.ourdomain.com/my_repos --username=sbrown
svn: PROPFIND request failed on '/my_repos'
svn: PROPFIND of '/my_repos': Could not read status line: connection
was closed by server. (http://subversion.ourdomain.com)

We're on FC6. The apache 2.2.4 server is running as user apache and
group apache. The user that owns my repositories is svn and the group
is apache (and that user also belongs to the group apache). The
entire home directory for the svn user (where all of the repositories
are) is

ls -l /home

drwxr-xr-x 86 svn apache 4096 Jul 30 13:27 svn

Here's the location block:

    <Location />
       DAV svn
       SVNParentPath /home/svn
       SVNListParentPath on
       SVNPathAuthz off
       AuthType Basic
       AuthName "Subversion Repository"
       AuthUserFile /etc/svnpasswd

       # only authenticated users may access the repository
       Require valid-user
    </Location>

In case it helps, here's how apache and subversion where installed.

Apache (2.2.4) first:

./configure --prefix=/usr/local/apache2 -enable-rewrite -enable-dav
--enable-modules=most --enable-mods-shared=max
make
make install

At this point apache works fine. No problems at all. Now here's the
subversion install:

tar xvfz subversion-1.4.4.tar.gz
tar xvfz subversion-deps-1.4.4.tar.gz
cd subversion-1.4.4.tar.gz
./configure --with-apxs=/usr/local/apache2/bin/apxs --enable-maintainer-mode
make clean
make
make install

When I restart apache, and try to either browse the repositories or
any subversion commands, I get the seg fault shown above.

Any ideas?

-- 
Sean Brown
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 10 15:29:54 2007

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