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

Re: Segmentation fault with subversion

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2006-02-16 23:12:50 CET

"Guenther Sohler" <guenther.sohler@gmx.at> writes:

> I have successfully running apache httpd-2.2.0 with php-5.1.2.
> Additionally I use subversion-1.1.4

Subversion 1.1.4 is very old, it certainly pre-dates Apache 2.2, you
will probably be better off using Subversion 1.3.0.

> [gigl_at_pc gigl]$ svn co http://192.168.10.1/svn
> svn: REPORT Anfrage fehlgeschlagen auf '/svn/!svn/vcc/default'
> svn: REPORT von '/svn/!svn/vcc/default': Could not read status line:
> connection was closed by server. (http://192.168.10.1)
> [gigl@pc gigl]$
>
> (note i use different ips, because this is my internal ip number)
>
> Looking at the log file from http I can see the reason for it not working:
> [Fri Feb 10 21:09:37 2006] [notice] Apache/2.2.0 (Unix) configured --
> resuming normal operations
> [Fri Feb 10 21:54:01 2006] [notice] child pid 603 exit signal Segmentation
> fault (11)
> [Fri Feb 10 21:54:01 2006] [notice] child pid 690 exit signal Segmentation
> fault (11)
>
> Does anybody have a clue, what is going wrong ?
>
> What can I check, how can I trace the error ?

You need to debug the httpd process. In one terminal run the server
under gdb:

$ gdb /path/to/httpd
(gdb) r -X

In another terminal run the client:

$ svn co http://...

and gdb should catch the server crash, then you can get a server stack
trace:

(gdb) bt

Building Apache and Subversion with debug symbols will make this
easier, to do that pass --enable-maintainer-mode to configure for both
Apache and Subversion.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 16 23:15:20 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.