1 Return-Path: <bremner@unb.ca>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 0990B431FBC
\r
6 for <notmuch@notmuchmail.org>; Tue, 6 Mar 2012 14:04:59 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id EKZnNC1WucaA for <notmuch@notmuchmail.org>;
\r
16 Tue, 6 Mar 2012 14:04:58 -0800 (PST)
\r
17 Received: from tesseract.cs.unb.ca (tesseract.cs.unb.ca [131.202.240.238])
\r
18 (using TLSv1 with cipher AES256-SHA (256/256 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id 69209431FAE
\r
21 for <notmuch@notmuchmail.org>; Tue, 6 Mar 2012 14:04:58 -0800 (PST)
\r
22 Received: from fctnnbsc30w-142166230117.dhcp-dynamic.fibreop.nb.bellaliant.net
\r
23 ([142.166.230.117] helo=zancas.localnet)
\r
24 by tesseract.cs.unb.ca with esmtpsa (TLS1.0:RSA_AES_256_CBC_SHA1:32)
\r
25 (Exim 4.72) (envelope-from <bremner@unb.ca>)
\r
26 id 1S52V6-0004R0-Jc; Tue, 06 Mar 2012 18:04:56 -0400
\r
27 Received: from bremner by zancas.localnet with local (Exim 4.77)
\r
28 (envelope-from <bremner@unb.ca>)
\r
29 id 1S52V0-0007wB-Sn; Tue, 06 Mar 2012 18:04:50 -0400
\r
30 From: David Bremner <david@tethera.net>
\r
31 To: Austin Clements <amdragon@MIT.EDU>, notmuch@notmuchmail.org
\r
32 Subject: Parsing regression with gmime-2.6?
\r
33 In-Reply-To: <1331058417-13776-1-git-send-email-amdragon@mit.edu>
\r
34 References: <87d38w2e7h.fsf@zancas.localnet>
\r
35 <1331058417-13776-1-git-send-email-amdragon@mit.edu>
\r
36 User-Agent: Notmuch/0.11.1+265~g4110e32 (http://notmuchmail.org) Emacs/23.3.1
\r
37 (x86_64-pc-linux-gnu)
\r
38 Date: Tue, 06 Mar 2012 18:04:50 -0400
\r
39 Message-ID: <87wr6xmlml.fsf@zancas.localnet>
\r
41 Content-Type: text/plain; charset=us-ascii
\r
43 Cc: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Tue, 06 Mar 2012 22:04:59 -0000
\r
58 On Tue, 6 Mar 2012 18:26:57 +0000, Austin Clements <amdragon@MIT.EDU> wrote:
\r
60 > mime-node.c | 15 +++++++++++++++
\r
61 > 1 files changed, 15 insertions(+), 0 deletions(-)
\r
63 There seems to be something weird going on with gmime-2.6; maybe we
\r
64 didn't catch some api change?
\r
66 I noticed a surprising number of messages failing to parse, so I wrote a
\r
67 script to take a random sample of 1000 messages and run notmuch show on
\r
68 them. A shocking 650 to 700 of them fail to parse with gmime-2.6. No
\r
69 failures are reported with gmime-2.4.
\r
71 I tried with your patch, and then took a couple of the id's it reported
\r
72 and tried them on the release branch, and the failed (segfaulted) there.
\r
74 I don't know at this point if it is something specific to my setup, or
\r
75 my testing methedology is just hare-brained, but I'd appreciate it if
\r
76 people could try austin's patch, gmime-2.6, and my script on their
\r
77 mailstore and let me know how many id's it spits out (if any).
\r
81 NOTMUCH=${NOTMUCH-notmuch}
\r
83 if [ ! -f test-ids.txt ]; then
\r
84 notmuch dump | shuf -n 1000 | cut -f1 -d' ' > test-ids.txt
\r
86 echo "Re-using test-ids.txt" 1>&2
\r
90 output=$(${NOTMUCH} show --format=json id:$id 2>&1 1>/dev/null)
\r