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