bug-mit-scheme
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-mit-scheme] [bug #27626] possible race condition in IMAIL's IMAP sy


From: Taylor R. Campbell
Subject: [Bug-mit-scheme] [bug #27626] possible race condition in IMAIL's IMAP synchronization and Edwin's mode line
Date: Wed, 07 Oct 2009 21:40:16 +0000
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US) AppleWebKit/525.18 (KHTML, like Gecko, Safari/525.20) OmniWeb/v622.6.1.0.111015

URL:
  <http://savannah.gnu.org/bugs/?27626>

                 Summary: possible race condition in IMAIL's IMAP
synchronization and Edwin's mode line
                 Project: MIT/GNU Scheme
            Submitted by: riastradh
            Submitted on: Wed 07 Oct 2009 21:40:12 GMT
                Category: imail
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect behavior
                  Status: None
                 Privacy: Public
             Assigned to: riastradh
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                Keywords: 

    _______________________________________________________

Details:

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.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27626>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]