Hopefully someone will be able to help me out on this problem.

I am getting a Segmentation Fault (core dump) when searching for
multiple small words that are not in the database or are in the bad
words list. If I search for longer words I get the correct output.

Here is what we are running htdig 3.2.0b3, Apache/1.3.12, Solaris 7

Here is a sample search for the words "we" and "have" from the command
line

Enter value for words: we have
tempWords: 'we:0 have:0 '
Boolean: 'we:0 &:0 have:0 '
initial: ''
Add: we
searchWords: 'we:0 '
Add: &
searchWords: 'we:0 &:0 '
Add: have
searchWords: 'we:0 &:0 have:0 '
LogicalWords: we and have
Pattern:
perform_push @0: we
ignore: we @0
term:factor
perform_push @1: have
ignore: have @1
and--
and: ignoring all, pushing ignored list @0
perform and: 0 0 0
Segmentation Fault


- If I search for 2 small words (ie. "we" and "bodipy"), where one word
is either very small and/or part of the bad_words list and one is a
valid searchable word ("bodipy" in this instance) I get the correct
results page.


- If I search for 3 words with the 2  that gave me the error first in
the list (ie "we" "have" and "bodipy") the 2 small words cause the
error, thus skipping the bodipy search and causing another Segmentation
Fault. Below is this search.


Enter value for words: we have bodipy
tempWords: 'we:0 have:0 bodipy:0 '
Boolean: 'we:0 &:0 have:0 &:0 bodipy:0 '
initial: ''
Add: we
searchWords: 'we:0 '
Add: &
searchWords: 'we:0 &:0 '
Add: have
searchWords: 'we:0 &:0 have:0 '
Add: &
searchWords: 'we:0 &:0 have:0 &:0 '
Fuzzy on: bodipy
   exact bodipy
   synonyms
   endings
searchWords: 'we:0 &:0 have:0 &:0 bodipy:0 '
LogicalWords: we and have and bodipy
Pattern: bodipy
perform_push @0: we
ignore: we @0
term:factor
perform_push @1: have
ignore: have @1
and--
and: ignoring all, pushing ignored list @0
perform and: 0 0 0
Segmentation Fault

- If I reverse the order of the words (ie "bodipy" "we" "have") this
seems to fix the problem, as htdig performs the bodipy search before the
error will come into play. I again get the correct search results.

Here are other example of combinations of words - when used alone give
me a correct "no matches were found" result, but when combined into one
search statement generate a Segmentation Fault ( "a" "b") , ("an" "no"),
("vv" "ss")

Other than this, things work fine.

If this is a known bug, could someone point me to it. Any other advise
would be welcomed.

--
Aaron



_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev

Reply via email to