[PATCH 04/13] test: add 'Emacs' prereq to dependent 'emacs' tests
[notmuch-archives.git] / b7 / 81a216dd789e1b8da8dd83610526560ce40644
1 Return-Path: <Sebastian@SSpaeth.de>\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 84CF44196F3\r
6         for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 06:27:02 -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: -0.001\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5\r
12         tests=[BAYES_20=-0.001] 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 4A-j0NVxpogQ for <notmuch@notmuchmail.org>;\r
16         Fri, 23 Apr 2010 06:26:57 -0700 (PDT)\r
17 Received: from homiemail-a20.g.dreamhost.com (caiajhbdccac.dreamhost.com\r
18         [208.97.132.202])\r
19         by olra.theworths.org (Postfix) with ESMTP id A5FDF4196F2\r
20         for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 06:26:56 -0700 (PDT)\r
21 Received: from sspaeth.de (mtec-hg-docking-1-dhcp-204.ethz.ch\r
22         [129.132.133.204]) (Authenticated sender: sebastian@sspaeth.de)\r
23         by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPA id A81877EC061\r
24         for <notmuch@notmuchmail.org>; Fri, 23 Apr 2010 06:26:54 -0700 (PDT)\r
25 Received: by sspaeth.de (sSMTP sendmail emulation);\r
26         Fri, 23 Apr 2010 15:26:51 +0200\r
27 From: "Sebastian Spaeth" <Sebastian@SSpaeth.de>\r
28 To: Notmuch development list <notmuch@notmuchmail.org>\r
29 Subject: Re: notmuch segfault\r
30 In-Reply-To: <8739ym4mxk.fsf@SSpaeth.de>\r
31 References: <8739ym4mxk.fsf@SSpaeth.de>\r
32 Date: Fri, 23 Apr 2010 15:26:51 +0200\r
33 Message-ID: <87d3xqti3o.fsf@SSpaeth.de>\r
34 MIME-Version: 1.0\r
35 Content-Type: text/plain; charset=us-ascii\r
36 X-BeenThere: notmuch@notmuchmail.org\r
37 X-Mailman-Version: 2.1.13\r
38 Precedence: list\r
39 List-Id: "Use and development of the notmuch mail system."\r
40         <notmuch.notmuchmail.org>\r
41 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
42         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
43 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
44 List-Post: <mailto:notmuch@notmuchmail.org>\r
45 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
46 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
47         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
48 X-List-Received-Date: Fri, 23 Apr 2010 13:27:03 -0000\r
49 \r
50 It happened again. Both times I had pressed "G" which calls offlineimap\r
51 and which removed messages that the notmuch database still thought are there.\r
52 \r
53 ----------------------------------------------------------------\r
54 Program received signal SIGSEGV, Segmentation fault.\r
55 0x00007ffff602bb14 in strncasecmp () from /lib/libc.so.6\r
56 (gdb) bt\r
57 #0  0x00007ffff602bb14 in strncasecmp () from /lib/libc.so.6\r
58 #1  0x0000000000418521 in _thread_add_matched_message(_notmuch_thread*, _notmuch_message*, notmuch_sort_t) ()\r
59 #2  0x0000000000418b17 in _notmuch_thread_create ()\r
60 #3  0x000000000040e33c in notmuch_show_command ()\r
61 #4  0x0000000000408436 in main ()\r
62 \r
63 -------------------------------------------------------------\r
64 spaetz@spaetz-macbook:~/src/notmuch$ notmuch show tag:inbox\r
65 Error opening /home/spaetz/mail/INBOX.Junk/new/1272025029_0.17175.spaetz-macbook,U=3608,FMD5=22888fa7f8daa670f25d806e9b4ae4df:2,: No such file or directory\r
66 Error opening /home/spaetz/mail/INBOX.Junk/new/1272025029_0.17175.spaetz-macbook,U=3608,FMD5=22888fa7f8daa670f25d806e9b4ae4df:2,: No such file or directory\r
67 Error opening /home/spaetz/mail/INBOX.Junk/new/1272025029_0.17175.spaetz-macbook,U=3608,FMD5=22888fa7f8daa670f25d806e9b4ae4df:2,: No such file or directory\r
68 Segmentation fault (core dumped)\r
69 \r
70 ----------------------------------------------------------\r
71 Coredump is here:\r
72 http://sspaeth.de/uploads/tmp/core.bin\r
73 -------------------------------------------------------------\r
74 \r
75 \r
76 Can it be that in thread.cc in _thread_add_matched_message ()\r
77 ...\r
78     subject = notmuch_message_get_header (message, "subject");\r
79 \r
80     if ((strncasecmp (subject, "Re: ", 4) == 0) ||\r
81 ...\r
82 \r
83 If the underlying message disappeared, get_header will return NULL and\r
84 we pass strncasecmp NULL as first parameter. Could that be?\r
85 \r