Re: Crash with Python bindings
[notmuch-archives.git] / b3 / bbfdce387ed74fb2710484a77b7519edbcbd16
diff --git a/b3/bbfdce387ed74fb2710484a77b7519edbcbd16 b/b3/bbfdce387ed74fb2710484a77b7519edbcbd16
new file mode 100644 (file)
index 0000000..5c9b3be
--- /dev/null
@@ -0,0 +1,70 @@
+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 84D566DE020B\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 05:11:43 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.309\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.309 tagged_above=-999 required=5 tests=[AWL=0.242,\r
+  RP_MATCHES_RCVD=-0.55, 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 heMBEkIxRbtI for <notmuch@notmuchmail.org>;\r
+ Tue, 12 Jan 2016 05:11:41 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 6E52C6DE01D3\r
+ for <notmuch@notmuchmail.org>; Tue, 12 Jan 2016 05:11:41 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1aIyjQ-0007Md-Hn; Tue, 12 Jan 2016 08:11:28 -0500\r
+Received: (nullmailer pid 13820 invoked by uid 1000);\r
+ Tue, 12 Jan 2016 13:11:36 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Konrad Hinsen <konrad.hinsen@fastmail.net>, notmuch@notmuchmail.org\r
+Subject: Re: Crash with Python bindings\r
+In-Reply-To: <5694CA65.8010400@fastmail.net>\r
+References: <5694CA65.8010400@fastmail.net>\r
+User-Agent: Notmuch/0.21+26~g9404723 (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Tue, 12 Jan 2016 09:11:36 -0400\r
+Message-ID: <87bn8r54dz.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: Tue, 12 Jan 2016 13:11:43 -0000\r
+\r
+Konrad Hinsen <konrad.hinsen@fastmail.net> writes:\r
+\r
+> Hi everyone,\r
+>\r
+> I have been writing quite a few Python scripts for notmuch before \r
+> running into a strange bug. Here is a minimal script producing it:\r
+>\r
+> --------------------------------------------------\r
+> from notmuch import Query, Database\r
+>\r
+> def foo(bar):\r
+>      pass\r
+>\r
+> db = Database()\r
+> q = Query(db, "*")\r
+> db.close()\r
+\r
+Do you really call the constructor without a path? Or are you censoring\r
+the script for some reason?\r
+\r
+d\r