<<< Date Index >>>     <<< Thread Index >>>

[Mutt] #3161: mutt: segfault when IMAP server closes connection



#3161: mutt: segfault when IMAP server closes connection
------------------------------+---------------------------------------------
 Reporter:  antonio@xxxxxxxx  |       Owner:  mutt-dev
     Type:  defect            |      Status:  new     
 Priority:  minor             |   Milestone:          
Component:  mutt              |     Version:  1.5.19  
 Keywords:                    |  
------------------------------+---------------------------------------------
 Forwarding http://bugs.debian.org/493719
 ---
 When IMAP server closes connection (eg. if mutt is kept waiting for an
 external viewer, or if computer enters sleep mode while mutt is
 connected to imap server). Mutt detects that all mailboxes are closed,
 then segfaults.

 This bug was not present in 1.5.17, and may be an upstream bug, since
 same kind of behaviour happens under MacOS X.

 ---
 How to reproduce it:

 The problem still occurs.  The way I reproduced it is to leave mutt
 open and connected to the server whilst I suspended the machine.  When I
 resume the machine (after some amount of time), I come back to mutt and
 press ".", which says that it received an unknown TLS packet.  It will
 disconnect and reconnect.  Then, when I use "c" to change to a mailbox,
 it will read the header cache and then promptly segfault.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/3161>
Mutt <http://www.mutt.org/>
The Mutt mail user agent