lkml.org 
[lkml]   [1996]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subjecttty->count != #fd's
Date
From

I just had the following warning in 2.0.25:

foo kernel: Warning: dev (04:c5) tty->count(1) != #fd's(2) in do_tty_hangup

This appears to happen sometimes when a ssh connection is terminated,
from random pty's.

This bug has been there for quite some time, and looks like a race
condition in the pty or tty code to me.

Does anybody have any hints where I should start looking for race
conditions?
--
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.024 / U:1.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site