namazu-dev(ring)


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

coredump .. ? in XS_Text__ChaSen_sparse_tostr_long ()



>                                   Sun Jan 16 20:18:33 2000
>                                            千葉市中央区長洲
>                                                    藤原  誠
>                                                makoto@xxxxx
(返事をかかずに次々に別の話題に行って済みません..)

  添付 2 のような構成で -c で ChaSen module で mknmz すると次の辺
りで core dump してしまいます。

#1  0x101d844c in pat_search ()
#2  0x101d5a3c in chasen_sent ()
#3  0x101d45ec in chasen_sparse_main ()
#4  0x101d46fc in chasen_sparse_tostr ()
#5  0x101d05e8 in XS_Text__ChaSen_sparse_tostr_long ()

(全文は添付 1 にあります)
NetBSD/sparc-1.4.1, SS-2,
chasen-sys2.01-ipadic2.0.tar.gz 
Text-ChaSen-0.20.tar.gz
namazu-2000-01-16m
という今朝 6:50 頃の cvs 版 です。
一応 ChaSen.xs などは見たのですが、良く分りませんでした。
二か所ある chasen_sparse_tostr(s) のうちどちらかも分らないし。
他の方は問題ないのでしょうか。

一応データ依存ではないような気がします。
0 http://www.ki.nu/software/emacs-20/mule/18.55.shtml [text/html]
Segmentation fault (core dumped)
---
(藤原)
makoto@tateyama  19:26:50/000116(~/namazu)> sh -xv cron-c.sh
#!/bin/sh
mknmz  -O /home6/namazu/software/index-c \
-c \
--replace='s#/amd/milano/export/home##; s#/htdocs#http://www.ki.nu#; ' \
/home/htdocs/software
+ mknmz -O /home6/namazu/software/index-c -c --replace=s#/amd/milano/export/home##; s#/htdocs#http://www.ki.nu#;  /home/htdocs/software
Reading rcfile:  /usr/local/etc/namazu/mknmzrc /home/makoto/.mknmzrc
 find_target: Scanned : (2743), Files: (429), Elapsed: (43), Files/sec: (10.0).
0 http://www.ki.nu/software/MHonARC/ [text/html]
Segmentation fault - core dumped
makoto@tateyama  19:28:19/000116(~/namazu)> gdb /usr/local/bin/perl perl.core 
GNU gdb 4.17
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 "sparc--netbsd"...(no debugging symbols found)...
Core was generated by `perl'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libm.so.0.1...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libc.so.12.40...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libposix.so.0.1...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libcrypt.so.0.0...(no debugging symbols found)...
done.
Reading symbols from /usr/local/lib/perl5/5.00503/sparc-netbsd/auto/IO/IO.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/perl5/5.00503/sparc-netbsd/auto/Fcntl/Fcntl.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/perl5/site_perl/5.005/sparc-netbsd/auto/NKF/---Type <return> to continue, or q <return> to quit---  
NKF.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/perl5/site_perl/5.005/sparc-netbsd/auto/Text/ChaSen/ChaSen.so...(no debugging symbols found)...done.
#0  0x101d8458 in pat_search ()
(gdb) where
#0  0x101d8458 in pat_search ()
#1  0x101d844c in pat_search ()
#2  0x101d5a3c in chasen_sent ()
#3  0x101d45ec in chasen_sparse_main ()
#4  0x101d46fc in chasen_sparse_tostr ()
#5  0x101d05e8 in XS_Text__ChaSen_sparse_tostr_long ()
#6  0x48254 in Perl_pp_entersub ()
#7  0x85890 in Perl_runops_standard ()
#8  0x5690 in perl_run ()
#9  0x2ac0 in main ()
(gdb) 


makoto@tateyama  19:30:10/000116(~/namazu)> mknmz -C -O /home6/namazu/software/index-c -c --replace='s#/amd/milano/export/home##; s#/htdocs#http://www.ki.nu#; ' /home/htdocs/software
Reading rcfile:  /usr/local/etc/namazu/mknmzrc /home/makoto/.mknmzrc
Config: /home/makoto/.mknmzrc
System: netbsd
Namazu: 2000-01-16
Perl:   5.00503
NKF:    module_nkf
KAKASI: module_kakasi -ieuc -oeuc -w
ChaSen: module_chasen -j -F '%m '
Wakati: module_kakasi -ieuc -oeuc -w
Lang:   japanese
CCS:    euc
CONFDIR:     /usr/local/etc/namazu
LIBDIR:      /usr/local/share/namazu/pl
FILTERDIR:   /usr/local/share/namazu/filter
TEMPLATEDIR: /usr/local/share/namazu/template
Supported media types: 
  application/x-bzip2
  application/x-compress
  application/x-gzip
  message/news
  message/rfc822
  text/hnf
  text/html
  text/html; x-type=mhonarc
  text/plain
  text/plain; x-type=rfc
  text/x-roff
makoto@tateyama  19:30:25/000116(~/namazu)>