[Xapian-tickets] [Xapian] #796: Segmentation fault

Xapian nobody at xapian.org
Fri Oct 25 20:09:09 BST 2019


#796: Segmentation fault
----------------------+---------------------------
 Reporter:  zangetsu  |             Owner:  olly
     Type:  defect    |            Status:  closed
 Priority:  normal    |         Milestone:  1.4.14
Component:  Matcher   |           Version:  1.4.13
 Severity:  normal    |        Resolution:  fixed
 Keywords:            |        Blocked By:
 Blocking:            |  Operating System:  All
----------------------+---------------------------

Comment (by olly):

 OK, both those examples fit the pattern of bug I fixed.  Since 1.4.13,
 those get internally handled as:

 {{{intersect (AND-ed terms) -> exclude (OR of NOT-ed terms) -> phrase
 check}}}

 But that means the `phrase check` now needs to handle pruning (which
 happens if the NOT-ed terms run out before the AND-ed terms, to short-cut
 the now redundant `exclude` check).

 (And for posterity, the code on master doesn't have this bug.)

--
Ticket URL: <https://trac.xapian.org/ticket/796#comment:6>
Xapian <https://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list