namazu-dev(ring)


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

namazu core dumped



安部です。

NMZ.*がおかれていないディレクトリを指定したときにnamazuが
core dumpします。

$ ../debug/bin/namazu -h namazu /var/gdm
セグメンテーション違反です (core dumped)
$ gdb ../debug/bin/namazu core
GNU gdb 4.18
Copyright 1998 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 "i586-redhat-linux"...
Core was generated by `../debug/bin/namazu -h namazu /var/gdm'.
Program terminated with signal 11, ,A%;%0%a%s%F!<%7%g%s0cH?$G$9.
Reading symbols from /home/rug/debug/lib/libnmz.so.1...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x40019d7c in set_rank (hlist={num = 1047, stat = SUCCESS, data =
0x586})
    at hlist.c:75
75	        hlist.data[i].rank = hlist.num - i;
(gdb) bt
#0  0x40019d7c in set_rank (hlist={num = 1047, stat = SUCCESS, data =
0x586})
    at hlist.c:75
#1  0x4001b031 in nmz_sort_hlist (hlist={num = 1047, stat = SUCCESS, 
      data = 0x586}, method=SORT_BY_DATE) at hlist.c:569
#2  0x4002abe7 in nmz_search (query=0xbfffea38 "namazu ") at
search.c:988
#3  0x804b718 in namazu_core (query=0xbffff658 "namazu", 
    subquery=0xbffff258 "", argv0=0xbffffbf2 "../debug/bin/namazu")
    at namazu.c:313
#4  0x804bb3a in main (argc=4, argv=0xbffffaa4) at namazu.c:454
(gdb) quit


  A A
= . . =
   V
end
Ryuji Abe