<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1079" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Verdana size=2><SPAN
class=452431220-07102002>Hello,</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=452431220-07102002></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=452431220-07102002>I am seeing a
problem where the CVSNT client blocks at buf_shutdown when connected to a UNIX
pserver. I initially started seeing this problem when one of the CVS servers
that I connect to upgraded to CVS 1.11.2. I have seen this with a number of
different versions of the CVSNT client, and have verified that it does not
happen with the 1.11.2 Win32 client that is available from <A
href="http://www.cvshome.org">www.cvshome.org</A>. In order to get more
information about what is happening, I checked out the latest cvsnt source a
couple of hours ago and built a debug version of the client.</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=452431220-07102002></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=452431220-07102002>I am running the
command:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=452431220-07102002>cvs -z 3
version</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=452431220-07102002></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=452431220-07102002>The output is
this:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN class=452431220-07102002>Client: Concurrent
Versions System (CVSNT) 1.11.1.4 Alpha 2 (Nightly Build Debug Build 61)
(client/server)<BR>Server: Concurrent Versions System (CVS) 1.11.2
(client/server)</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=452431220-07102002></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana size=2><SPAN class=452431220-07102002>At this point the
client is in get_responses_and_close(). The call to buf_shutdown(to_server)
appears to go through just fine, and then the call to buf_shutdown(from_server)
blocks. I have traced into buf_shutdown(from_server), and it is blocking in a
recv() call. The call stack looks like this:</SPAN></FONT></DIV>
<DIV><FONT face=Verdana size=2><SPAN
class=452431220-07102002></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana><SPAN class=452431220-07102002><FONT size=2> <FONT
face="Courier New"> </FONT></FONT><A
href="mailto:wsock32.dll!_recv@16"><FONT face="Courier New"
size=2>wsock32.dll!_recv@16</FONT></A><FONT face="Courier New" size=2>()
<BR> pserver_protocol.dll!tcp_read_raw(void * data=0x00af0000,
int length=0x00001000) Line 205 +
0x19 C<BR> pserver_protocol.dll!pserver_read_data(const
protocol_interface * protocol=0x1001a550, void * data=0x00af0000, int
length=0x00001000) Line 278 +
0x10 C<BR> cvs.exe!client_buffer_input(void *
closure=0x003a78a0, char * data=0x00af0000, int need=0x00000001, int
size=0x00001000, int * got=0x0012f3f0) Line 567 +
0x18 C<BR> cvs.exe!buf_read_line(buffer * buf=0x003a78e0, char *
* line=0x0012f554, int * lenp=0x0012f548) Line 818 +
0x1d C<BR> cvs.exe!read_line(char * * resultp=0x0012f65c)
Line 640 + 0x14 C<BR> cvs.exe!get_server_responses() Line
3240 + 0x9 C<BR> cvs.exe!start_server(int
verify_only=0x00000000) Line 3627 +
0x5 C<BR> cvs.exe!cvsguiglue_main(int argc=0x00000001, char * *
argv=0x003a635c) Line 1126 + 0x7 C<BR> cvs.exe!main(int
argc=0x00000003, char * * argv=0x003a6040) Line 222 +
0x2a C<BR></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Verdana><SPAN class=452431220-07102002><FONT face="Courier New"
size=2><FONT face=Verdana>The problem only happens when I use compression, which
is consistent with the comments near buf_shutdown(). I have no control
over the CVS server that I am connecting to, and I doubt the sysadmin there will
be very sympathetic to me since the "plain" 1.11.2 cvs client does not exhibit
this behavior.</FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Verdana><SPAN class=452431220-07102002><FONT face="Courier New"
size=2><FONT face=Verdana></FONT></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana><SPAN class=452431220-07102002><FONT face="Courier New"
size=2><FONT face=Verdana>Any ideas about what might be causing this problem?
I'm happy to debug further if more information would be
helpful.</FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Verdana><SPAN class=452431220-07102002><FONT face="Courier New"
size=2><FONT face=Verdana></FONT></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Verdana><SPAN class=452431220-07102002><FONT face="Courier New"
size=2><FONT face=Verdana>thanks,</FONT></FONT></SPAN></FONT></DIV>
<DIV><FONT face=Verdana><SPAN class=452431220-07102002><FONT face="Courier New"
size=2><FONT
face=Verdana>-elliot</FONT></DIV></FONT></SPAN></FONT></BODY></HTML>