Kir Kolyshkin
Fri, 27 Jul 2001 00:28:08 -0700
John Capo ΠΙΣΑΜ(Α): > > Quoting John Capo ([EMAIL PROTECTED]): > > Quoting John Capo ([EMAIL PROTECTED]): > > > > > > Probably related, I can not run index with more than 1 thread. I > > > am going to increase thread stack sizes in index and see if that > > > helps. > > > > Increasing thread stack in index seems to fix my problems. I have > > been running a crawl with 10 threads for an hour just fine. With > > default stack size, running index with more than 1 thread would > > corrupt the database within a minute or so and index would loop > > printing something about `Param'. > > > > Worked for a few hours but then index started looping and printing: > > Address of param: 099a5474 > Address of param: 09720284 > Address of param: 0947df04 > Address of param: 09562354 > Address of param: 09862354 > > I increased stack size to 512K but index failed again after a few > hours. I tried to make sense of it with gdb but I got a SEGV when > I tried to single step. > > John Capo threaded programs are different to debug, but it's still possible. Try to run index in gdb from the very beginning. Also, -ggdb3 -O0 flags to compiler can help in debugging. -- [EMAIL PROTECTED] ICQ 7551596 Phone +7 903 6722750 Reality always seems harsher in the early morning. --