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

mutt/2146: tab-completing Fcc field in IMAP segfaults when disconnected



>Number:         2146
>Notify-List:    muttbug@xxxxxxxxxxxxxxxxx
>Category:       mutt
>Synopsis:       tab-completing Fcc field in IMAP segfaults when disconnected
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 08 14:00:36 +0100 2005
>Originator:     Phil Pennock
>Release:        Mutt 1.5.11 (2005-09-15)
>Organization:
>Environment:
2.6.11-gentoo-r6 on x86

% ldd =mutt
        linux-gate.so.1 =>  (0xffffe000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0xb7f8d000)
        libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0xb7f5e000)
        libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0xb7e6a000)
        libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb7e56000)
        libidn.so.11 => /usr/lib/libidn.so.11 (0xb7e26000)
        libgdbm.so.3 => /usr/lib/libgdbm.so.3 (0xb7e20000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7d0d000)
        libgpm.so.1 => /lib/libgpm.so.1 (0xb7d07000)
        libdl.so.2 => /lib/libdl.so.2 (0xb7d03000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xb7cf0000)
        /lib/ld-linux.so.2 (0xb7feb000)
>Description:
With mutt configured for an IMAP account, use "mutt email@xxxxxxxxxxx" to send 
email whilst disconnected.  In the menu after editing the content, set the Fcc 
field; attempt tab-completion.  Experience segfault.

(gdb) bt
#0  0x080c12ee in imap_complete_hosts ()
#1  0x080c14c1 in imap_complete ()
#2  0x080596d0 in mutt_complete ()
#3  0x080672cf in _mutt_enter_string ()
#4  0x0805e2ee in _mutt_get_field ()
#5  0x0805af54 in mutt_compose_menu ()
#6  0x08097e71 in ci_send_message ()
#7  0x08076c70 in main ()

Built without debugging information, sorry.
>How-To-Repeat:
As per description field
>Fix:
Unknown
>Add-To-Audit-Trail:

>Unformatted: