Re: [Mutt] #3173: Mutt with gmail crashes after IMAP timeout
#3173: Mutt with gmail crashes after IMAP timeout
-----------------------+----------------------------------------------------
Reporter: cycykewl | Owner: mutt-dev
Type: defect | Status: infoneeded_new
Priority: major | Milestone: 1.6
Component: mutt | Version: 1.5.18
Resolution: | Keywords: gmail crash imap
-----------------------+----------------------------------------------------
Description changed by brendan:
Old description:
> hi,
>
> I think that I have the same problem as Ticket #2540 which is closed.
> The ticket #2056 was opened but the problem wasn't solved.
>
> here my mutt on debian 5.0:
>
> Mutt 1.5.18 (2008-05-17)
> Copyright (C) 1996-2008 Michael R. Elkins et autres.
> Mutt ne fournit ABSOLUMENT AUCUNE GARANTIE ; pour les détails tapez `mutt
> -vv'.
> Mutt est un logiciel libre, et vous êtes libre de le redistribuer
> sous certaines conditions ; tapez `mutt -vv' pour les détails.
>
> System: Linux 2.6.26-1-686 (i686)
> ncurses: ncurses 5.7.20081213 (compiled with 5.6)
> libidn: 1.8 (compiled with 1.9)
> hcache backend: GDBM version 1.8.3. 10/15/2002 (built Apr 24 2006
> 03:25:20)
> Options de compilation :
> -DOMAIN
> +DEBUG
> -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
> +USE_FCNTL -USE_FLOCK
> +USE_POP +USE_IMAP +USE_SMTP +USE_GSS -USE_SSL_OPENSSL
> +USE_SSL_GNUTLS +USE_SASL +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 +COMPRESSED +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/share/mutt"
> SYSCONFDIR="/etc"
> EXECSHELL="/bin/sh"
> MIXMASTER="mixmaster"
> Pour contacter les développeurs, veuillez écrire à <mutt-dev@xxxxxxxx>.
> Pour signaler un bug, veuillez aller sur http://bugs.mutt.org/.
>
> patch-1.5.13.cd.ifdef.2
> patch-1.5.13.cd.purge_message.3.4
> patch-1.5.13.nt+ab.xtitles.4
> patch-1.5.18.sidebar.20080611.txt
> patch-1.5.4.vk.pgp_verbose_mime
> patch-1.5.6.dw.maildir-mtime.1
> patch-1.5.8.hr.sensible_browser_position.3
>
> I have my gmail account with IMAP connection. I can read my mail 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.)
>
> Here my muttdebug0 :
>
> [...]
> IMAP queue drained
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_addr_is_user: no, all failed.
> mutt_index_menu[642]: Got op -1
> 5> a0061 NOOP
> tls_socket_read (A TLS packet with unexpected length was received.)
> imap_cmd_step: Error reading server response.
> Boîte aux lettres fermée
> mutt_socket_close: Attempt to close closed connection.
> imap_exec: command failed:
> mutt_index_menu[642]: Got op 119
> Aucune boîte aux lettres n'est ouverte.
> mutt_index_menu[642]: Got op 146
>
> Can you confirm that it was the same problem ? If yes, do you have
> another solution than attempting to reconnect ?
>
> thx a lot
New description:
hi,
I think that I have the same problem as Ticket #2540 which is closed.
The ticket #2056 was opened but the problem wasn't solved.
here my mutt on debian 5.0:
{{{
Mutt 1.5.18 (2008-05-17)
Copyright (C) 1996-2008 Michael R. Elkins et autres.
Mutt ne fournit ABSOLUMENT AUCUNE GARANTIE ; pour les détails tapez `mutt
-vv'.
Mutt est un logiciel libre, et vous êtes libre de le redistribuer
sous certaines conditions ; tapez `mutt -vv' pour les détails.
System: Linux 2.6.26-1-686 (i686)
ncurses: ncurses 5.7.20081213 (compiled with 5.6)
libidn: 1.8 (compiled with 1.9)
hcache backend: GDBM version 1.8.3. 10/15/2002 (built Apr 24 2006
03:25:20)
Options de compilation :
-DOMAIN
+DEBUG
-HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE
+USE_FCNTL -USE_FLOCK
+USE_POP +USE_IMAP +USE_SMTP +USE_GSS -USE_SSL_OPENSSL
+USE_SSL_GNUTLS +USE_SASL +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 +COMPRESSED +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/share/mutt"
SYSCONFDIR="/etc"
EXECSHELL="/bin/sh"
MIXMASTER="mixmaster"
Pour contacter les développeurs, veuillez écrire à <mutt-dev@xxxxxxxx>.
Pour signaler un bug, veuillez aller sur http://bugs.mutt.org/.
patch-1.5.13.cd.ifdef.2
patch-1.5.13.cd.purge_message.3.4
patch-1.5.13.nt+ab.xtitles.4
patch-1.5.18.sidebar.20080611.txt
patch-1.5.4.vk.pgp_verbose_mime
patch-1.5.6.dw.maildir-mtime.1
patch-1.5.8.hr.sensible_browser_position.3
}}}
I have my gmail account with IMAP connection. I can read my mail 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.)
Here my muttdebug0 :
{{{
[...]
IMAP queue drained
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_addr_is_user: no, all failed.
mutt_index_menu[642]: Got op -1
5> a0061 NOOP
tls_socket_read (A TLS packet with unexpected length was received.)
imap_cmd_step: Error reading server response.
Boîte aux lettres fermée
mutt_socket_close: Attempt to close closed connection.
imap_exec: command failed:
mutt_index_menu[642]: Got op 119
Aucune boîte aux lettres n'est ouverte.
mutt_index_menu[642]: Got op 146
}}}
Can you confirm that it was the same problem ? If yes, do you have another
solution than attempting to reconnect ?
thx a lot
--
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3173#comment:3>
Mutt <http://www.mutt.org/>
The Mutt mail user agent