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

Re: [Mutt] #3173: Mutt with gmail crashes after IMAP timeout



#3173: Mutt with gmail crashes after IMAP timeout
-----------------------+----------------------------------------------------
  Reporter:  cycykewl  |       Owner:  brendan         
      Type:  defect    |      Status:  new             
  Priority:  major     |   Milestone:  1.6             
 Component:  IMAP      |     Version:  1.5.20          
Resolution:            |    Keywords:  gmail crash imap
-----------------------+----------------------------------------------------
Changes (by shaw):

 * cc: shaw@â (added)
  * status:  closed => new
  * version:  1.5.18 => 1.5.20
  * resolution:  worksforme =>


Comment:

 Not sure if this is the same problem, but after a imap timeout, mutt
 crashes:

 {{{
 #0  0x00007ffff7Program received signal SIGPIPE, Broken pipe.
 0x00007ffff70f84c0 in write () from /lib/libc.so.6
 (gdb) where
 0f84c0 in write () from /lib/libc.so.6
 #1  0x00007ffff767bc05 in ?? () from /lib/libcrypto.so.0.9.8
 #2  0x00007ffff7679dd7 in BIO_write () from /lib/libcrypto.so.0.9.8
 #3  0x00007ffff796cc48 in ssl3_write_pending () from /lib/libssl.so.0.9.8
 #4  0x00007ffff796d193 in ssl3_dispatch_alert () from /lib/libssl.so.0.9.8
 #5  0x00007ffff796a4ba in ssl3_shutdown () from /lib/libssl.so.0.9.8
 #6  0x0000000000482646 in ssl_socket_close (conn=0x717c70) at
 mutt_ssl.c:369
 #7  0x00000000004813d9 in mutt_socket_close (conn=0x717c70) at
 mutt_socket.c:81
 #8  0x000000000048151a in mutt_socket_readchar (conn=0x717c70,
 c=0x7fffffffcddf "")
 at mutt_socket.c:186
 #9  0x0000000000481583 in mutt_socket_readln_d (buf=0x71c3a0 "a0078 OK
 Success",
 buflen=<value optimized out>,
     conn=0x717c70, dbg=-1) at mutt_socket.c:202
 #10 0x0000000000485d88 in imap_cmd_step (idata=0x715290) at command.c:113
 #11 0x00000000004868c8 in imap_exec (idata=0x715290, cmdstr=<value
 optimized out>,
 flags=0) at command.c:248
 #12 0x00000000004874af in imap_check_mailbox (ctx=<value optimized out>,
 index_hint=<value optimized out>, force=1)
    at imap.c:1421
 #13 0x000000000048d1ac in imap_keepalive () at util.c:746
 #14 0x0000000000436e9f in km_dokey (menu=6) at keymap.c:407
 #15 0x000000000041cecd in mutt_index_menu () at curs_main.c:603
 #16 0x0000000000439459 in main (argc=-9776, argv=<value optimized out>) at
 main.c:1020


 [shaw@kronic mutt 524]% ./mutt -v
 Mutt 1.5.20 (2009-06-14)
 Copyright (C) 1996-2009 Michael R. Elkins and others.
 Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
 Mutt is free software, and you are welcome to redistribute it
 under certain conditions; type `mutt -vv' for details.


 System: Linux 2.6.32-22-generic (x86_64)
 ncurses: ncurses 5.7.20090803 (compiled with 5.7)
 Compile options:
 -DOMAIN
 -DEBUG
 -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE  +USE_FCNTL
 -USE_FLOCK
 -USE_POP  +USE_IMAP  +USE_SMTP
 +USE_SSL_OPENSSL  -USE_SSL_GNUTLS  -USE_SASL  -USE_GSS  +HAVE_GETADDRINFO
 +HAVE_REGCOMP  -USE_GNU_REGEX
 +HAVE_COLOR  +HAVE_START_COLOR  +HAVE_TYPEAHEAD  +HAVE_BKGDSET
 +HAVE_CURS_SET  +HAVE_META  +HAVE_RESIZETERM
 +CRYPT_BACKEND_CLASSIC_PGP  +CRYPT_BACKEND_CLASSIC_SMIME
 -CRYPT_BACKEND_GPGME
 -EXACT_ADDRESS  -SUN_ATTACHMENT
 +ENABLE_NLS  -LOCALES_HACK  +HAVE_WC_FUNCS  +HAVE_LANGINFO_CODESET
 +HAVE_LANGINFO_YESEXPR
 +HAVE_ICONV  -ICONV_NONTRANS  -HAVE_LIBIDN  +HAVE_GETSID  -USE_HCACHE
 -ISPELL
 SENDMAIL="/usr/sbin/sendmail"
 MAILPATH="/var/mail"
 PKGDATADIR="/usr/local/share/mutt"
 SYSCONFDIR="/usr/local/etc"
 EXECSHELL="/bin/sh"
 -MIXMASTER
 }}}

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