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

Submitted by:  Taylor R. Campbell <riastradh>
Submitted on:  Wed 07 Oct 2009 09:40:12 PM UTC  
 
Category: imailSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect behavior
Status: NonePrivacy: Public
Assigned to: Taylor R. Campbell <riastradh>Originator Name: 
Open/Closed: Open
Keywords: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup