unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* segfault if notmuch-show query has spurious .. (w/ v0.17)
@ 2014-01-22  2:27 Sanjoy Mahajan
  2014-01-22 12:40 ` David Bremner
  2014-01-25  1:01 ` segfault if notmuch-show query has spurious .. (w/ v0.17) David Bremner
  0 siblings, 2 replies; 14+ messages in thread
From: Sanjoy Mahajan @ 2014-01-22  2:27 UTC (permalink / raw)
  To: notmuch

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

<http://savelongwharfpark.org/>
Save Long Wharf Park in Boston Harbor!

<http://streetfightingmath.com/>
Six reasoning tools to make hard problems easy.

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2014-01-25  1:01 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-22  2:27 segfault if notmuch-show query has spurious .. (w/ v0.17) Sanjoy Mahajan
2014-01-22 12:40 ` David Bremner
2014-01-22 16:42   ` [PATCH] lib: make notmuch_threads_valid return FALSE when passed NULL David Bremner
2014-01-22 17:30     ` Tomi Ollila
2014-01-23 12:23       ` Round 2: fix for notmuch show segfault David Bremner
2014-01-23 12:23         ` [PATCH 1/3] test: add known broken test exit code of notmuch show David Bremner
2014-01-23 12:24         ` [PATCH 2/3] lib: make notmuch_threads_valid return FALSE when passed NULL David Bremner
2014-01-24 21:06           ` Jani Nikula
2014-01-23 12:24         ` [PATCH 3/3] notmuch-show: detect xapian exception in query David Bremner
2014-01-24 21:12           ` Jani Nikula
2014-01-25  0:41             ` David Bremner
2014-01-23 17:50         ` Round 2: fix for notmuch show segfault Mark Walters
2014-01-24 18:43           ` Tomi Ollila
2014-01-25  1:01 ` segfault if notmuch-show query has spurious .. (w/ v0.17) David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).