Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1AD1E429E21 for ; Fri, 16 Dec 2011 13:35:05 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HDPRF5DeFG1D for ; Fri, 16 Dec 2011 13:35:04 -0800 (PST) X-Greylist: delayed 1342 seconds by postgrey-1.32 at olra; Fri, 16 Dec 2011 13:35:04 PST Received: from gateway14.websitewelcome.com (gateway14.websitewelcome.com [69.93.179.25]) by olra.theworths.org (Postfix) with ESMTP id 60935431FD0 for ; Fri, 16 Dec 2011 13:35:04 -0800 (PST) Received: by gateway14.websitewelcome.com (Postfix, from userid 5007) id 84CF3FB09EFCF; Fri, 16 Dec 2011 15:12:41 -0600 (CST) Received: from terminator.websitewelcome.com (terminator.websitewelcome.com [74.53.228.194]) by gateway14.websitewelcome.com (Postfix) with ESMTP id 77522FB09EFA8 for ; Fri, 16 Dec 2011 15:12:41 -0600 (CST) Received: from [76.90.166.13] (port=59259 helo=newb) by terminator.websitewelcome.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Rbf55-00024I-1U; Fri, 16 Dec 2011 15:12:39 -0600 Date: Fri, 16 Dec 2011 13:12:38 -0800 From: Nathan Edson To: Austin Clements Subject: Re: GLib-ERROR Mesage Running notmuch new Message-ID: <20111216211237.GA27860@newb> References: <20111216200714.GA25170@newb> <20111216204529.GA19427@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111216204529.GA19427@mit.edu> User-Agent: Mutt/1.5.21 (2010-09-15) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - terminator.websitewelcome.com X-AntiAbuse: Original Domain - notmuchmail.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - nedson.net X-BWhitelist: no X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: cpe-76-90-166-13.socal.res.rr.com (newb) [76.90.166.13]:59259 X-Source-Auth: nedson@nedson.net X-Email-Count: 1 X-Source-Cap: bmVkc29ubmU7dHJpY2s7dGVybWluYXRvci53ZWJzaXRld2VsY29tZS5jb20= Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 21:35:05 -0000 > Since you're now building notmuch from source, could you build it with > make clean && make CFLAGS=-g and run it under gdb again to get a > backtrace? I don't understand why strace didn't show it opening any > mail, but with debug symbols the backtrace should hopefully tell us > that. First, thanks for your help! Perhaps I am making progress... Here is what I get: yabai@newb:~$ gdb --args notmuch new GNU gdb (Ubuntu/Linaro 7.2-1ubuntu11) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/local/bin/notmuch...done. (gdb) run Starting program: /usr/local/bin/notmuch new [Thread debugging using libthread_db enabled] GLib-ERROR **: /build/buildd/glib2.0-2.28.6/./glib/gmem.c:239: failed to allocate 2147483648 bytes aborting... Program received signal SIGABRT, Aborted. 0xb7fe1424 in __kernel_vsyscall () (gdb) bt #0 0xb7fe1424 in __kernel_vsyscall () #1 0xb7ce3e71 in raise () from /lib/i386-linux-gnu/libc.so.6 #2 0xb7ce734e in abort () from /lib/i386-linux-gnu/libc.so.6 #3 0xb7e87f27 in g_logv () from /lib/i386-linux-gnu/libglib-2.0.so.0 #4 0xb7e87f62 in g_log () from /lib/i386-linux-gnu/libglib-2.0.so.0 #5 0xb7e85c3c in g_realloc () from /lib/i386-linux-gnu/libglib-2.0.so.0 #6 0xb7e50965 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0 #7 0xb7e50d5d in g_array_append_vals () from /lib/i386-linux-gnu/libglib-2.0.so.0 #8 0xb7e520c0 in g_byte_array_append () from /lib/i386-linux-gnu/libglib-2.0.so.0 #9 0xb7f7fc94 in ?? () from /usr/lib/libgmime-2.4.so.2 #10 0xb7f80fbf in ?? () from /usr/lib/libgmime-2.4.so.2 #11 0xb7f81761 in ?? () from /usr/lib/libgmime-2.4.so.2 #12 0xb7f829ea in g_mime_parser_construct_message () from /usr/lib/libgmime-2.4.so.2 #13 0xb7fc1168 in _notmuch_message_index_file (message=0x13714078, filename=0x80d0600 "/home/yabai/Mail/old.mail") at lib/index.cc:437 #14 0xb7fbef9f in notmuch_database_add_message (notmuch=0x806cd40, filename=0x80d0600 "/home/yabai/Mail/old.mail", message_ret=0xbffff414) at lib/database.cc:1734 #15 0x0804fd0a in add_files_recursive (notmuch=0x806cd40, path=0x806cb58 "/home/yabai/Mail", state=0xbffff634) at notmuch-new.c:459 #16 0x08050273 in add_files (notmuch=0x806cd40, path=0x806cb58 "/home/yabai/Mail", state=0xbffff634) at notmuch-new.c:635 #17 0x08050ba0 in notmuch_new_command (ctx=0x80620e8, argc=0, argv=0xbffff7bc) at notmuch-new.c:897 #18 0x0804d59a in main (argc=2, argv=0xbffff7b4) at notmuch.c:669 (gdb) quit