This is very interesting, can you please reproduce the results from the command line? This is done in the following way:
$ QUERY_STRING="q=man" ./s.cgi You should receive the coredump (if not, set your coredump limit using 'ulimit -c unlimited', and repeat. Then, run gdb on it: $ gdb s.cgi core And sent us output of 'bt full' command. Alternatively, you can just run s.cgi from inside the gdb. $ gdb s.cgi .... (gdb) set env QUERY_STRING=q=man (gdb) r Also, then s.cgi will segfault, run 'bt full'. Jason Maxham wrote: > > I saw the thread from April titled "Multiple DaemonAddress" - it describes > problems people were having with s.cgi and multiple DaemonAddress entries. > I followed the suggestions, but cannot get s.cgi to properly merge > results. > > I have s.htm set up with two DaemonAddress entries: > DaemonAddress 192.168.1.21 > DaemonAddress 192.168.1.22 > > After applying the fixes for 1.2.8, s.cgi partially works with two > DaemonAddresses, but seg faults when merging results (same with 1.2.9pre). > > Here's what I mean by "partially": when I search for a word that I know is > only in one database, the search completes just fine. However, when > searching for a word that returns documents from both DaemonAddresses, > s.cgi seg faults (Apache error log registers "[Wed Jun 26 14:06:47 2002] > [error] [client 192.168.1.2] Premature end of script headers: > /var/www/cgi-bin/s.cgi"). > > To give you a little more detail, I have documents about nuclear physics > on 192.168.1.21 and documents about television on 192.168.1.22. I know > that the word "physics" is only found in the documents on 192.168.1.21. I > search for "physics" and s.cgi returns the correct results. I search for > "television", a word only found on the documents indexed on 192.168.1.22, > and also get back the correct results. I search for the word "man", found > in documents on both, and s.cgi seg faults. > > This would lead me to believe that the code responsible for merging > results is somehow broken... Does anyone have s.cgi working with multiple > DaemonAddresses AND the ability to merge results? > > I have gotten the same behavior using 1.2.9pre (cvs snapshot downloaded > this morning 2002-06-26), 1.2.8, 1.2.7, 1.2.6, and 1.2.5. I'm willing to > go back further to make my system work... > > If you need any more info to aid troubleshooting, please let me know. > > Thanks for any assistance you can give, > Jason -- [EMAIL PROTECTED] ICQ UIN 7551596 Phone +7 903 6722750 -- Guinness a Day Keeps a Doctor Away (people's wisdom)
