#2540: Mutt crashes after IMAP timeout Changes (by brendan):
* owner: mutt-dev => brendan Old description: > {{{ > I'm using the IMAP server of web.de (a German freemail provider) with a > TLS connection. > When I'm connected I can read my mails without problems. But if I stay > idle for some minutes, the next acces to the server give me the following > error: > tls_socket_read (A TLS packet with unexpected length was received.) > > When I quit mutt now, it crashes. > > A self-compiled vanilla 1.5.13 shows me the following question when > quiting: > Purge 135699096 deleted messages? ([no]/yes): > > Backtrace: > > #0 0x08087c46 in mx_close_mailbox (ctx=0x8148260, index_hint=0xbfd115b0) > at mx.c:907 > #1 0x0806660e in mutt_index_menu () at curs_main.c:888 > #2 0x0807d01b in main (argc=0, argv=0xb7c0000e) at main.c:963 > >How-To-Repeat: > >Fix: > Unknown > }}} New description: I'm using the IMAP server of web.de (a German freemail provider) with a TLS connection. When I'm connected I can read my mails without problems. But if I stay idle for some minutes, the next acces to the server give me the following error: `tls_socket_read (A TLS packet with unexpected length was received.)` When I quit mutt now, it crashes. A self-compiled vanilla 1.5.13 shows me the following question when quiting: `Purge 135699096 deleted messages? ([no]/yes):` Backtrace: {{{ #0 0x08087c46 in mx_close_mailbox (ctx=0x8148260, index_hint=0xbfd115b0) at mx.c:907 #1 0x0806660e in mutt_index_menu () at curs_main.c:888 #2 0x0807d01b in main (argc=0, argv=0xb7c0000e) at main.c:963 }}} -- Ticket URL: <http://dev.mutt.org/trac/ticket/2540#comment:1>