Namazu-devel-ja(旧)


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: namazu 2.0.13RC1動作確認 (FreeBSD 4.9-STABLE)



At Thu, 25 Mar 2004 13:03:04 +0900,
HIROSE Yoshihide wrote:

> #FreeBSD 5.2-CURRENTではnamazu-9、ja-namazu-cgi-1でこけます
> # ja-namazu-cgi-1は 2.0.12でもこけます。
> # 今夜にでも、ちょっと調べます。

とりあえず、環境とbacktraceを送っておきます。

環境は 
システム: FreeBSD 5.2-CURRENT Tue Mar 16 16:00:12 JST 2004
Perl: 5.8.2
NKF: module_nkf(FreeBSD packege ja-nkf-2.04)
Wakati: kakasi 2.3.4


以下がnamazu-9のbacktraceです。

> gdb ../src/.libs/namazu lt-namazu.core
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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 "i386-undermydesk-freebsd"...

warning: core file may not match specified executable file.
Core was generated by `lt-namazu'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libintl.so.6...done.
Loaded symbols for /usr/local/lib/libintl.so.6
Reading symbols from /old/usr/home/hirose/namazurc/namazu-2.0.13RC1/nmz/.libs/libnmz.so.7...done.
Loaded symbols for /old/usr/home/hirose/namazurc/namazu-2.0.13RC1/nmz/.libs/libnmz.so.7
Reading symbols from /lib/libm.so.2...done.
Loaded symbols for /lib/libm.so.2
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x280a4218 in nmz_get_unpackw (fp=0x281977c0, data=0x800) at util.c:224
224                 *data = val;
(gdb) backtrace
#0  0x280a4218 in nmz_get_unpackw (fp=0x281977c0, data=0x800) at util.c:224
#1  0x28093052 in nmz_get_hlist (index=13) at hlist.c:593
#2  0x280a22a8 in do_word_search (key=0xbfbfd020 "foo", val={num = 0, stat = SUCCESS, data = 0x0})
    at search.c:280
#3  0x280a3d39 in nmz_do_searching (key=0x280b5484 "foo", val={num = 0, stat = SUCCESS, data = 0x0})
    at search.c:1113
#4  0x28094308 in factor () at parser.c:97
#5  0x28094492 in term () at parser.c:169
#6  0x28094607 in nmz_expr () at parser.c:224
#7  0x280a3531 in nmz_search_sub (hlist={num = 0, stat = SUCCESS, data = 0x0}, query=0xbfbfd900 "foo", n=0)
    at search.c:821
#8  0x280a3ac5 in nmz_search (query=0xbfbfd900 "foo") at search.c:1008
#9  0x0804b0d3 in namazu_core (query=0xbfbfe534 "foo", subquery=0xbfbfe134 "") at namazu.c:172
#10 0x0804e921 in main (argc=5, argv=0xbfbfe994) at namazu-cmd.c:365
#11 0x0804a05e in __do_global_dtors_aux ()