Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / c9 / dc2ec978a650e1a9b9c0abcff833f8148b3ff7
1 Return-Path: <jeff@ocjtech.us>\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 E7460431FBC\r
6         for <notmuch@notmuchmail.org>; Thu, 19 Nov 2009 18:23:17 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 Received: from olra.theworths.org ([127.0.0.1])\r
9         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
10         with ESMTP id cAwZbeAWudvm for <notmuch@notmuchmail.org>;\r
11         Thu, 19 Nov 2009 18:23:17 -0800 (PST)\r
12 Received: from mail-yw0-f173.google.com (mail-yw0-f173.google.com\r
13         [209.85.211.173])\r
14         by olra.theworths.org (Postfix) with ESMTP id 7A5C2431FAE\r
15         for <notmuch@notmuchmail.org>; Thu, 19 Nov 2009 18:23:17 -0800 (PST)\r
16 Received: by ywh3 with SMTP id 3so2990218ywh.22\r
17         for <notmuch@notmuchmail.org>; Thu, 19 Nov 2009 18:23:16 -0800 (PST)\r
18 MIME-Version: 1.0\r
19 Received: by 10.91.162.31 with SMTP id p31mr1265194ago.121.1258683795742; Thu,\r
20         19 Nov 2009 18:23:15 -0800 (PST)\r
21 In-Reply-To: <20091119164543.25e7afe5@hikari>\r
22 References: <935ead450911181000w2cddfe95qe9efd5bea9f9209d@mail.gmail.com>\r
23         <20091119164543.25e7afe5@hikari>\r
24 Date: Thu, 19 Nov 2009 20:23:15 -0600\r
25 Message-ID: <935ead450911191823s776fda6eyb6f6949ac982bd03@mail.gmail.com>\r
26 From: Jeffrey Ollie <jeff@ocjtech.us>\r
27 To: Not Much Mail <notmuch@notmuchmail.org>\r
28 Content-Type: multipart/mixed; boundary=0016e640867c879f2e0478c42866\r
29 Subject: Re: [notmuch] Segfault searching for tags\r
30 X-BeenThere: notmuch@notmuchmail.org\r
31 X-Mailman-Version: 2.1.12\r
32 Precedence: list\r
33 List-Id: "Use and development of the notmuch mail system."\r
34         <notmuch.notmuchmail.org>\r
35 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
36         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
38 List-Post: <mailto:notmuch@notmuchmail.org>\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
40 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
41         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
42 X-List-Received-Date: Fri, 20 Nov 2009 02:23:18 -0000\r
43 \r
44 --0016e640867c879f2e0478c42866\r
45 Content-Type: text/plain; charset=UTF-8\r
46 Content-Transfer-Encoding: quoted-printable\r
47 \r
48 On Thu, Nov 19, 2009 at 9:45 AM, Adrian Perez de Castro\r
49 <aperez@igalia.com> wrote:\r
50 > On Wed, 18 Nov 2009 12:00:10 -0600, Jeffrey wrote:\r
51 >\r
52 >> Getting the following segfault with 306635c2 on Fedora 12. =C2=A0Seems t=\r
53 o\r
54 >> be happening with any 'tag:' search that returns results. =C2=A0For\r
55 >> example, 'notmuch search tag:inbox' and 'notmuch search tag:unread'\r
56 >> segfault but 'notmuch search tag:nosuchtag', 'notmuch search\r
57 >> subject:logwatch' and 'notmuch search video' seem to work fine.\r
58 >>\r
59 >> Core was generated by `/usr/bin/notmuch search --sort=3Doldest-first tag=\r
60 :inbox'.\r
61 >> Program terminated with signal 11, Segmentation fault.\r
62 >> \#0 =C2=A0Xapian::TermIterator::operator* (this=3D<value optimized out>)\r
63 >> =C2=A0 =C2=A0 at api/omtermlistiterator.cc:78\r
64 >> 78 =C2=A0 =C2=A0 =C2=A0 =C2=A0RETURN(internal->get_termname());\r
65 >> Current language: =C2=A0auto\r
66 >> The current source language is "auto; currently c++".\r
67 >\r
68 > I have hit what I believe is exactly the same problem. In my case, some\r
69 > results are printed when I execute "notmuch search tag:inbox", and then\r
70 > the program crashes in the same exact place.\r
71 >\r
72 > The thing is that in notmuch_message_get_in_reply_to(), line 288, a NULL\r
73 > instance of Xapian::TermIterator is dereferenced. In my particular case,\r
74 > the culpript is a cache file of Claws-Mail, as seen in the following GDB\r
75 > session:\r
76 > [...]\r
77 > As you can see, there "filename" points to a Claws-Mail cache file, which\r
78 > is a binary file (I can provide a copy if needed). I suspect that this is\r
79 > related to the fact that the iterator ends up being NULL somehow.\r
80 \r
81 I straced some of the crashes, and the last file that was read before\r
82 the crash was a malformed message.  I've attached one of the messages.\r
83  I've been using offlineimap to sync my gmail mailbox to my laptop so\r
84 that I can use notmuch.  offlineimap isn't the most stable program,\r
85 but I'm not sure yet if offlineimap is causing the problem or if\r
86 that's the way the message is in gmail.\r
87 \r
88 --=20\r
89 Jeff Ollie\r
90 \r
91 --0016e640867c879f2e0478c42866\r
92 Content-Type: text/plain; charset=US-ASCII; name="message.txt"\r
93 Content-Disposition: attachment; filename="message.txt"\r
94 Content-Transfer-Encoding: base64\r
95 X-Attachment-Id: f_g28bmh331\r
96 \r
97 RGVsaXZlcmVkLVRvOiBqZWZmQG9sbGllLmNsaXZlLmlhLnVzClJlY2VpdmVkOiBieSAxMC45MC44\r
98 Ni4xOCB3aXRoIFNNVFAgaWQgajE4Y3MyMjg1NTZhZ2I7CiAgICAgICAgVGh1LCA1IE5vdiAyMDA5\r
99 IDIyOjIzOjUwIC0wODAwIChQU1QpClJlY2VpdmVkOiBieSAxMC45MC4xNi4zOCB3aXRoIFNNVFAg\r
100 aWQgMzhtcjc0NjgyOTBhZ3AuMTEyLjEyNTc0ODg2MjAzNzQ7CiAgICAgICAgVGh1LCAwNSBOb3Yg\r
101 MjAwOSAyMjoyMzo0MCAtMDgwMCAoUFNUKQpSZXR1cm4tUGF0aDogPHhodXR0ZWVzampAeWFob28u\r
102 Y29tLmF1PgpSZWNlaX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