From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1CBE9431FBD for ; Tue, 21 Jan 2014 18:33:25 -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 nflttG2lkWvr for ; Tue, 21 Jan 2014 18:33:20 -0800 (PST) X-Greylist: delayed 324 seconds by postgrey-1.32 at olra; Tue, 21 Jan 2014 18:33:20 PST Received: from EXCAS01.olin.edu (smtp.olin.edu [208.91.53.40]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id A6770431FAF for ; Tue, 21 Jan 2014 18:33:20 -0800 (PST) Received: from approx.mit.edu (71.126.235.4) by smtps.olin.edu (10.1.15.25) with Microsoft SMTP Server (TLS) id 8.3.342.0; Tue, 21 Jan 2014 21:27:55 -0500 Received: from sanjoy by approx.mit.edu with local (Exim 4.82) (envelope-from ) id 1W5nXk-0007TY-JY for notmuch@notmuchmail.org; Tue, 21 Jan 2014 21:27:52 -0500 From: Sanjoy Mahajan To: Subject: segfault if notmuch-show query has spurious .. (w/ v0.17) User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (i486-pc-linux-gnu) Date: Tue, 21 Jan 2014 21:27:52 -0500 Message-ID: <871u00oimv.fsf@approx.mit.edu> 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: Wed, 22 Jan 2014 02:33:25 -0000 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 Restarting Emacs stopped those queries, so I don't think that's an issue. However, notmuch itself probably should not segfault, even if Xapian gets confused by the .. in the query (making it look like a date range). This is on Debian/i386 with the notmuch 0.17-3 packages. -- -Sanjoy Save Long Wharf Park in Boston Harbor! Six reasoning tools to make hard problems easy.