From 96db2e43885dc7d931d25fc113540aa2dd854c0c Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 25 Jan 2014 21:01:08 +2000 Subject: [PATCH] Re: segfault if notmuch-show query has spurious .. (w/ v0.17) --- 72/f815d0ea7c4258e9d7bb3826f4ac5b87933697 | 66 +++++++++++++++++++++++ 1 file changed, 66 insertions(+) create mode 100644 72/f815d0ea7c4258e9d7bb3826f4ac5b87933697 diff --git a/72/f815d0ea7c4258e9d7bb3826f4ac5b87933697 b/72/f815d0ea7c4258e9d7bb3826f4ac5b87933697 new file mode 100644 index 000000000..e68c49113 --- /dev/null +++ b/72/f815d0ea7c4258e9d7bb3826f4ac5b87933697 @@ -0,0 +1,66 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 22776431FBC + for ; Fri, 24 Jan 2014 17:01:21 -0800 (PST) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id eV6aHGGSnjxV for ; + Fri, 24 Jan 2014 17:01:13 -0800 (PST) +Received: from yantan.tethera.net (yantan.tethera.net [199.188.72.155]) + (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 7930F431FB6 + for ; Fri, 24 Jan 2014 17:01:13 -0800 (PST) +Received: from remotemail by yantan.tethera.net with local (Exim 4.80) + (envelope-from ) + id 1W6rcV-0006zH-JG; Fri, 24 Jan 2014 21:01:11 -0400 +Received: (nullmailer pid 10531 invoked by uid 1000); Sat, 25 Jan 2014 + 01:01:08 -0000 +From: David Bremner +To: Sanjoy Mahajan , notmuch@notmuchmail.org +Subject: Re: segfault if notmuch-show query has spurious .. (w/ v0.17) +In-Reply-To: <871u00oimv.fsf@approx.mit.edu> +References: <871u00oimv.fsf@approx.mit.edu> +User-Agent: Notmuch/0.17+35~g3b36898 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Fri, 24 Jan 2014 21:01:08 -0400 +Message-ID: <87txcsoox7.fsf@zancas.localnet> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Sat, 25 Jan 2014 01:01:21 -0000 + +Sanjoy Mahajan writes: + +> Probably because I kept using notmuch-emacs .elc code from 0.16 after +> notmuch got upgraded to 0.17 (I rarely restart emacs), my Emacs +> interface to notmuch started generating queries that caused Xapian +> exceptions and segfaults. Here's one: +> +> $ notmuch show '( FW: Student Employment Orie.. )' +> A Xapian exception occurred performing query: Unknown range operation +> Query string was: ( FW: Student Employment Orie.. ) +> Segmentation fault + +this should be fixed in git master (and in the next release of notmuch). + +d -- 2.26.2