[PATCH 3/3] lib: Reject multi-message mboxes and deprecate single-message mbox
[notmuch-archives.git] / aa / b4b670bb1a053d2a997c9f382813981a2d666f
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 1672D429E25\r
6         for <notmuch@notmuchmail.org>; Thu, 15 Dec 2011 14:21:09 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \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 FE6hGw427+2I for <notmuch@notmuchmail.org>;\r
16         Thu, 15 Dec 2011 14:21:07 -0800 (PST)\r
17 Received: from dmz-mailsec-scanner-6.mit.edu (DMZ-MAILSEC-SCANNER-6.MIT.EDU\r
18         [18.7.68.35])\r
19         by olra.theworths.org (Postfix) with ESMTP id 9882B431FD0\r
20         for <notmuch@notmuchmail.org>; Thu, 15 Dec 2011 14:21:07 -0800 (PST)\r
21 X-AuditID: 12074423-b7f9c6d0000008c3-36-4eea72d348a8\r
22 Received: from mailhub-auth-3.mit.edu ( [18.9.21.43])\r
23         by dmz-mailsec-scanner-6.mit.edu (Symantec Messaging Gateway) with SMTP\r
24         id 4E.75.02243.3D27AEE4; Thu, 15 Dec 2011 17:21:07 -0500 (EST)\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])\r
26         by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id pBFML6Oo019849; \r
27         Thu, 15 Dec 2011 17:21:06 -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 pBFML4jg011029\r
32         (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);\r
33         Thu, 15 Dec 2011 17:21:05 -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 1RbJh8-0003VJ-1N; Thu, 15 Dec 2011 17:22:30 -0500\r
37 Date: Thu, 15 Dec 2011 17:22:30 -0500\r
38 From: Austin Clements <amdragon@MIT.EDU>\r
39 To: Nathan Edson <nedson@nedson.net>\r
40 Subject: Re: Error Running "notmuch new"\r
41 Message-ID: <20111215222230.GB12245@mit.edu>\r
42 References: <20111215181826.GA14760@newb>\r
43  <87r505a4ok.fsf@convex-new.cs.unb.ca>  <20111215215609.GA12245@mit.edu>\r
44  <20111215220802.GA19961@newb>\r
45 MIME-Version: 1.0\r
46 Content-Type: text/plain; charset=us-ascii\r
47 Content-Disposition: inline\r
48 In-Reply-To: <20111215220802.GA19961@newb>\r
49 User-Agent: Mutt/1.5.21 (2010-09-15)\r
50 X-Brightmail-Tracker:\r
51  H4sIAAAAAAAAA+NgFupjleLIzCtJLcpLzFFi42IR4hTV1r1c9MrPYOFMLosbrd2MFi2717Fb\r
52         XL85k9mB2ePyxhmMHs9W3WL22HLoPXMAcxSXTUpqTmZZapG+XQJXRs+SoILLIhU37rcwNjDO\r
53         FOxi5OSQEDCReHBuDTOELSZx4d56ti5GLg4hgX2MEk1NM1kgnA2MEvvm/meHcE4ySUz5PJkJ\r
54         wlnCKHGgZTsTSD+LgKrE5Xd/GUFsNgENiW37l4PZIgIqEpv/9LKD2MwCdhJHvneBxYWBatbN\r
55         3AO2m1dAR+Lzq9vMEEOnMEqsvbeCCSIhKHFy5hMWiGYtiRv/XgLFOYBsaYnl/zhAwpxA4fmX\r
56         /rCC2KJAu6ac3MY2gVFoFpLuWUi6ZyF0L2BkXsUom5JbpZubmJlTnJqsW5ycmJeXWqRrppeb\r
57         WaKXmlK6iREU7OwuyjsY/xxUOsQowMGoxMO7wuaVnxBrYllxZe4hRkkOJiVR3s48oBBfUn5K\r
58         ZUZicUZ8UWlOavEhRgkOZiURXnF7oBxvSmJlVWpRPkxKmoNFSZy3ftdDPyGB9MSS1OzU1ILU\r
59         IpisDAeHkgSvKzCqhQSLUtNTK9Iyc0oQ0kwcnCDDeYCGK4DU8BYXJOYWZ6ZD5E8xKkqJ80qB\r
60         JARAEhmleXC9sGT0ilEc6BVh3oeFQFU8wEQG1/0KaDAT0ODtYS9ABpckIqSkGhjNfHQ7Xx58\r
61         d9NYmuuc2RalGr+G1juW2ZwzW+pe3vOPkXIXdL5ulrbyeEzqr7K/ofej+VobXPWnNyxQf+F4\r
62         sYKz+OrpMpbrF1ef8Q/+832yrvdJrliZ7LfP/KzmiQXdinkYqd/A7FEy1T7QXmuTc8zBlGTT\r
63         I3d0JjUc6/JTuXPEgevnIrVldkosxRmJhlrMRcWJACV+JVchAwAA\r
64 Cc: notmuch@notmuchmail.org\r
65 X-BeenThere: notmuch@notmuchmail.org\r
66 X-Mailman-Version: 2.1.13\r
67 Precedence: list\r
68 List-Id: "Use and development of the notmuch mail system."\r
69         <notmuch.notmuchmail.org>\r
70 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
72 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
73 List-Post: <mailto:notmuch@notmuchmail.org>\r
74 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
75 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
76         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
77 X-List-Received-Date: Thu, 15 Dec 2011 22:21:09 -0000\r
78 \r
79 Quoth Nathan Edson on Dec 15 at  2:08 pm:\r
80 > Hello,\r
81\r
82 > I am running Ubuntu.  Here is what I get:\r
83\r
84 > yabai@newb:~$ gdb --args notmuch new\r
85 > GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2\r
86 > Copyright (C) 2010 Free Software Foundation, Inc.\r
87 > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\r
88 > This is free software: you are free to change and redistribute it.\r
89 > There is NO WARRANTY, to the extent permitted by law.  Type "show copying"\r
90 > and "show warranty" for details.\r
91 > This GDB was configured as "i686-linux-gnu".\r
92 > For bug reporting instructions, please see:\r
93 > <http://www.gnu.org/software/gdb/bugs/>...\r
94 > Reading symbols from /usr/bin/notmuch...(no debugging symbols found)...done.\r
95 > (gdb) run\r
96 > Starting program: /usr/bin/notmuch new\r
97 > [Thread debugging using libthread_db enabled]\r
98\r
99 > GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes\r
100 > aborting...\r
101\r
102 > Program received signal SIGABRT, Aborted.\r
103 > 0xb7fe1424 in __kernel_vsyscall ()\r
104 > (gdb) bt\r
105 > #0  0xb7fe1424 in __kernel_vsyscall ()\r
106 > #1  0xb7ce7e71 in raise () from /lib/i386-linux-gnu/libc.so.6\r
107 > #2  0xb7ceb34e in abort () from /lib/i386-linux-gnu/libc.so.6\r
108 > #3  0xb7e8bf27 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0\r
109 > #4  0xb7e8bf62 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0\r
110 > #5  0xb7e89c3c in g_realloc () from /lib/i386-linux-gnu/libglib-2.0.so.0\r
111 > #6  0xb7e54965 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0\r
112 > #7  0xb7e54d5d in g_array_append_vals () from /lib/i386-linux-gnu/libglib-2.0.so.0\r
113 > #8  0xb7e560c0 in g_byte_array_append () from /lib/i386-linux-gnu/libglib-2.0.so.0\r
114 > #9  0xb7f83c94 in ?? () from /usr/lib/libgmime-2.4.so.2\r
115 > #10 0xb7f84fbf in ?? () from /usr/lib/libgmime-2.4.so.2\r
116 > #11 0xb7f85761 in ?? () from /usr/lib/libgmime-2.4.so.2\r
117 > #12 0xb7f869ea in g_mime_parser_construct_message () from /usr/lib/libgmime-2.4.so.2\r
118 > #13 0xb7fc40fd in ?? () from /usr/lib/libnotmuch.so.1\r
119 > #14 0xb7fc1a45 in notmuch_database_add_message () from /usr/lib/libnotmuch.so.1\r
120 > #15 0x0804f521 in ?? ()\r
121 > #16 0x080501fe in ?? ()\r
122 > #17 0x0804c9c0 in ?? ()\r
123 > #18 0xb7cd3e37 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6\r
124 > #19 0x0804ba91 in ?? ()\r
125 > (gdb) quit\r
126 \r
127 Interesting.  So this is probably a gmime bug, but try running\r
128 $ strace -eopen notmuch new\r
129 \r
130 Just before it aborts, you should see a line saying that it's opening\r
131 some message in your maildir.  If you can share that message, send the\r
132 message file as an attachment.  If you can share just the headers, but\r
133 not the body, that's probably enough.\r