namazu-ml(ring)


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

Re: namazu-1.4.0.0-alpha-2



yoshihide hirose <hirose@xxxxxxxxxxxxxxx> wrote:

> >どこでコアを吐いているのか調べられます? gdb namazu core で起動して 
> >bt コマンドでバックトラックを取って送ってもらえると助かります。
(snip)
>#1  0x80562fc in close_index_files () at search.c:705

わかりました。メイル末尾のパッチをあてると解決すると思います。

-- Satoru Takabayashi

Index: mknmz.pl.in
===================================================================
RCS file: /home/satoru/cvsroot/namazu/src/mknmz.pl.in,v
retrieving revision 1.8
diff -c -r1.8 mknmz.pl.in
*** mknmz.pl.in	1999/02/15 06:46:41	1.8
--- mknmz.pl.in	1999/02/15 07:43:14
***************
*** 1562,1568 ****
      my $val = 0;
      while (1) {
  	my $tmp = getc($fh);
!         die "fatal error occurred in get_unpackw\n" unless defined($tmp);
  	$tmp = ord($tmp);
  
  	if ($tmp < 128) {
--- 1562,1568 ----
      my $val = 0;
      while (1) {
  	my $tmp = getc($fh);
!         die "fatal error occurred in get_unpackw\n" unless defined $tmp;
  	$tmp = ord($tmp);
  
  	if ($tmp < 128) {
Index: namazu.h
===================================================================
RCS file: /home/satoru/cvsroot/namazu/src/namazu.h,v
retrieving revision 1.2
diff -c -r1.2 namazu.h
*** namazu.h	1999/02/13 02:02:46	1.2
--- namazu.h	1999/02/15 22:05:59
***************
*** 106,112 ****
  extern uchar DEFAULT_DIR[];
  extern uchar *DbNames[];
  extern uchar Lang[];
! extern FILE *Flist, *FlistIndex, *Index, *IndexIndex, *Hash;
  
  extern uchar BASE_URL[];
  extern uchar URL_REPLACE_FROM[];
--- 106,112 ----
  extern uchar DEFAULT_DIR[];
  extern uchar *DbNames[];
  extern uchar Lang[];
! extern FILE *Flist, *FlistIndex, *Index, *IndexIndex;
  
  extern uchar BASE_URL[];
  extern uchar URL_REPLACE_FROM[];
Index: search.c
===================================================================
RCS file: /home/satoru/cvsroot/namazu/src/search.c,v
retrieving revision 1.3
diff -c -r1.3 search.c
*** search.c	1999/02/14 06:28:18	1.3
--- search.c	1999/02/15 22:05:16
***************
*** 702,708 ****
  {
      fclose(Index);
      fclose(IndexIndex);
-     fclose(Hash);
  }
  
  
--- 702,707 ----
Index: values.c
===================================================================
RCS file: /home/satoru/cvsroot/namazu/src/values.c,v
retrieving revision 1.2
diff -c -r1.2 values.c
*** values.c	1999/02/13 02:02:46	1.2
--- values.c	1999/02/15 22:05:46
***************
*** 104,108 ****
  uchar KeyTable[BUFSIZE];		/* table which saving query */
  uchar *KeyItem[KEY_ITEM_MAX + 1];	/* pointers of items of query */
  uchar *DbNames[DB_MAX + 1];   /* name of databases */
! FILE *Flist, *FlistIndex, *Index, *IndexIndex, *Hash, *Phrase, *PhraseIndex;
  
--- 104,108 ----
  uchar KeyTable[BUFSIZE];		/* table which saving query */
  uchar *KeyItem[KEY_ITEM_MAX + 1];	/* pointers of items of query */
  uchar *DbNames[DB_MAX + 1];   /* name of databases */
! FILE *Flist, *FlistIndex, *Index, *IndexIndex, *Phrase, *PhraseIndex;