Hi,

I am trying to debug a problem with CVS where it hangs in the process of shutting down. I am using CVS_RSH=ssh. The client process hangs in a waitpid() call in stdio_buffer_shutdown(), waiting for the forked ssh process to terminate. The odd thing is that if I turn tracing on, the process terminates properly, albeit with errors in the trace:

...deleted...
S -> remove_locks()
S -> Simple_Lock_Cleanup()
S -> server_cleanup()
Waiting for child process = 22330!
S -> select: Bad file number
Done Waiting for child process = 22330!

I'm looking everywhere in the code for a place where the "select: Bad file number" error might be emitted, but I can't find it.

My guess is that the problem is in the sshd server, not CVS, but I'm not sure what the "normal" termination procedure is and how the ssh subprocess on the client machine is supposed to terminate.

Both client and server CVS are 1.12.5.
Client: SunOS 5.9 [...] sun4u sparc SUNW,Sun-Fire-880
Server: Linux [...] 2.4.18-14 #[...] i686 i686 i386 GNU/Linux

Any help greatly appreciated.


-- Andrew Bell
[EMAIL PROTECTED]




_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to