You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Guenther Sohler <gu...@gmx.at> on 2006/02/15 18:06:28 UTC
Segmentation fault with subversion
Hallo Group, I have a problem with a Segmentation faulyt with subversion.
Here is my configuration:
I have a ITX running compiled linux linux-2.6.14.2.
I am using a compiled compiler gcc (GCC) 4.0.2
with the uClibC Library.
I have successfully running apache httpd-2.2.0 with php-5.1.2.
Additionally I use subversion-1.1.4
My intention is to setup a repository over internet.
Compilation was almost fine. I just had to enter
typedef long long apr_int64_t;
into
httpd/include/apr.h because it was nowhere defined(probably because of using
uClibC
else compilation was straightforward
I am using following httpd.conf
----
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile /tmp/httpd.pid
Listen 80
LoadModule php5_module modules/libphp5.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
User apache
Group apache
ServerAdmin guenther.sohler@gmx.at
ServerName 194.208.18.155
DocumentRoot "/home/apache/www"
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Location /svn>
DAV svn
SVNPath /home/svn/repository
SVNIndexXSLT "/svnindex.xsl"
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/httpd/conf/svn-auth-file
Require valid-user
</Location>
<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>
ErrorLog /tmp/httpd.errorlog1
LogLevel warn
DefaultType text/plain
----
I have setup a repository at /home/svn/repository and it works fine locally
using svn file:/// ... for 'svn list' and 'svn co'
Browsing the repository via my browser also works fine
A remote svn list http://194.208.18.166/svn also works fine.
Just when I do a
svn co http://194.208.18.155 it does not work anymore
it looks like:
[gigl@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 ?
Thanx in advance for your suggestions
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Segmentation fault with subversion
Posted by Philip Martin <ph...@codematters.co.uk>.
"Guenther Sohler" <gu...@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@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
Segmentation fault with subversion
Posted by Guenther Sohler <gu...@gmx.at>.
Hallo Group, I have a problem with a Segmentation fault with subversion.
Here is my configuration:
I have a ITX running compiled linux linux-2.6.14.2.
I am using a compiled compiler gcc (GCC) 4.0.2
with the uClibC Library.
I have successfully running apache httpd-2.2.0 with php-5.1.2.
Additionally I use subversion-1.1.4
My intention is to setup a repository over internet.
Compilation was almost fine. I just had to enter
typedef long long apr_int64_t;
into
httpd/include/apr.h because it was nowhere defined(probably because of using
uClibC
else compilation was straightforward
I am using following httpd.conf
----
ServerTokens OS
ServerRoot "/etc/httpd"
PidFile /tmp/httpd.pid
Listen 80
LoadModule php5_module modules/libphp5.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
User apache
Group apache
ServerAdmin guenther.sohler@gmx.at
ServerName 194.208.18.155
DocumentRoot "/home/apache/www"
<Directory />
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Location /svn>
DAV svn
SVNPath /home/svn/repository
SVNIndexXSLT "/svnindex.xsl"
AuthType Basic
AuthName "Subversion repository"
AuthUserFile /etc/httpd/conf/svn-auth-file
Require valid-user
</Location>
<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>
ErrorLog /tmp/httpd.errorlog1
LogLevel warn
DefaultType text/plain
----
I have setup a repository at /home/svn/repository and it works fine locally
using svn file:/// ... for 'svn list' and 'svn co'
Browsing the repository via my browser also works fine
A remote svn list http://194.208.18.166/svn also works fine.
Just when I do a
svn co http://194.208.18.155 it does not work anymore
it looks like:
[gigl@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 ?
Thanx in advance for your suggestions
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
--
DSL-Aktion wegen gro�er Nachfrage bis 28.2.2006 verl�ngert:
GMX DSL-Flatrate 1 Jahr kostenlos* http://www.gmx.net/de/go/dsl
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org