Your message dated Sun, 15 Mar 2009 11:31:42 +0000
with message-id <[email protected]>
and subject line mutt -y gets confused when you remove last mailbox; segfaults
has caused the Debian Bug report #439387,
regarding mutt -y gets confused when you remove last mailbox; segfaults
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
439387: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439387
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mutt
Version: 1.5.16-3
Severity: normal

I just upgraded from 1.5.13 to 1.5.16-3.  I start mutt with the -y
option to see all my folders.  After reading a mailbox, I press
left-curos to get back to the overview of all mailboxes.  With 1.5.13,
mutt would go back to the first mailbox (inbox) when leaving a folder
(i.e. highlight the inbox).  With 1.5.16 it goes to the mailbox you
just left.  That's fine.

Howerver, after reading a mailbox, I remove all messages.  Again, mutt
deals with this fine most of the time and simply marks the next
folder.  However, when there is only one folder left (the inbox), it
will not mark the inbox but instead nothing is marked (marked =
highlighted with the bar).  So mutt gets confused which folder it is
supposed to be on.  This problem is mostly cosmetic as pressing a
cursor key in this state will cause mutt to mark the inbox.  However,
when you press enter, mutt actually segfaults when it tries to open
this non-existing mailbox.

This is 100% reproducible, even if my explanation above is not great.
In any case, I can clarify if you want.

Here's the segfault:


         0K    Aug 24 19:23     /var/mail/tbm

Program received signal SIGSEGV, Segmentation fault.
0x0fd3a430 in strncpy () from /lib/libc.so.6
(gdb) where
#0  0x0fd3a430 in strncpy () from /lib/libc.so.6
#1  0x1000e904 in _mutt_select_file (f=0x7f9f7838 "", flen=1024, flags=4, 
files=0x0, numfiles=0x0)
    at ../browser.c:824
#2  0x10026874 in _mutt_enter_fname (prompt=0x100efbcc "Open mailbox", 
buf=0x7f9f7838 "", blen=1024,
    redraw=0x101a3764, buffy=1, multiple=0, files=0x0, numfiles=0x0) at 
../curs_lib.c:516
#3  0x1002b220 in mutt_index_menu () at ../curs_main.c:1105
#4  0x10055398 in main (argc=2, argv=0x7f9f8be4) at ../main.c:995
(gdb)





-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages mutt depends on:
ii  libc6                     2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libgdbm3                  1.8.3-3        GNU dbm database routines (runtime
ii  libgnutls13               1.4.4-3        the GNU TLS library - runtime libr
ii  libidn11                  0.6.5-1        GNU libidn library, implementation
ii  libncursesw5              5.5-5          Shared libraries for terminal hand
ii  libsasl2-2                2.1.22.dfsg1-8 Authentication abstraction library

Versions of packages mutt recommends:
ii  locales                     2.3.6.ds1-13 GNU C Library: National Language (
ii  mime-support                3.39-1       MIME files 'mime.types' & 'mailcap
ii  postfix [mail-transport-age 2.3.8-2+b1   A high-performance mail transport 

-- no debconf information

-- 
Martin Michlmayr
http://www.cyrius.com/


--- End Message ---
--- Begin Message ---
Hi,
I'm closing the bug because no information was provided, I hope
my last correspondence solves your problem.

If you are still having problems please feel free to reopen
the bug.

Cheers
Antonio


--- End Message ---

Reply via email to