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

Bradley Ward Allen (ulmo@q.net)
Fri, 25 Oct 1996 21:58:25 -0400


-----BEGIN PGP SIGNED MESSAGE-----

Is this a problem?

Linux Q.Net 2.0.23 #138- Sun Oct 20 06:25:06 EDT 1996 i586
w/symtpatch
/lib/libc.so.5.4.7
INN 1.5b1
BIND 4.9.5b4
SENDMAIL 8.8.0
XFree86 Version 3.1.2 / X Window System
S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
mmio_928, s3_generic

I think I just closed an xterm which invoked the kernel warning which
you see below (but I'm not quite sure). Why and how I closed the
xterm is that I hit the "start new xterm" button by mistake in fvwm2,
and just typed "exit" into the buffer before bash even stopped
initializing. I didn't track how the xterm painted itself nor my
timing during its short life.

Oct 25 21:40:17 Q kernel: Warning: dev (04:c3) tty->count(1) != #fd's(2) in do_tty_hangup

Q:~$ ls -al /dev | egrep -e "`echo '16i 04 P[, ]P C3 P' | dc`"
crw-rw-rw- 1 root root 4, 195 Oct 25 21:40 ttyp3
Q:~$ who
ulmo ttyp1 Oct 25 21:02 (:0.0)
ulmo ttyp4 Oct 25 21:03 (:0.0)
ulmo ttyp3 Oct 25 21:40 (:0.0)
Q:~$ tty
/dev/ttyp0
Q:~$

tty of another active xterm is ttyp1
Time now is 21:49
(what is ttyp3/ttyp4?)

In context from xconsole (I turn on almost all debugging for xconsole):

Oct 25 21:40:03 Q facility=daemon(30) priority=debug(7) named[690]: IP/TCP connection from [127.0.0.1].1978 (fd 4)
Oct 25 21:40:05 Q facility=mail(20) priority=info(6) sendmail[28350]: VAA28350: from=<cypherpunks-errors@toad.com>, size=2451, class=-60, pri=0, nrcpts=1, msgid=<199610251922.PAA03919@caig1.att.att.com>, proto=ESMTP, relay=toad.com [140.174.2.1]
Oct 25 21:40:09 Q facility=news(70) priority=warn(4) priority=warning(4) innfeed[11650]: news.uu.net:0 idle tearing down connection
Oct 25 21:40:10 Q facility=news(70) priority=notice(5) innfeed[11650]: news.uu.net:0 closed periodic
Oct 25 21:40:10 Q facility=news(70) priority=notice(5) innfeed[11650]: news.uu.net:0 final seconds 2615 offered 20 accepted 0 refused 20 rejected 0
Oct 25 21:40:10 Q facility=news(70) priority=notice(5) innfeed[11650]: news.uu.net final seconds 6598 offered 65 accepted 0 refused 65 rejected 0 missing 0 spooled 0
Oct 25 21:40:10 Q facility=news(70) priority=info(6) innd: news-xfer.access.net connected 19 streaming allowed
Oct 25 21:40:11 Q facility=news(70) priority=info(6) innd: news-xfer.access.net:19 NCmode "mode stream" received
Oct 25 21:40:17 Q facility=kern(0) priority=warn(4) priority=warning(4) kernel: Warning: dev (04:c3) tty->count(1) != #fd's(2) in do_tty_hangup

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQEVAwUBMnFwE5xWhFYc6x9VAQG4TggAoD+FgGVek8xn3H2Y34jgiPf4E+6LdxG/
TyaKgxYddD/kIgBPpceNLCg9wsWuKy+B1UCZSvq+SCHU+n/1AnyJ9kIFmAYcwqWN
jBasCp4KjSHR2k8EMJ/EGOifX3BDaVWSXamMzXoUGk7mWWQcHGCKfwLWB+XwmpJ3
hcpwP2G+gC8W6mGsvIMgsl7TIPYJVIAMLDmC1JXU0x8SKHTXlnMoh8ai2YspCD3c
yc4HJ5hdwddEwrZ6CU9xoUUHlO5Za0vo/5w/kFmwbb6SnbjgaGRSPmLyeMzvy7t4
G62UbylyC4Jvp1Zu0xdLIEu7TPaXsY+LkXmhdqLKrbi/s2MuGPrRtQ==
=bbLP
-----END PGP SIGNATURE-----