You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lasse Kliemann <la...@plastictree.net> on 2009/04/09 17:05:37 UTC
Re: svnserve segfaults with 1.6 FSFS if stack size below 2 GB
* Message by -Lasse Kliemann- from Wed 2009-04-08:
> The SSH server on my machine runs with limited memory resources,
> set via 'softlimit' <http://cr.yp.to/daemontools/softlimit.html>.
> This used to work for years. However, the FSFS format introduced
> in the 1.6.x series doesn't seem to like it: [...]
I did some more tests.
softlimit offers four more specific options than -m, namely -d,
-s, -l, and -a. Using -m is equivalent to giving all these four.
Any combination of -a, -d, and -l (apparently) does not cause
trouble.
However, using -s (which causes softlimit to make the system call
setrlimit with RLIMIT_STACK) and with (apparently) anything below
2147483648 (= exactly 2 GB) gives a segfault. It works for
2147483648 and (apparently) anything higher than that.
The limits I gave yesterday are of course useless, since they are
much larger than what can be stored in an unsigned long int.
So, in a nutshell, svnserve segfaults with 1.6 FSFS whenever the
stack size is limited to something below 2 GB.