--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 024936DE0B4B\r
+ for <notmuch@notmuchmail.org>; Sat, 27 Feb 2016 04:50:27 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.036\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.036 tagged_above=-999 required=5\r
+ tests=[AWL=-0.025, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id xSl8YGdLyIVt for <notmuch@notmuchmail.org>;\r
+ Sat, 27 Feb 2016 04:50:24 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 637D96DE0924\r
+ for <notmuch@notmuchmail.org>; Sat, 27 Feb 2016 04:50:24 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1aZeKq-0006S4-0U; Sat, 27 Feb 2016 07:51:00 -0500\r
+Received: (nullmailer pid 3146 invoked by uid 1000);\r
+ Sat, 27 Feb 2016 12:50:18 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Gaute Hope <eg@gaute.vetsj.com>, notmuch@notmuchmail.org\r
+Subject: Re: how do the different frontends deal with displaying large\r
+ queries?\r
+In-Reply-To: <1456487129-astroid-1-zemv9qfkbh-18628@strange>\r
+References: <1456296267-astroid-0-gqidxpyulu-23762@strange>\r
+ <87ziuqj8xl.fsf@tesseract.cs.unb.ca>\r
+ <1456487129-astroid-1-zemv9qfkbh-18628@strange>\r
+User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 27 Feb 2016 08:50:18 -0400\r
+Message-ID: <877fhq5ncl.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 27 Feb 2016 12:50:27 -0000\r
+\r
+Gaute Hope <eg@gaute.vetsj.com> writes:\r
+\r
+>\r
+> While loading the threads, if I make enough modifications to the\r
+> database while the query is still loading (specifically 1: removing the\r
+> unread tag from a thread, and 2: adding the unread tag to the same thread)\r
+> apparently the query is invalidated in some way, and I get a hard crash\r
+> in `notmuch_tags_get ()`.\r
+>\r
+> The thread in question has alreaday been loaded and is displayed.\r
+>\r
+> Do you deal with this issue in some way?\r
+>\r
+\r
+I think we "deal with" it by not leaving the database open very\r
+long. The query is dumped as s-expr by a seperate process. Or perhaps we\r
+just aren't doing the same level of concurrent operations, I don't know.\r
+\r
+d\r