bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TEST III


From: Paul Edwards
Subject: Re: TEST III
Date: Thu, 16 Oct 2003 08:51:33 GMT

"Pierre" <pceteaudatmacif.fr@netcourrier.com> wrote in message 
b86193eb.0310142308.5f890c38@posting.google.com">news:b86193eb.0310142308.5f890c38@posting.google.com...
> >
> > Unfortunately this is not what I expected, I expected consistent
> > failure.  Ok, so let's try again.  You can keep calling this "TEST III",
> > as it is a consistent thread of testing.  On an unmodified CVS 1.11.9,
> > can you apply the below patch, and then run it 50 or more times.  I
> > am hoping that it will fail every time.
> >
>
> No, it fails 17 times out of 50.

Ok, what about apply only this patch to cvs 1.11.9, ie server.c
should be what comes from cvs 1.11.9.

Run it 50+ times and see how many failures there are.

BFN.  Paul.


Index: buffer.c
===================================================================
RCS file: /cvs/ccvs/src/buffer.c,v
retrieving revision 1.21.4.1
diff -r1.21.4.1 buffer.c
1455a1456,1469
>         /* FIXME:  On at least some AIX systems, there is
>            a race condition.  If you activate this sleep
>            command, you will find that you get an
>            assertion failure on the next call to this
>            function, on the fstat, in the situation where
>            you have client and server running on the same
>            machine, and you are running "cvs login".  This
>            is because the server exits, and the fileno is
>            no longer accessible to the client.  I expect
>            that this is an AIX bug, it probably has no
>            right to invalidate filenos. */
>         printf("client3 sleeping 5 seconds\n");
>         sleep(5);
>         printf("client3 has woken up\n");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]