Package: mutt
Version: 1.5.9-1
Severity: normal

I have a setup where all my mail goes to a local instance of
courier-imap.  Then I use mutt to access this imap server.  I have a
habit of leaving mutt running on my INBOX on my local machine.  Then at
times during the day I ssh to this machine from whichever unix machine I
happen to be near and start a second instance of mutt.  It seems that
because this other machine uses a different locale, this practice
corrupts the header cache and causes a segmentation fault some time
later.  Here are the exact steps to reproduce this (for convenience, all
on one machine):

   - set the locale to LANG=en_US.UTF-8 and open mutt to the INBOX on an
     imap server
   - in another window or terminal, unset any locale (LANG) so that it
     defaults to "C" and open a second instance of mutt to the INBOX on
     the same imap server
   - delete a message on the second instance of mutt
   - exit the second instance of mutt
   - wait until a new message is received on the first instance
     (LANG=en_US.UTF-8) of mutt
   - exit the first instance (LANG=en_US.UTF-8) of mutt
   - open again the first instance (LANG=en_US.UTF-8) of mutt to the
     INBOX on the imap server (this is the point where it will seg fault
     unless you delete the header cache)

Thanks for your help!

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mutt depends on:
ii  exim4                       4.50-4       metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-tr 4.50-4       lightweight exim MTA (v4) daemon
ii  libc6                       2.3.2.ds1-21 GNU C Library: Shared libraries an
ii  libdb4.3                    4.3.27-2     Berkeley v4.3 Database Libraries [
ii  libgnutls11                 1.0.16-9     GNU TLS library - runtime library
ii  libidn11                    0.5.13-1.0   GNU libidn library, implementation
ii  libncursesw5                5.4-4        Shared libraries for terminal hand
ii  libsasl2                    2.1.19-1.5   Authentication abstraction library

-- no debconf information

-- 
Encrypted Mail Preferred:
    Key ID:  8527B9AF
    Key Fingerprint:  E1B6 40B6 B73F 695E 0D3B  644E 6427 DD74 8527 B9AF
    Information:  http://www.gnupg.org/
                                                                                
ASCII ribbon campaign:
()  against HTML email
/\  against Microsoft attachments
    Information:  http://www.expita.com/nomime.html

Attachment: signature.asc
Description: Digital signature

Reply via email to