BackupGGCode / dataparksearch

An open source search engine for Internet and Intranet sites
GNU General Public License v2.0
1 stars 2 forks source link

Incorrect results and segfault while searching using trunk version. #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an index with a June snapshot
2. Search the index with the current trunk branch.
3. No results for "c b" and segfault for "a j g"

What is the expected output? What do you see instead?
For the first search expected 267 results (June snapshot gave that number)
and definitely not a segfault.

What version of the product are you using? On what operating system?
Noted above. On linux with a clustered setup (indexer and search engines
seperated).

Please provide any additional information below.

Original issue reported on code.google.com by amitshar...@gmail.com on 13 Jul 2008 at 1:14

GoogleCodeExporter commented 9 years ago
If you use newly introduced opion --enable-multidbaddr for configure with 
current 
trunk branch, try rebuild without this option. Will you get segfault then ?

Original comment by dp.max...@gmail.com on 13 Jul 2008 at 6:48

GoogleCodeExporter commented 9 years ago
Hello,

Looks like the same results with or without the multidbaddr enabled.

Amit

advisen@dev-se1:~/scripts$  /app/dpsearch/bin/search.cgi
'"a+j+g"&tmplt=search-cgi.htm&cmd=Search!&form=extended&m=bool&ps=10&fmt=long&wm
=wrd&sp=1&sy=0&wf=2221&type=&GroupBySite=no&dt=back&dp=0'
search.cgi[668]: {00} search.cgi started with '/usr/etc/dpsearch/search-cgi.htm'
*** glibc detected *** free(): invalid next size (fast): 0x0809a1c0 ***
Aborted (core dumped)
advisen@dev-se1:~/scripts$ gdb /app/dpsearch/bin/search.cgi
GNU gdb 6.4.90-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...Using host libthread_db library
"/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) set args
'"a+j+g"&tmplt=search-cgi.htm&cmd=Search!&form=extended&m=bool&ps=10&fmt=long&wm
=wrd&sp=1&sy=0&wf=2221&type=&GroupBySite=no&dt=back&dp=0'
(gdb) run
Starting program: /usr/bin/search.cgi
'"a+j+g"&tmplt=search-cgi.htm&cmd=Search!&form=extended&m=bool&ps=10&fmt=long&wm
=wrd&sp=1&sy=0&wf=2221&type=&GroupBySite=no&dt=back&dp=0'
[Thread debugging using libthread_db enabled]
[New Thread -1484777792 (LWP 670)]
search.cgi[670]: {00} search.cgi started with '/usr/etc/dpsearch/search-cgi.htm'
*** glibc detected *** free(): invalid next size (fast): 0x0809a020 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread -1484777792 (LWP 670)]
0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xa7a6d811 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xa7a6efb9 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xa7aa2c8a in __fsetlocking () from /lib/tls/i686/cmov/libc.so.6
#4  0xa7aaa51f in mallopt () from /lib/tls/i686/cmov/libc.so.6
#5  0xa7aaa5c2 in free () from /lib/tls/i686/cmov/libc.so.6
#6  0xa7f373d8 in DpsFind (A=0x806a850) at db.c:1327
#7  0x0804a071 in main (argc=Cannot access memory at address 0x29e
) at search.c:496
#8  0xa7a59ea8 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#9  0x08049561 in _start () at ../sysdeps/i386/elf/start.S:119

Original comment by amitshar...@gmail.com on 13 Jul 2008 at 11:48

GoogleCodeExporter commented 9 years ago
Please check out and try fresh version from the svn trunk.

Original comment by dp.max...@gmail.com on 13 Jul 2008 at 4:44

GoogleCodeExporter commented 9 years ago
Still same thing. Will try it out more later.

Original comment by amitshar...@gmail.com on 14 Jul 2008 at 1:40

GoogleCodeExporter commented 9 years ago
Please try fresh snapshot as of July 15, there were some memory problems fixed.
As well, you can check out from the svn repository.

Original comment by dp.max...@gmail.com on 15 Jul 2008 at 1:53

GoogleCodeExporter commented 9 years ago
Resolved in 4.50 release.

Original comment by dp.max...@gmail.com on 27 Jul 2008 at 4:40