Subject: kern/20658: random ssh2 lockups
To: None <>
From: None <>
List: netbsd-bugs
Date: 03/11/2003 15:21:22
>Number:         20658
>Category:       kern
>Synopsis:       ssh2 random lockups in select
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 11 05:22:00 PST 2003
>Originator:     Patrik Andersin
>Release:        NetBSD 1.6P
System: NetBSD 1.6P NetBSD 1.6P (CAT4) #0: Fri Mar 7 16:53:04 EET 2003 i386
Architecture: i386
Machine: i386
Ssh2 client randomly hangs. This happend when ssh2 is run in xterm and
large file is cat'ed. Gdb shows that ssh2 sits in select that never returns.

I tested this with 87KB test file and ssh2 usually hangs on the 4th or 5th cat.

When ssh2 is run from the text-vc there is no hanging.

Run ssh2 client in xterm. Cat a large file few times.