Well, I'm still not to the bottom of things. It seems like there may 
be several bugs all intertwined... I attach the VERBOSE=-vvv output 
from make check. It may prove a little more informative (or not). The 
failed wordlist test makes me wonder if records are either going in 
incorrectly or if some are just not going in...

Here's the coredump for wordskip. It looks like it's working on an 
null or otherwise battered list. If I try to cast *this in gdb or 
access any of the methods, it won't work.

-Geoff

(gdb) run -s -vvv
Starting program: /home/ghutchis/htdig-cvs/build-3.2/test/.libs/lt-word -s -vvv
Test WordList::SkipUselessSequentialWalking method
Test WordList::SkipUselessSequentialWalking normal
doing SkipUselessSequentialWalking test
WList config:minimum_word_length: 1
number of entries: 2
GetSearchKey: string: et  <DEF>      <UNDEF>       0       10       got: et
<DEF>   <UNDEF> 0       10
checking SkipUselessSequentialWalking on: et    <DEF>   <UNDEF> 0       10
walking all:
WordCursor::WalkInit: action = 1, SearchKey = <UNDEF>   <DEF>   <UNDEF> <UNDEF> <UNDEF>
WordCursor::WalkInit: at start of keys because search key is empty
WordCursor::WalkNextStep: looking for <UNDEF>   <DEF>   <UNDEF> <UNDEF> <UNDEF> , 
found az      <DEF>   5       1       0
WordDBCursor::Get(17) failed Input/output error
WordCursor::WalkFinish
walking search: searching for: et       <DEF>   <UNDEF> 0       10
WordCursor::WalkInit: action = 1, SearchKey = et        <DEF>   <UNDEF> 0
10
WordCursor::WalkInit: go to et  <DEF>   <UNDEF> <UNDEF> <UNDEF>
WordCursor::WalkNextStep: looking for et        <DEF>   <UNDEF> 0       10
, found et      <DEF>   20      0       10
WordDBCursor::Get(17) failed Input/output error
WordCursor::WalkFinish
Check actual 0'th walked: et    <DEF>   1       0       50

Program received signal SIGSEGV, Segmentation fault.
0xfe92c24 in List::Nth () at ../../htdig-3.2/htlib/List.cc:160
160         cursor.current_index = -1;
(gdb) bt
#0  0xfe92c24 in List::Nth () at ../../htdig-3.2/htlib/List.cc:160
#1  0x10005578 in doskip_normal () at ../../htdig-3.2/htlib/List.h:144
#2  0x100041e0 in doskip (params=0x7ffff978)
     at ../../htdig-3.2/test/word.cc:664
#3  0x10001e3c in doword (params=0x7ffff978)
     at ../../htdig-3.2/test/word.cc:150
#4  0x10001b88 in main (ac=3, av=0x7ffff9f4)
     at ../../htdig-3.2/test/word.cc:105

%test.verbose

test.verbose

------------------------------------
To unsubscribe from the htdig3-dev mailing list, send a message to
[EMAIL PROTECTED] 
You will receive a message to confirm this. 

Reply via email to