mutt/2725: Bug#375530: index weirdness if mailbox is emptied while inside the pager
>Number: 2725
>Category: mutt
>Synopsis: Bug#375530: index weirdness if mailbox is emptied while inside
>the
pager
>Confidential: no
>Severity: normal
>Priority: medium
>Responsible: mutt-dev
>State: open
>Keywords:
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jan 30 12:25:01 +0100 2007
>Originator: Christoph Berg <cb@xxxxxxxx>
>Release:
>Description:
Hi,
the following was submitted as Debian bug #375530:
Re: Philip Armstrong 2007-01-29 <20070129191954.GA14117@xxxxxxxxxxxxx>
> > > Steps to reproduce:
> > >
> > > 1) Open mutt on mailbox with an email in it.
> > > 2) Open the email in mutt
> > > 3) Open a second mutt and delete the email from the mailbox. Quit this
> > > mutt
> > > 4) Hit q in the first mutt. It will say "Mailbox was externally
> > > modified. Flags may be wrong." at the bottom, and the flags will
> > > change to "F".
> > > 5) Hit $ to sync mailboxes: Instant segfault -- *** glibc detected ***
> > > double free or corruption (!prev): 0x0817ad60 *** Aborted
> >
> > thanks for the report and sorry we didn't reply earlier.
> >
> > I just tried to reproduce it with the current mutt version in
> > etch/sid - it works.
> >
> > Can you still reproduce it on your machine?
>
> Not anymore: the new behaviour is that the first mutt thinks the email
> is still there, but can't display it anymore...which is better than
> segfaulting I guess.
I could confirm that here. It looks like the behaviour is correct if
there are other messages in the mbox but not if it is reduced to zero
size. The behavior is also correct when the mbox is removed.
Christoph
--
cb@xxxxxxxx | http://www.df7cb.de/
>Fix:
Unknown
>Add-To-Audit-Trail: