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

Re: Segmentation fault using svn v1.2.0 under Cygwin

From: Matthew S. Moore <mmoore_at_asf.alaska.edu>
Date: 2005-06-22 22:36:32 CEST

kfogel@collab.net wrote:
> "Matthew S. Moore" <mmoore@asf.alaska.edu> writes:
>
>> Does anyone have any idea why svn.exe/svnserve.exe might be getting
>>Segmentation faults?
>
>
> No, but if you can give us an actual reproduction recipe, we might be
> able to figure it out... See http://svn.collab.net/repos/svn/trunk/BUGS.
>
> Thanks,
> -Karl

Windows 2000 SP4

Cygwin Package Information
Package Version Status
apr 0.9.6-1 OK
apr-util 0.9.6-1 OK
base-files 3.4-2 OK
coreutils 5.3.0-6 OK
cygwin 1.5.17-1 OK
libapr0 0.9.6-1 OK
libaprutil0 0.9.6-1 OK
libneon24 0.24.7-1 OK
subversion 1.2.0-1 OK
subversion-devel 1.2.0-1 OK

Repository is fsfs

   After attempting to check out my full repository to reproduce the
segmentation faults again, I found that all of the crashes occurred when the
pathname being added was more than 10 directories deep. So I tested this with a
fresh repository.

$ svnadmin create --fs-type fsfs /svn/repos
$ mkdir -p repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/dir11
$ touch repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/dir11/file
$ touch repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/file
$ svn import -m "populate deep test repository" repos file:///svn/repos
Adding repos/dir01
Adding repos/dir01/dir02
Adding repos/dir01/dir02/dir03
Adding repos/dir01/dir02/dir03/dir04
Adding repos/dir01/dir02/dir03/dir04/dir05
Adding repos/dir01/dir02/dir03/dir04/dir05/dir06
Adding repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07
Adding repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08
Adding repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09
Adding repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10
Adding
repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/file
Adding
repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/dir11
Adding
repos/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/dir11/file

Committed revision 1.

$ svn co file:///svn/repos repos_wc
A repos_wc/dir01
A repos_wc/dir01/dir02
A repos_wc/dir01/dir02/dir03
A repos_wc/dir01/dir02/dir03/dir04
A repos_wc/dir01/dir02/dir03/dir04/dir05
A repos_wc/dir01/dir02/dir03/dir04/dir05/dir06
A repos_wc/dir01/dir02/dir03/dir04/dir05/dir06/dir07
A repos_wc/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08
A repos_wc/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09
A repos_wc/dir01/dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10
Segmentation fault (core dumped)

$ cd repos_wc/dir01
$ svn cleanup
$ svn update
A dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/file
A dir02/dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/dir11
Segmentation fault (core dumped)

$ cd dir02
$ svn cleanup
$ svn update
A dir03/dir04/dir05/dir06/dir07/dir08/dir09/dir10/dir11/file
Updated to revision 1.

$ cd ../..
$ svn cleanup
$ svn update
At revision 1.

   I also tested this on a Linux system (2.6.10-1.766_FC3smp) installed with the
same version of Subversion, but did not have this problem.

   I know that svn.exe did not crash when checking out the same full repository
prior to upgrading to svn v1.2.0 from v1.1.4.

   Thus, this appears to be some kind of limitation associated with
Cygwin/Windows and svn v1.2.0. Anyone have any ideas what might cause this?

Thanks,

Matthew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 22 22:53:33 2005

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.