From: Carl Worth <cworth@cworth.org>
To: Sebastian Spaeth <Sebastian@SSpaeth.de>,
Notmuch development list <notmuch@notmuchmail.org>
Subject: Re: notmuch segfault
Date: Sat, 24 Apr 2010 06:52:37 -0700 [thread overview]
Message-ID: <87eii5neje.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <87d3xqti3o.fsf@SSpaeth.de>
[-- Attachment #1: Type: text/plain, Size: 588 bytes --]
On Fri, 23 Apr 2010 15:26:51 +0200, "Sebastian Spaeth" <Sebastian@SSpaeth.de> wrote:
> It happened again. Both times I had pressed "G" which calls offlineimap
> and which removed messages that the notmuch database still thought are there.
Thanks for the report, Sebastian.
I've just audited all calls to notmuch_message_get_header and tried to
handle NULL in all cases.
Of course, I haven't tested this thoroughly, but we'll hope that things
are better at least.
And perhaps someday someone will hook up some exhaustive
fault-injection-based testing to catch things like this.
-Carl
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2010-04-24 13:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-23 8:01 notmuch segfault Sebastian Spaeth
2010-04-23 13:26 ` Sebastian Spaeth
2010-04-23 13:37 ` Michal Sojka
2010-04-24 13:52 ` Carl Worth [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eii5neje.fsf@yoom.home.cworth.org \
--to=cworth@cworth.org \
--cc=Sebastian@SSpaeth.de \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).