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

Apache segfault on startup

From: Francois Beausoleil <francois.beausoleil_at_gmail.com>
Date: 2006-12-20 17:20:16 CET

Hi all,

I cannot seem to compile the ra_dav module so Apache can use it. If I
enable mod_dav_svn in my Apache config file, I get a segfault like
this in Apache's main error.log:

[Wed Dec 20 14:33:53 2006] [notice] child pid 22917 exit signal
Segmentation fault (11)

This occurs when I hit any VHOST. I haven't even enabled my SVN VHOST yet.

I originally posted my problem on the dev list, and was kindly
redirected here. The original message can be read here:
  http://svn.haxx.se/dev/archive-2006-12/0218.shtml

I followed David and John's suggestions (use --with-apxs, --with-apr
an --with-apr-util on svn's configure), but I still get the same
segfault.

config.log says:
...
configure:3094: checking for Apache module support via DSO through APXS
configure:3132: result: found at /usr/local/apache2/bin/apxs
configure:3135: checking httpd version
configure:3151: result: recent enough
configure:3258: Apache Portable Runtime (APR) library configuration
configure:3286: checking for APR
configure:3368: result: yes
configure:3521: checking APR version
configure:3529: result: 0.9.7
configure:3613: Apache Portable Runtime Utility (APRUTIL) library configuration
configure:3641: checking for APR-util
configure:3723: result: yes
configure:3867: checking APR-UTIL version
configure:3881: result: 0.9.7
...
## ----------------- ##
## Output variables. ##
## ----------------- ##

APACHE_INCLUDES=' -I/usr/local/apache2/include'
APACHE_LDFLAGS=''
APACHE_LIBEXECDIR='/usr/local/apache2/modules'
APACHE_TARGET=''
APXS='/usr/local/apache2/bin/apxs'
...

My Apache config.nice:
"./configure" \
"--with-apr=/usr/local" \
"--with-apr-util=/usr/local" \
"--with-ssl" \
"--with-z" \
"--enable-dav" \
"--enable-default" \
"--enable-proxy" \
"--enable-proxy-balancer" \
"--enable-rewrite" \
"--enable-deflate" \
"--enable-dir" \
"--enable-ssl" \
"--disable-userdir" \
"--disable-include" \
"--enable-so" \
"--enable-mods-shared=all" \
"--prefix=/usr/local/apache2" \
"$@"

And my Subversion config.nice:
'./configure' '--with-apxs=/usr/local/apache2/bin/apxs' \
  '--with-ssl' '--enable-ssl' '--enable-shared' \
  '--with-apr=/usr/local/bin/apr-config' \
  '--with-apr-util=/usr/local/bin/apu-config' \
  '--enable-maintainer-mode' '--enable-debug' "$@"

$ uname -a
Linux debian 2.6.8-2-386 #1 Tue Aug 16 12:46:35 UTC 2005 i686 GNU/Linux

Apache 2.2.3, Subversion 1.4.2, both are from tarballs.

After compiling Subversion, I can serve my repositories using ra_svn
and ra_local just fine.

Can anyone spot where I'm making an error ?

Thank you very much for your time !

-- 
François Beausoleil
http://blog.teksol.info/
http://piston.rubyforge.org/
Received on Wed Dec 20 17:37:15 2006

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.