NetBSD-Bugs archive

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

Re: kern/46463: netbsd-6: panic and filesystem corruption running tmux



The following reply was made to PR kern/46463; it has been noted by GNATS.

From: Richard Hansen <rhansen%bbn.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/46463: netbsd-6:  panic and filesystem corruption running
 tmux
Date: Tue, 22 May 2012 17:33:50 -0400

 I think I've found a way to test the same underlying bug without causing 
 a panic:
 
    sh -c 'tmux new-session -d && tmux list-sessions && read'
 
 The above should sit and wait for a line of input on stdin, but instead 
 /bin/sh exits with the following error:
 
    read: arg count
 
 (Not a very helpful error message.)  If I run the above with bash 4.2.0 
 from pkgsrc, I get:
 
    -bash: read: read error: 0: Resource temporarily unavailable
 
 This error is what led me to do 'tmux list-sessions 0<&-' in the first 
 place.  I had dismissed the issue as unrelated until I realized that 
 Linux doesn't have this problem (but NetBSD 5 does).
 
 I can't reproduce the above error when stdin is something other than a tty.
 
 This could be a completely unrelated issue.  I haven't yet tried the 
 proposed patch to see if it makes this error go away.
 
 -Richard
 


Home | Main Index | Thread Index | Old Index