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 AA848429E21
\r
6 for <notmuch@notmuchmail.org>; Fri, 16 Dec 2011 13:16:17 -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 SjgaF-DQinSE for <notmuch@notmuchmail.org>;
\r
16 Fri, 16 Dec 2011 13:16:16 -0800 (PST)
\r
17 Received: from dmz-mailsec-scanner-2.mit.edu (DMZ-MAILSEC-SCANNER-2.MIT.EDU
\r
19 by olra.theworths.org (Postfix) with ESMTP id 81F3E431FD0
\r
20 for <notmuch@notmuchmail.org>; Fri, 16 Dec 2011 13:16:16 -0800 (PST)
\r
21 X-AuditID: 1209190d-b7f576d0000008c4-59-4eebb51f83e9
\r
22 Received: from mailhub-auth-1.mit.edu ( [18.9.21.35])
\r
23 by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP
\r
24 id 15.28.02244.025BBEE4; Fri, 16 Dec 2011 16:16:16 -0500 (EST)
\r
25 Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
\r
26 by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id pBGLGD0B027876;
\r
27 Fri, 16 Dec 2011 16:16:13 -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 pBGLGC7q013792
\r
32 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT);
\r
33 Fri, 16 Dec 2011 16:16:12 -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 1Rbf9q-0005Iv-Gx; Fri, 16 Dec 2011 16:17:34 -0500
\r
37 Date: Fri, 16 Dec 2011 16:17:34 -0500
\r
38 From: Austin Clements <amdragon@MIT.EDU>
\r
39 To: Nathan Edson <nedson@nedson.net>
\r
40 Subject: Re: GLib-ERROR Mesage Running notmuch new
\r
41 Message-ID: <20111216211734.GB19427@mit.edu>
\r
42 References: <20111216200714.GA25170@newb> <20111216204529.GA19427@mit.edu>
\r
43 <20111216211237.GA27860@newb>
\r
45 Content-Type: text/plain; charset=us-ascii
\r
46 Content-Disposition: inline
\r
47 In-Reply-To: <20111216211237.GA27860@newb>
\r
48 User-Agent: Mutt/1.5.21 (2010-09-15)
\r
49 X-Brightmail-Tracker:
\r
50 H4sIAAAAAAAAA+NgFmpkleLIzCtJLcpLzFFi42IR4hRV1lXY+trP4Esnm0XL7nXsFtdvzmR2
\r
51 YPK4vHEGo8ezVbeYA5iiuGxSUnMyy1KL9O0SuDIunXjKXvBUouL/pm2sDYxvRLoYOTkkBEwk
\r
52 ZnVfY4KwxSQu3FvPBmILCexjlDi3z7mLkQvI3sAoMefqXCaIxEkmiQ8tTBCJJYwSPz71gyVY
\r
53 BFQlJs6eAGazCWhIbNu/nBHEFhFQkdj8p5cdxGYWkJb49rsZrEZYwEhiwd3ZrCA2r4CORO/2
\r
54 s0CbOYCG5ki8aKiCCAtKnJz5hAWiVUvixr+XTCAlIGOW/+MACXMChWe/mww2URRo05ST29gm
\r
55 MArNQtI9C0n3LITuBYzMqxhlU3KrdHMTM3OKU5N1i5MT8/JSi3SN9HIzS/RSU0o3MYJDWpJ3
\r
56 B+O7g0qHGAU4GJV4eDOrX/sJsSaWFVfmHmKU5GBSEuVduxIoxJeUn1KZkVicEV9UmpNafIhR
\r
57 goNZSYTXqQoox5uSWFmVWpQPk5LmYFES563Z9dBPSCA9sSQ1OzW1ILUIJivDwaEkwduwBahR
\r
58 sCg1PbUiLTOnBCHNxMEJMpwHaPgGkBre4oLE3OLMdIj8KUZFKXHeeSAJAZBERmkeXC8s5bxi
\r
59 FAd6RZi3HKSKB5iu4LpfAQ1mAhq8PewFyOCSRISUVAOjr5twTOMOhnjHNwoVvA+nmaTcK9fm
\r
60 yneaPv/176cSxlw6B/1mzi/7qHzt5+4ryhMXpU9Y+OnJxPQz2/eHa5yWCdo57ceH1cWRjF7/
\r
61 Xaa+DFkzNUGj58j8nUq7vVW4l12Rmfom90Tj3ZdSPk5Gj7v0o9zDOZ+XOMVO0KxlSXitcek7
\r
62 I+O6bTs8lFiKMxINtZiLihMBtvI1+xQDAAA=
\r
63 Cc: notmuch@notmuchmail.org
\r
64 X-BeenThere: notmuch@notmuchmail.org
\r
65 X-Mailman-Version: 2.1.13
\r
67 List-Id: "Use and development of the notmuch mail system."
\r
68 <notmuch.notmuchmail.org>
\r
69 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
70 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
71 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
72 List-Post: <mailto:notmuch@notmuchmail.org>
\r
73 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
74 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
75 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
76 X-List-Received-Date: Fri, 16 Dec 2011 21:16:17 -0000
\r
78 Quoth Nathan Edson on Dec 16 at 1:12 pm:
\r
79 > > Since you're now building notmuch from source, could you build it with
\r
80 > > make clean && make CFLAGS=-g and run it under gdb again to get a
\r
81 > > backtrace? I don't understand why strace didn't show it opening any
\r
82 > > mail, but with debug symbols the backtrace should hopefully tell us
\r
85 > First, thanks for your help! Perhaps I am making progress...
\r
87 > Here is what I get:
\r
89 > yabai@newb:~$ gdb --args notmuch new
\r
90 > GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2
\r
91 > Copyright (C) 2010 Free Software Foundation, Inc.
\r
92 > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
\r
93 > This is free software: you are free to change and redistribute it.
\r
94 > There is NO WARRANTY, to the extent permitted by law. Type "show copying"
\r
95 > and "show warranty" for details.
\r
96 > This GDB was configured as "i686-linux-gnu".
\r
97 > For bug reporting instructions, please see:
\r
98 > <http://www.gnu.org/software/gdb/bugs/>...
\r
99 > Reading symbols from /usr/local/bin/notmuch...done.
\r
101 > Starting program: /usr/local/bin/notmuch new
\r
102 > [Thread debugging using libthread_db enabled]
\r
104 > GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes
\r
107 > Program received signal SIGABRT, Aborted.
\r
108 > 0xb7fe1424 in __kernel_vsyscall ()
\r
110 > #0 0xb7fe1424 in __kernel_vsyscall ()
\r
111 > #1 0xb7ce3e71 in raise () from /lib/i386-linux-gnu/libc.so.6
\r
112 > #2 0xb7ce734e in abort () from /lib/i386-linux-gnu/libc.so.6
\r
113 > #3 0xb7e87f27 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0
\r
114 > #4 0xb7e87f62 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0
\r
115 > #5 0xb7e85c3c in g_realloc () from /lib/i386-linux-gnu/libglib-2.0.so.0
\r
116 > #6 0xb7e50965 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
\r
117 > #7 0xb7e50d5d in g_array_append_vals () from /lib/i386-linux-gnu/libglib-2.0.so.0
\r
118 > #8 0xb7e520c0 in g_byte_array_append () from /lib/i386-linux-gnu/libglib-2.0.so.0
\r
119 > #9 0xb7f7fc94 in ?? () from /usr/lib/libgmime-2.4.so.2
\r
120 > #10 0xb7f80fbf in ?? () from /usr/lib/libgmime-2.4.so.2
\r
121 > #11 0xb7f81761 in ?? () from /usr/lib/libgmime-2.4.so.2
\r
122 > #12 0xb7f829ea in g_mime_parser_construct_message () from /usr/lib/libgmime-2.4.so.2
\r
123 > #13 0xb7fc1168 in _notmuch_message_index_file (message=0x13714078,
\r
124 > filename=0x80d0600 "/home/yabai/Mail/old.mail") at lib/index.cc:437
\r
125 > #14 0xb7fbef9f in notmuch_database_add_message (notmuch=0x806cd40,
\r
126 > filename=0x80d0600 "/home/yabai/Mail/old.mail", message_ret=0xbffff414) at lib/database.cc:1734
\r
128 Ah! It did show up in the strace. /home/yabai/Mail/old.mail appears
\r
129 to be the offending file. What's in it?
\r
131 > #15 0x0804fd0a in add_files_recursive (notmuch=0x806cd40, path=0x806cb58 "/home/yabai/Mail",
\r
132 > state=0xbffff634) at notmuch-new.c:459
\r
133 > #16 0x08050273 in add_files (notmuch=0x806cd40, path=0x806cb58 "/home/yabai/Mail", state=0xbffff634)
\r
134 > at notmuch-new.c:635
\r
135 > #17 0x08050ba0 in notmuch_new_command (ctx=0x80620e8, argc=0, argv=0xbffff7bc) at notmuch-new.c:897
\r
136 > #18 0x0804d59a in main (argc=2, argv=0xbffff7b4) at notmuch.c:669
\r