Issue 2: Incorrect results and segfault while searching using trunk version.
http://code.google.com/p/dataparksearch/issues/detail?id=2

Comment #2 by amitsharadjoshi:
Hello,

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

Amit

[EMAIL PROTECTED]:~/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)
[EMAIL PROTECTED]:~/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




-- 
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Ответить