Re: [PATCH] emacs: wash: make word-wrap bound message width
[notmuch-archives.git] / 7c / 11c5540a70ed733306a10684edeecc8c9bef16
1 Return-Path: <eg@gaute.vetsj.com>\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 arlo.cworth.org (Postfix) with ESMTP id D21946DE180F\r
6  for <notmuch@notmuchmail.org>; Mon, 18 Jan 2016 04:45:18 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.474\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.474 tagged_above=-999 required=5 tests=[AWL=0.227,\r
12   DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7,\r
13  RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id u9s4eK6XP4gY for <notmuch@notmuchmail.org>;\r
17  Mon, 18 Jan 2016 04:45:16 -0800 (PST)\r
18 Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com\r
19  [209.85.217.176])\r
20  by arlo.cworth.org (Postfix) with ESMTPS id 641E26DE17FD\r
21  for <notmuch@notmuchmail.org>; Mon, 18 Jan 2016 04:45:16 -0800 (PST)\r
22 Received: by mail-lb0-f176.google.com with SMTP id oh2so346791488lbb.3\r
23  for <notmuch@notmuchmail.org>; Mon, 18 Jan 2016 04:45:16 -0800 (PST)\r
24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
25  d=gaute-vetsj-com.20150623.gappssmtp.com; s=20150623;\r
26  h=date:from:subject:to:references:in-reply-to:user-agent:message-id\r
27  :mime-version:content-type:content-transfer-encoding;\r
28  bh=5RIPm81YJN5IkfS93qM2SKR2k6BhzT8aviQQtD1TUI4=;\r
29  b=X+tbsk40GV6VJ+aPEm4HOvPIBEKJU+NkSYQdPXHTVRaeep7ieBa0KzqrsmHz48kMt1\r
30  vBWYmtjHWG1wxx6jVaPGCjO/RyA7APYC1sfhxabzTy+rVx1NME1adDAZlYJw1eS+plug\r
31  K61+yL/Lb09Y5b8LudCf2bEx+DEjcT4BSj4vGizhPHvWVL3nljnf4+3Oo3tCcKnHjxon\r
32  Jl+WiA1OMKAY9xYM9SA4BH1R9z8YIMScRJjoudYFx/4RQaYCtYZrNtcrTtxWJQId6S3E\r
33  chP7JPzAL4O48dU7AQpdIbYL/nFjL7VeCpT2PYEgMuzD5rry1xonho68LEJRxIT9IrRM\r
34  mmrQ==\r
35 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
36  d=1e100.net; s=20130820;\r
37  h=x-gm-message-state:date:from:subject:to:references:in-reply-to\r
38  :user-agent:message-id:mime-version:content-type\r
39  :content-transfer-encoding;\r
40  bh=5RIPm81YJN5IkfS93qM2SKR2k6BhzT8aviQQtD1TUI4=;\r
41  b=f0wLqCVnW9Q/Y55f3uKE6m2uGTG3ZTBE1JlNZXnv+K0m+xdny78z+bxvbfxvuFxfyA\r
42  UxPkojioyKWP/KcU338ws6zHQQ+PqdDa7nlRUccWkrYlGWfJOQYeL36chyZVhdq2Qg3Z\r
43  2x18Mo0dsCjNDE/gzGSky6zSsyWc/xWyXr66YdeZbmpjUjcsBsLUmH/bzllyXzSkT4cZ\r
44  CXfTnAP2z0vdDwG3bYf8o+HNiaBpLg2ZHOIb2ldVIdymduDMmZWR8S84vHiHUYoDjsGC\r
45  iKjf+u1EGbMDKu1AP/AH3Qeu8BNEZbKFHipFo6WaRxssykxeVjOj6+XC0rCsJeh1lwnO\r
46  FvXA==\r
47 X-Gm-Message-State: ALoCoQnR6/qwHjWqKJIlL9P/fkNBkdj3XqVnW74gkR6maYxEiAbS1ZXqER8YwFNuNHKhPH0abpfi4/Y8x9105A4uxsF6G31cbg==\r
48 X-Received: by 10.112.14.102 with SMTP id o6mr8090856lbc.87.1453121114129;\r
49  Mon, 18 Jan 2016 04:45:14 -0800 (PST)\r
50 Received: from localhost ([128.39.46.106])\r
51  by smtp.gmail.com with ESMTPSA id nv8sm3159577lbb.7.2016.01.18.04.45.13\r
52  (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);\r
53  Mon, 18 Jan 2016 04:45:13 -0800 (PST)\r
54 Date: Mon, 18 Jan 2016 12:45:12 +0000\r
55 From: Gaute Hope <eg@gaute.vetsj.com>\r
56 Subject: Re: talloc_abort in notmuch_thread_get_tags () when db has been\r
57  modified\r
58 To: David Bremner <david@tethera.net>, notmuch@notmuchmail.org\r
59 References: \r
60 In-Reply-To: \r
61 User-Agent: astroid/vv0.4-213-g53abb3e2 (https://github.com/gauteh/astroid)\r
62 Message-Id: <1453121100-astroid-2-c62fwcrm91-18877@strange>\r
63 MIME-Version: 1.0\r
64 Content-Type: text/plain; charset=utf-8; format=flowed\r
65 Content-Transfer-Encoding: quoted-printable\r
66 X-BeenThere: notmuch@notmuchmail.org\r
67 X-Mailman-Version: 2.1.20\r
68 Precedence: list\r
69 List-Id: "Use and development of the notmuch mail system."\r
70  <notmuch.notmuchmail.org>\r
71 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
72  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
73 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
74 List-Post: <mailto:notmuch@notmuchmail.org>\r
75 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
76 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
77  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
78 X-List-Received-Date: Mon, 18 Jan 2016 12:45:19 -0000\r
79 \r
80 David Bremner writes on January 18, 2016 13:25:\r
81 > The most likely cause of such a crash looks to me like nm_thread is NULL\r
82 > or corrupted when passed in to get_tags. It's used without checking as a\r
83 > talloc context, and that call to talloc never returns.\r
84 >\r
85 \r
86 Ok, I'll check some further. I am checking whether nm_thread is NULL\r
87 though, the preceding code is as follows\r
88 (astroid/src/modes/thread_index/thread_index.cc:258):\r
89 \r
90 ```\r
91     for (;\r
92          notmuch_threads_valid (threads);\r
93          notmuch_threads_move_to_next (threads)) {\r
94 \r
95       notmuch_thread_t  * thread;\r
96       thread =3D notmuch_threads_get (threads);\r
97 \r
98       if (thread =3D=3D NULL) {\r
99         log << error << "ti: error: could not get thread." << endl;\r
100         throw database_error ("ti: could not get thread (is NULL)");\r
101       }\r
102 \r
103       /* test for revision discarded */\r
104       const char * ti =3D notmuch_thread_get_thread_id (thread);\r
105       if (ti =3D=3D NULL) {\r
106         log << error << "ti: revision discarded, trying to reopen." << endl=\r
107 ;\r
108         reopen_tries++;\r
109         refresh (all, current_thread + count, false);\r
110         return;\r
111       }\r
112 \r
113 \r
114       NotmuchThread *t =3D new NotmuchThread (thread); // get_tags is insid=\r
115 e here\r
116 \r
117       notmuch_thread_destroy (thread);\r
118 \r
119 ```\r
120 \r
121 (note that there is a bit of code there trying to determine whether the\r
122 db is still valid, or needs to be re-opened)\r
123 \r
124 - g\r
125 =\r