1 Return-Path: <amdragon@mit.edu>
\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 4CDD2431FAF
\r
6 for <notmuch@notmuchmail.org>; Thu, 1 Mar 2012 13:57:42 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\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 92w4xzfU2ImJ for <notmuch@notmuchmail.org>;
\r
16 Thu, 1 Mar 2012 13:57:41 -0800 (PST)
\r
17 Received: from dmz-mailsec-scanner-6.mit.edu (DMZ-MAILSEC-SCANNER-6.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id BC00F431FAE
\r
20 for <notmuch@notmuchmail.org>; Thu, 1 Mar 2012 13:57:41 -0800 (PST)
\r
21 X-AuditID: 12074423-b7f9c6d0000008c3-51-4f4ff0d5e4d3
\r
22 Received: from mailhub-auth-4.mit.edu ( [18.7.62.39])
\r
23 by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id C9.52.02243.5D0FF4F4; Thu, 1 Mar 2012 16:57:41 -0500 (EST)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id q21LvecI001215;
\r
27 Thu, 1 Mar 2012 16:57:40 -0500
\r
28 Received: from awakening.csail.mit.edu (awakening.csail.mit.edu [18.26.4.91])
\r
29 (authenticated bits=0)
\r
30 (User authenticated as amdragon@ATHENA.MIT.EDU)
\r
31 by outgoing.mit.edu (8.13.6/8.12.4) with ESMTP id q21LvcRU012419
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Thu, 1 Mar 2012 16:57:39 -0500 (EST)
\r
34 Received: from amthrax by awakening.csail.mit.edu with local (Exim 4.77)
\r
35 (envelope-from <amdragon@mit.edu>)
\r
36 id 1S3E0I-0003Lk-Mc; Thu, 01 Mar 2012 16:57:38 -0500
\r
37 Date: Thu, 1 Mar 2012 16:57:38 -0500
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: David Bremner <bremner@unb.ca>
\r
40 Subject: Re: Internal error on line 296 of mime-node.c
\r
41 Message-ID: <20120301215738.GA7466@mit.edu>
\r
42 References: <87d38w2e7h.fsf@zancas.localnet>
\r
44 Content-Type: text/plain; charset=us-ascii
\r
45 Content-Disposition: inline
\r
46 In-Reply-To: <87d38w2e7h.fsf@zancas.localnet>
\r
47 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
48 X-Brightmail-Tracker:
\r
49 H4sIAAAAAAAAA+NgFmpkleLIzCtJLcpLzFFi42IRYrdT1736wd/f4Hg7l8XzB1cZLa7fnMns
\r
50 wOTxbNUtZo+jc/azBTBFcdmkpOZklqUW6dslcGXs+bKRtaBPoGLFhvoGxoW8XYwcHBICJhJ/
\r
51 +q26GDmBTDGJC/fWs3UxcnEICexjlDj96gQzhLOeUeLwususEM4JJonJCz8yQjhLGCU+bnrC
\r
52 BNLPIqAicfhtGwuIzSagIbFt/3JGkBUiAkoSm99JgISZBVQlGtdeZAaxhQXMJPYfXQJm8wpo
\r
53 S2z68RGsVUhAR6LzyytWiLigxMmZT1ggerUkbvx7yQQykllAWmL5Pw6QMKeArsTRyZPBxogC
\r
54 XTDl5Da2CYxCs5B0z0LSPQuhewEj8ypG2ZTcKt3cxMyc4tRk3eLkxLy81CJdM73czBK91JTS
\r
55 TYzgkHZR3sH456DSIUYBDkYlHl6Pif7+QqyJZcWVuYcYJTmYlER5b7wFCvEl5adUZiQWZ8QX
\r
56 leakFh9ilOBgVhLh5b4LlONNSaysSi3Kh0lJc7AoifNqaL3zExJITyxJzU5NLUgtgsnKcHAo
\r
57 SfBaAWNXSLAoNT21Ii0zpwQhzcTBCTKcB2i4IUgNb3FBYm5xZjpE/hSjopQ4rwVIQgAkkVGa
\r
58 B9cLSzmvGMWBXhHmNQGp4gGmK7juV0CDmYAGL77sBzK4JBEhJdXAuKI1b1bo+eTrpRrVVi1p
\r
59 ZrbT/vPe15Q/XLDFztMgeNGf1byJzsz1FzS+ble1YTvq8Ltn9iaLkA0LNpzmvL3l6vurjzRY
\r
60 3wZ/UbjSblsWJOLElZT/8vp0Ycfl06Kn7l5wMXyV6vpvb/8F8Ux0O/1QUbxxxf1VH/Maap08
\r
61 zP5oLcn6N9HqgfhzWSWW4oxEQy3mouJEAD7Ij1AUAwAA
\r
62 Cc: notmuch <notmuch@notmuchmail.org>
\r
63 X-BeenThere: notmuch@notmuchmail.org
\r
64 X-Mailman-Version: 2.1.13
\r
66 List-Id: "Use and development of the notmuch mail system."
\r
67 <notmuch.notmuchmail.org>
\r
68 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
69 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
70 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
71 List-Post: <mailto:notmuch@notmuchmail.org>
\r
72 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
73 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
74 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
75 X-List-Received-Date: Thu, 01 Mar 2012 21:57:42 -0000
\r
77 Quoth David Bremner on Mar 01 at 5:39 pm:
\r
79 > In the current master (4fa77d031) I get a sort-of double crash on the
\r
82 > The internal error on line 296 is reached, indicating some kind of bug,
\r
83 > but then the G_OBJECT_TYPE crashes becase parent->part is null.
\r
85 > The message is probably crap, I created it from another "real" message
\r
86 > from some business that causes the same problem.
\r
89 > #0 0x0000000000416850 in mime_node_child (parent=0x8425fa0, child=0)
\r
90 > at mime-node.c:296
\r
91 > #1 0x00000000004137f1 in format_part_json (ctx=0x8425f10, node=0x8425fa0,
\r
92 > first=1) at notmuch-show.c:669
\r
93 > #2 0x0000000000413e54 in format_part_json_entry (ctx=0x8425f10,
\r
94 > node=0x8425fa0, indent=0, params=0x7ff000470) at notmuch-show.c:758
\r
95 > #3 0x0000000000413f0f in show_message (ctx=0x8367680, format=0x6327e0, message=
\r
96 > 0x83e9830, indent=0, params=0x7ff000470) at notmuch-show.c:776
\r
97 > #4 0x0000000000414165 in show_messages (ctx=0x8367680, format=0x6327e0,
\r
98 > messages=0x8425e70, indent=0, params=0x7ff000470) at notmuch-show.c:835
\r
99 > #5 0x00000000004145f5 in do_show (ctx=0x8367680, query=0x83b36b0,
\r
100 > format=0x6327e0, params=0x7ff000470) at notmuch-show.c:956
\r
101 > #6 0x0000000000414ba7 in notmuch_show_command (ctx=0x8367680, argc=3,
\r
102 > argv=0x7ff000660) at notmuch-show.c:1089
\r
103 > #7 0x000000000040a9fe in main (argc=4, argv=0x7ff000658) at notmuch.c:294
\r
104 > (gdb) print *parent
\r
105 > $3 = {part = 0x0, envelope_file = 0x83e9830, envelope_part = 0x0,
\r
106 > nchildren = 1, parent = 0x0, part_num = 0, decrypt_attempted = 0,
\r
107 > decrypt_success = 0, verify_attempted = 0, sig_list = 0x0, ctx = 0x8426090,
\r
108 > decrypted_child = 0x0, next_child = 0, next_part_num = 1}
\r
110 For the record, this is because g_mime_parser_construct_message in
\r
111 mime_node_open is returning NULL. mime_node_open should be checking
\r
112 for this as well as errors from the other GMime functions it calls.
\r
113 (Unfortunately, there appears to be no way to ask GMime *what* went
\r
114 wrong; it just returns NULL.)
\r