Can anybody see if they can confirm this. It seems that any clients older than 1.11.2 (I tried 1.11.1p1 and 1.10.8) hang indefinitely at the end of the remote connection IFF a -z option is used in the cvs command. This is for a remote (SSH, RSH) client/server environment. 1.11.2 clients did not experience this problem. Also, the same cvs commands without compression (-z) complete correctly.
I have repeated the problem on both Alpha Linux (RH 7.0) as well as x86 Linux (RH 7.2), both with source compiles from cvs-1.11.2-6.src.rpm (ftp://ftp.redhat.com/pub/redhat/linux/rawhide/SRPMS/SRPMS/cvs-1.11.2-6.src.rpm) The clients seem to hang when trying to read the last few bytes on the server connection. An strace of the end of connection of 'cvs -z1 status Makefile.am' for (a) a 1.11.1p1 client accessing a 1.11.1p1 server (works) (b) a 1.11.1p1 client accessing a 1.11.2 server (hangs) is attached. ============================================================================== === 1.11.1p1 server ========================================================== ============================================================================== write(1, "File: Makefile.am \tStatus: "..., 43File: Makefile.am Status: Up-to-date ) = 43 write(1, "\n", 1 ) = 1 write(1, " Working revision:\t1.3\n", 25 Working revision: 1.3 ) = 25 write(1, " Repository revision:\t1.3\t/cvs"..., 71 Repository revision: 1.3 /cvsroot/foo/Makefile.am,v ) = 71 write(1, " Sticky Tag:\t\t(none)\n", 23 Sticky Tag: (none) ) = 23 write(1, " Sticky Date:\t\t(none)\n", 24 Sticky Date: (none) ) = 24 write(1, " Sticky Options:\t(none)\n", 26 Sticky Options: (none) ) = 26 write(1, "\n", 1 ) = 1 read(5, "\312\317\346\2\0\0\0\377\377", 4096) = 9 write(4, "\3\0e=(\216", 6) = 6 read(5, "\3\0006\243W\311", 4096) = 6 close(4) = 0 munmap(0x40014000, 4096) = 0 read(5, 0x40015000, 4096) = ? ERESTARTSYS (To be restarted) --- SIGCHLD (Child exited) --- read(5, "", 4096) = 0 close(5) = 0 munmap(0x40015000, 4096) = 0 wait4(4809, NULL, 0, NULL) = 4809 munmap(0x40016000, 4096) = 0 _exit(0) = ? ~% ============================================================================== === 1.11.2 server ============================================================ ============================================================================== write(1, "File: Makefile.am \tStatus: "..., 43File: Makefile.am Status: Up-to-date ) = 43 write(1, "\n", 1 ) = 1 write(1, " Working revision:\t1.3\n", 25 Working revision: 1.3 ) = 25 write(1, " Repository revision:\t1.3\t/cvs"..., 71 Repository revision: 1.3 /cvsroot/foo/Makefile.am,v ) = 71 write(1, " Sticky Tag:\t\t(none)\n", 23 Sticky Tag: (none) ) = 23 write(1, " Sticky Date:\t\t(none)\n", 24 Sticky Date: (none) ) = 24 write(1, " Sticky Options:\t(none)\n", 26 Sticky Options: (none) ) = 26 write(1, "\n", 1 ) = 1 read(5, "\312\317\346\2\0\0\0\377\377", 4096) = 9 write(4, "\3\0e=(\216", 6) = 6 read(5, Killed by signal 2. <unfinished ...> cvs [status aborted]: received termination signal ============================================================================== -r2r- _______________________________________________ Bug-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-cvs