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

Re: [Mutt] #2203: Mutt freezes regularily when fetching new messages



#2203: Mutt freezes regularily when fetching new messages

Changes (by brendan):

  * status:  new => closed
  * resolution:  => worksforme

Old description:

> {{{
> Hi,
>
> i use mutt as my MUA at work. It connects with a mail server via IMAP,
> but sometimes, when fetching a new message, mutt freezes with the message
> "Fetching message... ".
>
> I have debbuged the program, and the stack trace where it freezes is:
>
> (gdb) where
> #0  0xffffe410 in ?? ()
> #1  0xbfb4eed8 in ?? ()
> #2  0xb7edb61c in ?? () from /usr/lib/libgnutls.so.10
> #3  0xbfb4edf0 in ?? ()
> #4  0xb7cf9951 in recv () from /lib/tls/i686/cmov/libc.so.6
> #5  0xb7e93f09 in _gnutls_handshake_buffer_clear () from
> /usr/lib/libgnutls.so.10
> #6  0xb7e94315 in _gnutls_io_read_buffered () from
> /usr/lib/libgnutls.so.10
> #7  0xb7e90aff in _gnutls_recv_int () from /usr/lib/libgnutls.so.10
> #8  0xb7e917f3 in gnutls_record_recv () from /usr/lib/libgnutls.so.10
> #9  0x080d8e6b in tls_socket_read (conn=0x81b9850,
>     buf=0x81b999c "\n<p class=3DMsoNormal style=3D'text-
> autospace:none'><font size=3D1 =\r\ncolor=3Dblack\r\nface=3DArial><span
> =\r\nstyle=3D'font-size:9.0pt;font-
> family:Arial;color:windowtext'>D=EDas\r\n</span></font><font size"...,
> len=1024) at mutt_ssl_gnutls.c:100
> #10 0x080dbb39 in mutt_sasl_conn_read (conn=0x81b9850,
>     buf=0x81b999c "\n<p class=3DMsoNormal style=3D'text-
> autospace:none'><font size=3D1 =\r\ncolor=3Dblack\r\nface=3DArial><span
> =\r\nstyle=3D'font-size:9.0pt;font-
> family:Arial;color:windowtext'>D=EDas\r\n</span></font><font size"...,
> len=1024) at mutt_sasl.c:539
> #11 0x080d7e70 in mutt_socket_readchar (conn=0x81b9850, c=0xbfb4f08f
> "oÙ\237") at mutt_socket.c:138
> #12 0x080e1999 in imap_read_literal (fp=0x821dd68, idata=0x81a5198,
> bytes=53450, pbar=0xbfb4f0d8) at imap.c:202
> #13 0x080e5ff5 in imap_fetch_message (msg=0x8220e50, ctx=0x81b83b0,
> msgno=157) at message.c:417
> #14 0x08092b93 in mx_open_message (ctx=0x81b83b0, msgno=157) at mx.c:1462
> #15 0x0809ccc7 in mutt_parse_mime_message (ctx=0x81b83b0, cur=0x82109a8)
> at parse.c:957
> #16 0x0805ce48 in _mutt_check_traditional_pgp (h=0x82109a8,
> redraw=0x82089dc) at commands.c:976
> #17 0x0805cf5f in mutt_check_traditional_pgp (h=0x82109a8,
> redraw=0x82089dc) at commands.c:996
> #18 0x080688a3 in mutt_index_menu () at curs_main.c:1191
> #19 0x08085ccb in main (argc=1, argv=0xbfb50704) at main.c:966
>
> The version of mutt i use is:
>
> $ mutt -v
> Mutt 1.5.11 (2005-09-15)
> Copyright (C) 1996-2005 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.12-10-386 (i686) [using ncurses 5.4] [using libidn
> 0.5.13 (compiled with 0.5.13)]
> Kompilazio aukerak:
> -DOMAIN
> +DEBUG
> -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
> +USE_FCNTL  -USE_FLOCK   +USE_INODESORT
> +USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_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
> -BUFFY_SIZE -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="ispell"
> SENDMAIL="/usr/sbin/sendmail"
> MAILPATH="/var/mail"
> PKGDATADIR="/usr/share/mutt"
> SYSCONFDIR="/etc"
> EXECSHELL="/bin/sh"
> MIXMASTER="mixmaster"
> To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
> To report a bug, please visit http://bugs.mutt.org/.
>
> Debian.Md.etc_mailname_gethostbyname
> Debian.Md.use_debian_editor
> patch-1.5.11.rr.compressed.1
> patch-1.5.4.vk.pgp_verbose_mime
> patch-1.5.5.1.nt.xtitles.3.ab.1
> patch-1.5.6.dw.maildir-mtime.1
> patch-1.5.6.tt.assumed_charset.1
>
> Does anybody have a clue about what is happening?
>
> Regards
>                         aitor
> >How-To-Repeat:
> I can't reproduce it, but it happens time to time
> >Fix:
> Unknown
> }}}

