unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: notmuch <notmuch@notmuchmail.org>
Subject: Re: [PATCH] notmuch-new: Eliminate tallocs whilst construct filenames.
Date: Fri, 27 Nov 2009 21:41:08 -0800	[thread overview]
Message-ID: <878wdrtde3.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <1259329997-sup-2634@broadwater.alporthouse.com>

[-- Attachment #1: Type: text/plain, Size: 1262 bytes --]

On Fri, 27 Nov 2009 14:17:02 +0000, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> > I *know* I composed a reply to this message earlier, but apparently
> > you're right that it never went out. (*sigh*---if only I had a reliable
> > mail client[*]).
> 
> I hear there's one called sup... ;-)

Heh. But seriously, I hit a lot of crashes with sup, and that invariably
led to *lots* of lost tag changes. I'm willing to live with lots of
Xapian-defect-250 pain right now to avoid that lossage.

> The issue I see with the "error, continue" pattern is that we are in
> danger of not reporting the first error but the last one.

OK. That would be a problem, yes.

> Is notmuch ready for fault-injection yet? Maybe once you have a nasty
> testsuite...

It's not "ready" in the sense that there is going to be a huge series of
fixes that fault-injection will find. But it's definitely "ready" in
the sense that I want to start doing this kind of testing.

But yes, we need a test suite.

Oh, and we'll also need to deal with remaining glib usage inside of
notmuch, (and inside of GMime as well), before we can do good testing
for memory-fault injection. Maybe what we'll end up with is a patch to
de-glib-ify GMime? I'm not sure.

-Carl

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2009-11-28  5:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-22  0:57 [PATCH] notmuch-new: Eliminate tallocs whilst construct filenames Chris Wilson
2009-11-27 13:23 ` Carl Worth
2009-11-27 13:50   ` [PATCH] notmuch-new: Check for non-fatal errors from stat() Chris Wilson
2009-11-28  5:37     ` Carl Worth
2009-11-27 14:17   ` [PATCH] notmuch-new: Eliminate tallocs whilst construct filenames Chris Wilson
2009-11-28  5:41     ` Carl Worth [this message]
2009-11-28  5:58       ` Jeffrey Ollie
2009-11-28 17:38   ` Archiving outgoing email in Gnus (was Re: notmuch-new: Eliminate tallocs whilst construct filenames.) Adam Sjøgren

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=878wdrtde3.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=chris@chris-wilson.co.uk \
    --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).