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

Apache Segmentation fault

From: Daniel Gehriger <daniel.gehriger_at_linkcad.com>
Date: 2006-09-05 17:09:22 CEST

Hello,

I'm trying to migrate my svn repository to a new (SuSE 9.0) server. I
have svn 1.3.2 running just fine on my old SuSE 8.2 server, with Apache
  2.0.48. But on my new server (same Apache version), I can't get the
Python http bindings to work. Whenever I access the repository through
http, I get a seg fault:

--------------------------------------------------
myhost:/home/dgehrige/src/subversion-1.3.2 # gdb /usr/sbin/httpd2-prefork
GNU gdb 5.3.92
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i586-suse-linux"...
(gdb) run -X -f /etc/apache2/httpd.conf -DSSL
Starting program: /usr/sbin/httpd2-prefork -X -f /etc/apache2/httpd.conf
-DSSL
[New Thread 16384 (LWP 17462)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 17462)]
0x4051dc62 in dav_svn_get_repo_name (r=0x0) at
/home/dgehrige/src/subversion-1.3.2/subversion/mod_dav_svn/mod_dav_svn.c:333
333 conf = ap_get_module_config(r->per_dir_config, &dav_svn_module);
(gdb) bt
#0 0x4051dc62 in dav_svn_get_repo_name (r=0x0) at
/home/dgehrige/src/subversion-1.3.2/subversion/mod_dav_svn/mod_dav_svn.c:333
#1 0x40502090 in dav_get_resource () from
/usr/lib/apache2-prefork/mod_dav.so
#2 0x40502325 in dav_method_get () from /usr/lib/apache2-prefork/mod_dav.so
#3 0x08069a28 in ap_run_handler (r=0x82d4e30) at config.c:195
#4 0x0806a139 in ap_invoke_handler (r=0x82d4e30) at config.c:401
#5 0x080661d9 in ap_process_request (r=0x82d4e30) at http_request.c:288
#6 0x08060c9e in ap_process_http_connection (c=0x82b4168) at
http_core.c:293
#7 0x08074d58 in ap_run_process_connection (c=0x82b4168) at connection.c:85
#8 0x08075130 in ap_process_connection (c=0x82b4168, csd=0x0) at
connection.c:211
#9 0x08067d31 in child_main (child_num_arg=0) at prefork.c:694
#10 0x08067ee2 in make_child (s=0x19, slot=0) at prefork.c:734
#11 0x0806800c in startup_children (number_to_start=5) at prefork.c:806
#12 0x0806880d in ap_mpm_run (_pconf=0x809a588, plog=0x80d0198,
s=0x80a7e90) at prefork.c:1022
#13 0x0806fa3f in main (argc=5, argv=0xbfffdc34) at main.c:660
--------------------------------------------------

Does anybody have any idea what could be wrong ? I already spent hours
recompiling, searching the mailing list and so on, but to no avail.

I compiled svn with the following options:

   $ ./configure --enable-dav --enable-so --with-ssl --prefix=/usr
--mandir=/usr/share/man --with-apxs=/usr/sbin/apxs2 --with-apr=/usr/bin
--with-apr-util=/usr/bin

I also tried:

   $ ./configure --enable-dav --enable-so --with-ssl --prefix=/usr
--mandir=/usr/share/man --with-apxs=/usr/sbin/apxs2 --with-apr=/usr/bin
--with-apr-util=/usr/bin CFLAGS=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

And my repository is file based, not Berkeley-DB.

Regards,

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 5 17:11:59 2006

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