Number: 1079

Date: 10-May-84 12':18':01

Submitter: Sannella.PA


Subject: Leaf Error': Bad Handle when file closed asynchronously

Assigned To: 

Attn: vanMelle

Status: Open


Problem Type: Bug

Impact: Annoying

Difficulty: Moderate

Frequency: Intermittent

Priority: Perhaps

System: Communications

Subsystem: PUP Protocols



Lisp Version: 

Source Files: 

Microcode Version: 

Memory Size: 

File Server: 

Server Software Version: 


Description: '
Date':  9 May 84 21':07 PDT'
Subject': Lisp': LEAF ERROR':BAD HANDLE when quitting out of TEDIT during a listfiles on the same file'
Lisp System Date':  9-May-84 00':11':59'
Machine': Dandelion (204#13#)'
Microcode version': 24,4'
Memory size': 17777'
Frequency': ?'
Impact': Annoying'
I can''t say much more than this.  I think I reported something similar not too long ago.'
Date': 16 May 84 10':42 PDT'
This is yet another example of our need to have multiple streams on a single file.   My best guess as to what happened was that the Listfiles asked to read a page of the file and Tedit asked to close the file "simultaneously".  In the race, Tedit got the first packet off, closing the file, which caused the second packet with the read request to be in error.'
I''ve reclassified this as a Leaf problem, but I don''t know whether it''s worth fixing.  The best I can do is fix it so that the Listfiles process would get an obvious FILE NOT OPEN error instead of the obscure Leaf bug.  The "proper" fix is multiple streams.


Test Case: 

Edit-By: vanMelle

Edit-Date: 16-May-84 10':46':22