New description:

 Hi,

 i use mutt as my MUA at work. It connects with a mail server via IMAP, but
 sometimes, when fetching a new message, mutt freezes with the message
 "Fetching message... ".

 I have debbuged the program, and the stack trace where it freezes is:
 {{{
 (gdb) where
 #0  0xffffe410 in ?? ()
 #1  0xbfb4eed8 in ?? ()
 #2  0xb7edb61c in ?? () from /usr/lib/libgnutls.so.10
 #3  0xbfb4edf0 in ?? ()
 #4  0xb7cf9951 in recv () from /lib/tls/i686/cmov/libc.so.6
 #5  0xb7e93f09 in _gnutls_handshake_buffer_clear () from
 /usr/lib/libgnutls.so.10
 #6  0xb7e94315 in _gnutls_io_read_buffered () from
 /usr/lib/libgnutls.so.10
 #7  0xb7e90aff in _gnutls_recv_int () from /usr/lib/libgnutls.so.10
 #8  0xb7e917f3 in gnutls_record_recv () from /usr/lib/libgnutls.so.10
 #9  0x080d8e6b in tls_socket_read (conn=0x81b9850,
     buf=0x81b999c "\n<p class=3DMsoNormal style=3D'text-
 autospace:none'><font size=3D1 =\r\ncolor=3Dblack\r\nface=3DArial><span
 =\r\nstyle=3D'font-size:9.0pt;font-
 family:Arial;color:windowtext'>D=EDas\r\n</span></font><font size"...,
 len=1024) at mutt_ssl_gnutls.c:100
 #10 0x080dbb39 in mutt_sasl_conn_read (conn=0x81b9850,
     buf=0x81b999c "\n<p class=3DMsoNormal style=3D'text-
 autospace:none'><font size=3D1 =\r\ncolor=3Dblack\r\nface=3DArial><span
 =\r\nstyle=3D'font-size:9.0pt;font-
 family:Arial;color:windowtext'>D=EDas\r\n</span></font><font size"...,
 len=1024) at mutt_sasl.c:539
 #11 0x080d7e70 in mutt_socket_readchar (conn=0x81b9850, c=0xbfb4f08f
 "oÙ\237") at mutt_socket.c:138
 #12 0x080e1999 in imap_read_literal (fp=0x821dd68, idata=0x81a5198,
 bytes=53450, pbar=0xbfb4f0d8) at imap.c:202
 #13 0x080e5ff5 in imap_fetch_message (msg=0x8220e50, ctx=0x81b83b0,
 msgno=157) at message.c:417
 #14 0x08092b93 in mx_open_message (ctx=0x81b83b0, msgno=157) at mx.c:1462
 #15 0x0809ccc7 in mutt_parse_mime_message (ctx=0x81b83b0, cur=0x82109a8)
 at parse.c:957
 #16 0x0805ce48 in _mutt_check_traditional_pgp (h=0x82109a8,
 redraw=0x82089dc) at commands.c:976
 #17 0x0805cf5f in mutt_check_traditional_pgp (h=0x82109a8,
 redraw=0x82089dc) at commands.c:996
 #18 0x080688a3 in mutt_index_menu () at curs_main.c:1191
 #19 0x08085ccb in main (argc=1, argv=0xbfb50704) at main.c:966

 The version of mutt i use is:

 $ mutt -v
 Mutt 1.5.11 (2005-09-15)
 Copyright (C) 1996-2005 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.12-10-386 (i686) [using ncurses 5.4] [using libidn
 0.5.13 (compiled with 0.5.13)]
 Kompilazio aukerak:
 -DOMAIN
 +DEBUG
 -HOMESPOOL  +USE_SETGID  +USE_DOTLOCK  +DL_STANDALONE
 +USE_FCNTL  -USE_FLOCK   +USE_INODESORT
 +USE_POP  +USE_IMAP  -USE_GSS  -USE_SSL  +USE_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
 -BUFFY_SIZE -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="ispell"
 SENDMAIL="/usr/sbin/sendmail"
 MAILPATH="/var/mail"
 PKGDATADIR="/usr/share/mutt"
 SYSCONFDIR="/etc"
 EXECSHELL="/bin/sh"
 MIXMASTER="mixmaster"
 To contact the developers, please mail to <mutt-dev@xxxxxxxx>.
 To report a bug, please visit http://bugs.mutt.org/.

 Debian.Md.etc_mailname_gethostbyname
 Debian.Md.use_debian_editor
 patch-1.5.11.rr.compressed.1
 patch-1.5.4.vk.pgp_verbose_mime
 patch-1.5.5.1.nt.xtitles.3.ab.1
 patch-1.5.6.dw.maildir-mtime.1
 patch-1.5.6.tt.assumed_charset.1

 Does anybody have a clue about what is happening?

 Regards
                         aitor
 >How-To-Repeat:
 I can't reproduce it, but it happens time to time
 >Fix:
 Unknown
 }}}

Comment:

 Might be a bug in some version of gnutls. Can't reproduce.

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2203#comment:2>