Skip Menu |

This queue is for tickets about the KinoSearch CPAN distribution.

Report information
The Basics
Id: 25827
Status: resolved
Priority: 0/
Queue: KinoSearch

People
Owner: CREAMYG [...] cpan.org
Requestors: DMITRI [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.15
Fixed in: 0.16



Subject: Searching by non-existent index results in segfault.
After applying patch from ticket 25826, searching by a non-existent field name results in a segmentation fault: Parameter error: odd number of args at /usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Search/PhraseQuery.pm line 116 at /usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Search/PhraseScorer.pm line 22 KinoSearch::Search::PhraseScorer::new('KinoSearch::Search::PhraseScorer', 'weight', 'KinoSearch::Search::PhraseWeight=HASH(0x9ce2b08)', 'slop', 0, 'similarity', 'KinoSearch::Search::Similarity=SCALAR(0x9ccf5f4)', 'norms_reader', 'term_docs', ...) called at /usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Search/PhraseQuery.pm line 116 KinoSearch::Search::PhraseWeight::scorer('KinoSearch::Search::PhraseWeight=HASH(0x9ce2b08)', 'KinoSearch::Index::SegReader=HASH(0x9ccf8c4)') called at /usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Searcher.pm line 120 KinoSearch::Searcher::search_hit_collector('KinoSearch::Searcher=HASH(0x9ccf5d0)', 'hit_collector', 'KinoSearch::Search::HitQueueCollector=SCALAR(0x9ce306c)', 'weight', 'KinoSearch::Search::PhraseWeight=HASH(0x9ce2b08)', 'filter', 'undef', 'sort_spec', 'undef', ...) called at /usr/local/lib/perl5/site_perl/5.8.7/i686-linux/KinoSearch/Search/Hits.pm line 52 KinoSearch::Search::Hits::seek(3) called at bin/search-tickets.pl line 35 Segmentation fault
This is now fixed in both the devel and maint branches.