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

Re: Segmentation fault in webdav after upgrading to 1.7 on CentOS - Need new ideas

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Sun, 3 Nov 2013 09:39:49 -0500

RHEL and thus CentOS don't publish Subversion 1.7 RPM's, so I see that
you're using a locally compiled package. You could try the Repoforge RPM's,
from the Repoforge "extras" repository: Unfortunately, that package is a
bit out of date and doesn't look like it will get updated soon. I urge you
to go look at https://github.com/nkadel/subversion-1.7.x-srpm. and my tools
there, for building RHEL 6 or CentOS compatible RPM's. If nothing else, it
lists all the dependencies, so that you can be sure all the dependencies
are in place at compile time. And installing the RPM's will replace the
packages from older Subversion installations: getting them out of the way
is pretty important.

Cleaning up from the previous manual installations of Subversion and httpd
is left as an exercise for the admin.

I also conclude from your use of "-with-apxs=/usr/local/apache/bin/apxs"
that you're working from a locally built Apache. *DON'T DO THIS*. Building
core utilities out of sync with the libraries and dependencies that come
with the operating system itself is begging for serious maintenance pain.
If you have to build an updated httpd, *build an RPM* if possible, so that
the testable integration and layout of other components such as Subversion
don't have to be tweaked for incompatible local installations.

If you have other services that require an out-of-band built httpd, and you
have to run Subversion on the same server, and you have to maintain your
own versions of all these components, then maybe it's time to rethink the
architecture of your setup.

                                  Nico Kadel-Garcia

On Sat, Nov 2, 2013 at 12:20 AM, Erwin Hogeweg <erwin.hogeweg_at_me.com> wrote:

> Hi,
>
> We upgraded subversion from 1.6 to 1.7, but can't get the WebDAV online
> anymore. As far as we can see everything appears to be set up correctly.
> Would appreciate if somebody could give a pointer or two on how to debug
> this further.
>
> OS: CENTOS 6.4 x86_64
> SVN: subversion 1.7.13
>
> svn is build with:
> ./configure --with-apxs=/usr/local/apache/bin/apxs
> --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache --with-ssl
> && make && make install
>
> This is included from httpd.conf:
> LoadModule dav_svn_module modules/mod_dav_svn.so
> LoadModule authz_svn_module modules/mod_authz_svn.so
>
> <Location /svn>
> DAV svn
> SVNParentPath /var/svn/repos
> AuthzSVNAccessFile /etc/svn-acl-conf
> AuthType Basic
> AuthName "My repository"
> AuthUserFile /etc/svn-auth-conf
> Require valid-user
> </Location>
>
> Apache error_log
> [Fri Nov 01 19:26:09 2013] [notice] SSL FIPS mode disabled
> [Fri Nov 01 19:26:09 2013] [notice] suEXEC mechanism enabled (wrapper:
> /usr/local/apache/bin/suexec)
> [Fri Nov 01 19:26:09 2013] [notice] ModSecurity for Apache/2.7.3 (
> http://www.modsecurity.org/) configured.
> [Fri Nov 01 19:26:09 2013] [notice] ModSecurity: APR compiled
> version="1.4.6"; loaded version="1.4.6"
> [Fri Nov 01 19:26:09 2013] [notice] ModSecurity: PCRE compiled
> version="8.21 "; loaded version="8.21 2011-12-12"
> [Fri Nov 01 19:26:09 2013] [notice] ModSecurity: LIBXML compiled
> version="2.9.0"
> [Fri Nov 01 19:26:10 2013] [notice] SSL FIPS mode disabled
> [Fri Nov 01 19:26:10 2013] [notice] Apache/2.2.24 (Unix) mod_ssl/2.2.24
> OpenSSL/1.0.0-fips DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4
> FrontPage/5.0.2.2635 SVN/1.7.13 configured -- resuming normal operations
> [Fri Nov 01 19:26:27 2013] [notice] child pid 1473 exit signal
> Segmentation fault (11)
> [Fri Nov 01 19:26:29 2013] [notice] child pid 1548 exit signal
> Segmentation fault (11)
> [Fri Nov 01 19:26:31 2013] [notice] child pid 1615 exit signal
> Segmentation fault (11)
> [Fri Nov 01 19:26:33 2013] [notice] child pid 1683 exit signal
> Segmentation fault (11)
>
> I am lost. Any suggestions are greatly appreciated.
>
> Kind Regards,
>
> Erwin
>
Received on 2013-11-03 15:40:30 CET

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