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

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

    History

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.16.
    Corresponding source code