notmuch setup: segfault in prompt macro
[notmuch-archives.git] / 60 / cdbc764e41b106b9ec187721a7418cf966c467
1 Return-Path: <pioto@pioto.org>\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 5FF7940D144\r
6         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 06:43:55 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -1.9\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5\r
12         tests=[BAYES_00=-1.9] autolearn=ham\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 jpxqpNxsiT1s for <notmuch@notmuchmail.org>;\r
16         Wed, 13 Oct 2010 06:43:45 -0700 (PDT)\r
17 Received: from everglades.pioto.org (mail.pioto.org [207.192.71.235])\r
18         by olra.theworths.org (Postfix) with ESMTP id 2A16140D141\r
19         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 06:43:45 -0700 (PDT)\r
20 Received: from pioto.org (pit84.pair.com [216.92.130.84])\r
21         (Authenticated sender: pioto)\r
22         by everglades.pioto.org (Postfix) with ESMTPSA id C392E1601D1\r
23         for <notmuch@notmuchmail.org>; Wed, 13 Oct 2010 09:43:44 -0400 (EDT)\r
24 Date: Wed, 13 Oct 2010 09:43:40 -0400\r
25 From: Mike Kelly <pioto@pioto.org>\r
26 To: notmuch@notmuchmail.org\r
27 Subject: notmuch setup: segfault in prompt macro\r
28 Message-ID: <20101013094340.41580a2f@pioto.org>\r
29 X-Mailer: Claws Mail 3.7.6 (GTK+ 2.18.7; i386-portbld-freebsd8.0)\r
30 Mime-Version: 1.0\r
31 Content-Type: text/plain; charset=US-ASCII\r
32 Content-Transfer-Encoding: 7bit\r
33 X-BeenThere: notmuch@notmuchmail.org\r
34 X-Mailman-Version: 2.1.13\r
35 Precedence: list\r
36 List-Id: "Use and development of the notmuch mail system."\r
37         <notmuch.notmuchmail.org>\r
38 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
39         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
40 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
41 List-Post: <mailto:notmuch@notmuchmail.org>\r
42 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
43 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
44         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
45 X-List-Received-Date: Wed, 13 Oct 2010 13:43:55 -0000\r
46 \r
47 Hi,\r
48 \r
49 While testing Michal Sojka's latest patches, I tried running notmuch\r
50 setup, only to find that it segfaults. It does this on a vanilla\r
51 branch, too, though:\r
52 \r
53   #0  0x286e3ba5 in memcpy () from /lib/libc.so.7\r
54   No symbol table info available.\r
55   #1  0x28620f6b in getline () from /lib/libc.so.7\r
56   No symbol table info available.\r
57   #2  0x2862113b in getdelim () from /lib/libc.so.7\r
58   No symbol table info available.\r
59   #3  0x28620f03 in getline () from /lib/libc.so.7\r
60   No symbol table info available.\r
61   #4  0x08053c1c in notmuch_setup_command (ctx=0x288090a0, argc=0, argv=0xbfbfe320) at notmuch-setup.c:121\r
62           response = 0x0\r
63           response_size = 671820800\r
64           config = (notmuch_config_t *) 0x2881e490\r
65           old_other_emails = (char **) 0xbfbfe324\r
66           old_other_emails_len = 0\r
67           other_emails = (GPtrArray *) 0xbfbfe2d8\r
68           i = 671549033\r
69           is_new = 0\r
70           new_tags = (const char **) 0x280ae000\r
71           new_tags_len = 3217023608\r
72   #5  0x0804ec46 in main (argc=2, argv=0xbfbfe318) at notmuch.c:499\r
73           local = (void *) 0x288090a0\r
74           command = (command_t *) 0x806fd00\r
75           i = 0\r
76 \r
77 -- \r
78 Mike Kelly\r