From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Mon, 18 Jun 2007 11:08:18 -0400 To: 9fans@cse.psu.edu Subject: Re: [9fans] win woe In-Reply-To: <737f7061a8946454b4636f893e6d30d6@coraid.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 800e3412-ead2-11e9-9d60-3106f5b1d025 just cleaning out my mailbox. this is still an annoying problem i haven't had the time to track down. it happens anytime one hits del with buffered data to be written out, not just with serial consoles. On Mon Nov 27 20:49:15 EST 2006, quanstro@coraid.com wrote: > has anybody else had trouble with win giving "win: pendingS = -6" (or whatever > negative number it happens to be) messages? they seem to be frequent and > unrecoverable with serial consoles. > > the relevant code seems to be: > > main.c:465: if(pendingS < 0) > main.c:466: fprint(2, "win: pendingS = %d\n", pendingS); > > but it's not clear why this code is firing. is it just the case the q1 and q0 have been swapped? > or are events getting out-of-order? > > - erik