>Submitter-Id: net
>Originator: Jeff Turner
>Organization:
net
>Confidential: no
>Synopsis: CVS pserver dies during repeated 'cvs add'
>Severity: serious
>Priority: medium
>Class: sw-bug
>Release: cvs-1.10.7
>Environment:
Server: Standard Redhat 6.2 box with glibc-2.1.2-11
Client: as above, but with glibc-2.1.3-15
System: Linux kenny 2.2.16-3 #1 Thu Aug 10 00:03:59 EST 2000 i686
unknown
Architecture: i686
>Description:
If I add (or try to add) a large number of files, pserver dies. Looks
like a memory leak.
>How-To-Repeat:
1) Create and check out an empty repository (or an existing one) using
pserver to access the server.
2) Run the following commands:
[jeff@kermit myrepos]$ x=0; while [ $x -lt 100 ]; do
> x=`expr $x + 1`
> echo "Try number ${x}"
> cvs add "not_there"
> done
Output will be:
Try number 1
cvs server: nothing known about not_there
Try number 2
cvs server: nothing known about not_there
Try number 3
cvs server: nothing known about not_there
Try number 4
cvs server: nothing known about not_there
Try number 5
...
Try number 38
cvs server: nothing known about not_there
Try number 39
cvs server: nothing known about not_there
Try number 40
cvs [add aborted]: recv() from server kenny: Connection reset by peer
Try number 41
cvs [add aborted]: connect to kenny:2401 failed: Connection refused
Try number 42
...
I haven't been able to reproduce the bug on Solaris running 1.10.7
--Jeff