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 5FF7940D144 for ; Wed, 13 Oct 2010 06:43:55 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 jpxqpNxsiT1s for ; Wed, 13 Oct 2010 06:43:45 -0700 (PDT) Received: from everglades.pioto.org (mail.pioto.org [207.192.71.235]) by olra.theworths.org (Postfix) with ESMTP id 2A16140D141 for ; Wed, 13 Oct 2010 06:43:45 -0700 (PDT) Received: from pioto.org (pit84.pair.com [216.92.130.84]) (Authenticated sender: pioto) by everglades.pioto.org (Postfix) with ESMTPSA id C392E1601D1 for ; Wed, 13 Oct 2010 09:43:44 -0400 (EDT) Date: Wed, 13 Oct 2010 09:43:40 -0400 From: Mike Kelly To: notmuch@notmuchmail.org Subject: notmuch setup: segfault in prompt macro Message-ID: <20101013094340.41580a2f@pioto.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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: Wed, 13 Oct 2010 13:43:55 -0000 Hi, While testing Michal Sojka's latest patches, I tried running notmuch setup, only to find that it segfaults. It does this on a vanilla branch, too, though: #0 0x286e3ba5 in memcpy () from /lib/libc.so.7 No symbol table info available. #1 0x28620f6b in getline () from /lib/libc.so.7 No symbol table info available. #2 0x2862113b in getdelim () from /lib/libc.so.7 No symbol table info available. #3 0x28620f03 in getline () from /lib/libc.so.7 No symbol table info available. #4 0x08053c1c in notmuch_setup_command (ctx=0x288090a0, argc=0, argv=0xbfbfe320) at notmuch-setup.c:121 response = 0x0 response_size = 671820800 config = (notmuch_config_t *) 0x2881e490 old_other_emails = (char **) 0xbfbfe324 old_other_emails_len = 0 other_emails = (GPtrArray *) 0xbfbfe2d8 i = 671549033 is_new = 0 new_tags = (const char **) 0x280ae000 new_tags_len = 3217023608 #5 0x0804ec46 in main (argc=2, argv=0xbfbfe318) at notmuch.c:499 local = (void *) 0x288090a0 command = (command_t *) 0x806fd00 i = 0 -- Mike Kelly