bugMIT/GNU Scheme - Bugs: bug #27626, possible race condition in IMAIL's...

 
 

bug #27626: possible race condition in IMAIL's IMAP synchronization and Edwin's mode line

Submitter:  Taylor R. Campbell <riastradh>
Submitted:  Wed 07 Oct 2009 09:40:12 PM UTC
   
 
Category:  imail Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  None Privacy:  Public
Assigned to:  riastradh Originator Name: 
Open/Closed:  Open
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 07 Oct 2009 09:40:12 PM UTC, original submission:  

When I hit `g', Edwin hung while trying to draw the mode line with the error that %GET-MESSAGE was returning #F in COUNT-UNSEEN-MESSAGES.  Somehow, the index exceeded the length of the folder, suggesting that FIRST-UNSEEN-MESSAGE-INDEX returned a number exceeding the folder's length, which suggests in turn that the IMAP code processed an UNSEEN reply before the folder was fully updated, and that Edwin tried to redraw the mode line in that window.  No IMAP trace or transcript available, unfortunately.

Several stopgap measures should work around this: write (>= i n) rather than (= i n) in COUNT-UNSEEN-MESSAGES, change the handler for UNSEEN replies to take the minimum of the folder's length and the new unseen value, &c.

Taylor R. Campbell <riastradh>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by riastradh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-5884.
    Corresponding source code