#221 closed defect (released)
Search::Xapian: QueryParserError and core dump on specific search string
Reported by: | Adam Sjøgren | Owned by: | New Bugs |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | QueryParser | Version: | 1.0.4 |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Operating System: | Linux |
Description
If create a query for:
something other* this AND more
where FLAG_BOOLEAN and FLAG_WILDCARD is turned on, I get an QueryParserError and a core dump.
I will try to attach a minimal script that exhibits the behaviour on my Ubuntu amd64 machine (xapian+Search::Xapian 1.0.4-2 backported from Debian unstable), which outputs:
'something other* this more' [ok] 'other* this AND more' [ok] 'something other this AND more' [ok] 'something other* this more' [ok] 'something other* this AND more' terminate called after throwing an instance of 'Xapian::QueryParserError' Aborted (core dumped)
Attachments (1)
Change History (4)
by , 17 years ago
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The XS wrapper is trying to catch "const char*" which QueryParser::operator() stopped throwing in Xapian 1.0.0. It now throws QueryParserError, so I've fixed the exception handler in the XS wrapper and added a regression test.
comment:3 by , 17 years ago
Operating System: | → Linux |
---|---|
Resolution: | fixed → released |
Minimal test-script that coredumps