From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 094836DE0151 for ; Thu, 15 Nov 2018 13:13:24 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.128 X-Spam-Level: X-Spam-Status: No, score=0.128 tagged_above=-999 required=5 tests=[AWL=-0.021, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, 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 fdii3tHOoDo8 for ; Thu, 15 Nov 2018 13:13:21 -0800 (PST) Received: from mail-ed1-f50.google.com (mail-ed1-f50.google.com [209.85.208.50]) by arlo.cworth.org (Postfix) with ESMTPS id 27F3C6DE0140 for ; Thu, 15 Nov 2018 13:13:21 -0800 (PST) Received: by mail-ed1-f50.google.com with SMTP id d39so14627570edb.12 for ; Thu, 15 Nov 2018 13:13:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=0vQpBsXPiYx6PW/1FzdwrG2oqnjTBUP1LPNKAfX+8lo=; b=HKi60xIqs9WfWaIb7s6wgJzTBI0jndYu/cI+9j+YlJL0yP6OTxQs2x3m3SAOtbLyHz Fhu+na62bDDc46370LnaWXKC688vWuG7s7weXatLU/Ih0DkR6RdKYvtUVK2qEy6w0zrs oy7TJX3EJFE1EWP2+BVZuQauV/JhU5pbG7mc3gKYg/8D8u/L+GMPO8Kfn0BO2W0heL4K e04jKRva6wmPLOQ4TXfAQAJQXuNCeTEJd3g6MywdU7PnCXaBAlEGgK8n+oTdrub+/TAr DcDkRiyRk4EReHqC6UPA31mj8cKYF/qYJ1H5lAnSxKpKkNRu+I7Lhf8dP8W1Y6LN3fMZ VflA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding; bh=0vQpBsXPiYx6PW/1FzdwrG2oqnjTBUP1LPNKAfX+8lo=; b=P5qMFbFzs5CfES1HtzuuoWQ5CQcidpAXk8Jwmc6WkvmD+YGr3wF/5yCekYlDXrEJuM 0E+iFdU4zo2cEWGUivhcHmOOoAGsmwe4577VNypjbegZoZqXWz6v3MUT/sgTgDZRJQN4 xXX1Y9hWiwAXJ7w1pXdj6K8fdbfvppkX+gIft8VOxPs3PIoQeau6cpFXN+HgmEpBE13r tM8JPeexeQf6hANVVe/SWt3it/BFazsPSHR3KkhJINAomk6dy7lpAv7pp221lJLMXS2A oWWvpY4uwVT18Nl2Bj987wiHvcrlCPOxof06YYhoWjmDiYUzr5z+Ynu68cC5N0C/Tffx xzeA== X-Gm-Message-State: AGRZ1gLaQ58yT4CRO5q0YcUjf3INnTLlpL0JjHoDfGpzcm0zBfvyG2Z5 1KYcLZAdZfFcHLImxT1696c= X-Google-Smtp-Source: AJdET5fYa6lSKN2WTxRl+tiNQxM/TpwR54C7xSWZhUhX/VGaW5pd5YxdKJpqhHQPMGE0DVPaYFhn9w== X-Received: by 2002:a50:e045:: with SMTP id g5mr2107207edl.152.1542316399065; Thu, 15 Nov 2018 13:13:19 -0800 (PST) Received: from powell.devork.be (212-51-146-180.fiber7.init7.net. [212.51.146.180]) by smtp.gmail.com with ESMTPSA id i10-v6sm4491093ejh.71.2018.11.15.13.13.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Nov 2018 13:13:18 -0800 (PST) Sender: Floris Bruynooghe Received: (nullmailer pid 13253 invoked by uid 1000); Thu, 15 Nov 2018 21:13:17 -0000 From: Floris Bruynooghe To: David Bremner , David =?utf-8?B?xIxlcGVsw61r?= , notmuch@notmuchmail.org Subject: Re: segfault using python bindings In-Reply-To: <87lg5z74l3.fsf@tethera.net> References: <154177495352.5588.12072713055654441286@x1.localdomain> <87lg5z74l3.fsf@tethera.net> Date: Thu, 15 Nov 2018 22:13:17 +0100 Message-ID: <87o9aqhwnm.fsf@powell.devork.be> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 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: Thu, 15 Nov 2018 21:13:24 -0000 Hi, On Sun 11 Nov 2018 at 16:16 -0400, David Bremner wrote: > David =C4=8Cepel=C3=ADk writes: > >> Hello Notmuch devs, >> >> I'm facing an issue trying to use the Python bindings. This trivial >> piece of code segfaults: >> >> import notmuch > > I don't remember the details [1], but there are known conflicts between > recent versions of python3 and the way the notmuch python bindings > manage memory. So it could be that. There was also an initiative to > rewrite at (python3 only?) version of the bindings that did not have > this problem. I haven't heard much about that recently. These are at https://github.com/flub/notmuch/tree/cffi/bindings/python-cffi I'm not really convinced of the way forward last time it was discussed on how to get them merged into notmuch itself so have failed to put in the not insignificant effort. I've since wondered if just getting them standalone on pypi is perhaps a useful service in the mean time as it's relatively little effort. And if there eventually is a desire again to get them merged in some way that could still be done. Cheers, Floris