From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Russ Cox" To: 9fans@cse.psu.edu Subject: Re: [9fans] lib9p MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-jverildlkzhkcqwnsjyfsqqvjc" Message-Id: <20011218163114.C92FC199B5@mail.cse.psu.edu> Date: Tue, 18 Dec 2001 11:31:13 -0500 Topicbox-Message-UUID: 391c3c96-eaca-11e9-9e20-41e7f4b1d025 This is a multi-part message in MIME format. --upas-jverildlkzhkcqwnsjyfsqqvjc Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit > When a program (acme in the above example) exits, > the server fails on the assertion: > assert failed: r == nr > in lib9p. I think I must make sure that 'Req *req' > is valid before the child process calls respond(). See the discussion of flush in the man page. After you respond to a flush request you have to make sure that r->oldreq will never get responded to. Russ --upas-jverildlkzhkcqwnsjyfsqqvjc Content-Type: message/rfc822 Content-Disposition: inline Received: from plan9.cs.bell-labs.com ([135.104.9.2]) by plan9; Tue Dec 18 03:18:19 EST 2001 Received: from mail.cse.psu.edu ([130.203.4.6]) by plan9; Tue Dec 18 03:18:18 EST 2001 Received: from psuvax1.cse.psu.edu (psuvax1.cse.psu.edu [130.203.30.6]) by mail.cse.psu.edu (CSE Mail Server) with ESMTP id 7C4DE199E7; Tue, 18 Dec 2001 03:18:08 -0500 (EST) Delivered-To: 9fans@cse.psu.edu Received: from ginnan.cc.titech.ac.jp (ginnan.cc.titech.ac.jp [131.112.14.2]) by mail.cse.psu.edu (CSE Mail Server) with SMTP id 1AC0A199B5 for <9fans@cse.psu.edu>; Tue, 18 Dec 2001 03:17:14 -0500 (EST) Received: (qmail 6668 invoked from network); 18 Dec 2001 08:17:12 -0000 Received: from beat.cc.titech.ac.jp (131.112.4.22) by ginnan.cc.titech.ac.jp with SMTP; 18 Dec 2001 08:17:12 -0000 Received: (qmail 12944 invoked from network); 18 Dec 2001 08:17:12 -0000 Received: from localhost (HELO beat.cc.titech.ac.jp) (127.0.0.1) by localhost with SMTP; 18 Dec 2001 08:17:12 -0000 From: YAMANASHI Takeshi To: 9fans@cse.psu.edu Subject: Re: [9fans] lib9p In-reply-to: Your message of "Tue, 18 Dec 2001 00:00:13 EST." <20011218050023.630BF199ED@mail.cse.psu.edu> Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII Message-ID: <12942.1008663431@beat.cc.titech.ac.jp> Sender: 9fans-admin@cse.psu.edu Errors-To: 9fans-admin@cse.psu.edu X-BeenThere: 9fans@cse.psu.edu X-Mailman-Version: 2.0.8 Precedence: bulk Reply-To: 9fans@cse.psu.edu List-Help: List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.cse.psu.edu> List-Archive: Date: Tue, 18 Dec 2001 17:17:11 +0900 From: "Russ Cox" > Sure, that's okay. I got assured. Now that I've finished my first Plan 9 file server, I would like to let it go to the list. try: term% hget http://bata.cc.titech.ac.jp/uncover/liking/plan9/cursehide.tgz | gunzip | tar x term% cd cursehide; mk install term% cursehide; acme This server serves /dev/^(mouse cons cursor), hides the mouse cursor on a keyboard input, and shows it again on a mouse movement. KNOWN BUG: When a program (acme in the above example) exits, the server fails on the assertion: assert failed: r == nr in lib9p. I think I must make sure that 'Req *req' is valid before the child process calls respond(). -- Sincerely, YAMANASHI Takeshi --upas-jverildlkzhkcqwnsjyfsqqvjc--