--- /dev/null
+Return-Path: <konrad.hinsen@fastmail.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 719206DE021E\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 06:23:50 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.719\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.719 tagged_above=-999 required=5 tests=[AWL=0.101,\r
+ DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001,\r
+ RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01,\r
+ SPF_PASS=-0.001] 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 m7ZEpyqAL5OD for <notmuch@notmuchmail.org>;\r
+ Tue, 12 Jan 2016 06:23:48 -0800 (PST)\r
+Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com\r
+ [66.111.4.28])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 374E96DE00DD\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 06:23:48 -0800 (PST)\r
+Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])\r
+ by mailout.nyi.internal (Postfix) with ESMTP id 6050F20DA4\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 09:23:47 -0500 (EST)\r
+Received: from frontend1 ([10.202.2.160])\r
+ by compute2.internal (MEProxy); Tue, 12 Jan 2016 09:23:47 -0500\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.net; h=\r
+ content-type:date:from:in-reply-to:message-id:mime-version\r
+ :references:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=/FNA3\r
+ O6BCdyPdby9PXqMK1VYZI0=; b=UiWhkOMKsBEJaoMjt6SaLVifykQ5PxP/5FQrS\r
+ O7f2/492fE73bAZAA9cY/5d4jMsSDQ0YzBsL7kirZTNREYWn9+ttxrnlYU/N229j\r
+ BwbxPRwJZ24E6y37mcTu4GtXAJLFin+yl80AeZSmew462WhsMx2hQqehLrsPCoYj\r
+ yn4wxg=\r
+DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=\r
+ messagingengine.com; h=content-type:date:from:in-reply-to\r
+ :message-id:mime-version:references:subject:to:x-sasl-enc\r
+ :x-sasl-enc; s=smtpout; bh=/FNA3O6BCdyPdby9PXqMK1VYZI0=; b=s3ocO\r
+ qOt2VZD1caLU88Zcja4gqSKA7ktVBCn7IoWEwvF7WKUQZg/Qp6+A9mtyOy4SolZz\r
+ xHlDoMvVDVs/5jpglksJlvNj9Fb/cbgEmVYGDXyUju/TL80MusPwR5+q0TrKwgaz\r
+ 7f5n98eH7EIuF29ZJHzRm9k5BGDIhij0TAOZos=\r
+X-Sasl-enc: x5ea6NiMERowxxEpzdIrJClcjDmDBZ/gXuO0jJTdmkbW 1452608626\r
+Received: from Konrad-Hinsens-MacBook-Pro-2.local\r
+ (soleil-ext.synchrotron-soleil.fr [195.221.0.206])\r
+ by mail.messagingengine.com (Postfix) with ESMTPA id A75D3C016D5;\r
+ Tue, 12 Jan 2016 09:23:46 -0500 (EST)\r
+From: Konrad Hinsen <konrad.hinsen@fastmail.net>\r
+To: notmuch@notmuchmail.org\r
+Subject: Re: Crash with Python bindings\r
+In-Reply-To: <20160112102329.4269.20741@thinkbox.jade-hamburg.de>\r
+References: <5694CA65.8010400@fastmail.net>\r
+ <20160112102329.4269.20741@thinkbox.jade-hamburg.de>\r
+User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-apple-darwin13.4.0)\r
+Date: Tue, 12 Jan 2016 15:23:46 +0100\r
+Message-ID: <m1y4budggd.fsf@fastmail.net>\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: Tue, 12 Jan 2016 14:23:50 -0000\r
+\r
+Hi Justus,\r
+\r
+> So I guess what happens is that Python3 changed how the interpreter\r
+> environment is torn down and they actually destroy the 'q' object. If\r
+> that is so, then your data is indeed safe.\r
+\r
+That reminds me of a recent change in object finalization in Python 3:\r
+\r
+ https://www.python.org/dev/peps/pep-0442/\r
+\r
+I'll look into that, thanks for the gdb exploration!\r
+\r
+Cheers,\r
+ Konrad.\r