Skip to main content.
home | support | download

Back to List Archive

Re: Problem testing the new 2.2 version

From: Peggy Eaton <peaton(at)not-real.eosdata.gsfc.nasa.gov>
Date: Wed Sep 18 2002 - 17:35:44 GMT
Bill Moseley wrote:
> 
> One thing you could try is in src/mem.c look for:

> #define PointerAlignmentSize sizeof(long)
> #endif
> 
> And just change it to:
> 
> #define PointerAlignmentSize 8
> 
> and then run make again.

I'll try this, but I just tried using the "./swish-e -i index.c" to see 
if it also resulted in the error, and it created the index.index.swish-e 
and index.swish-e.prop:

daacdev2$ pwd
/usr/daac/dev/prgsrc/Swish-e/swish-e-2.2/src

daacdev2$ ./swish-e -i index.c
Indexing Data Source: "File-System"
Indexing "index.c"
Removing very common words...
no words removed.
Writing main index...
Sorting words ...
Sorting 1151 words alphabetically
Writing header ...
Writing index entries ...
   Writing word text: Complete
   Writing word hash: Complete
   Writing word data: Complete
1151 unique words indexed.
4 properties sorted.
1 file indexed.  81111 total bytes.  8594 total words.
Elapsed time: 00:00:00 CPU time: 00:00:00
Indexing done!

> 
> you will get the bus error.  If that's the case try:
> 
>   $ gdb swish-e
>   run -i index.c
>   <error>
>   bt

I did the back trace anyway, and also created the index without any errors.

daacdev2$  gdb swish-e
GNU gdb 5.2
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 "mips-sgi-irix6.5"...
(gdb) run -i index.c
Starting program: /usr/daac/dev/prgsrc/Swish-e/swish-e-2.2/src/swish-e 
-i index.c
/usr/daac/dev
science user software
Indexing Data Source: "File-System"
Indexing "index.c"
Removing very common words...
no words removed.
Writing main index...
Sorting words ...
Sorting 1151 words alphabetically
Writing header ...
Writing index entries ...
   Writing word text: Complete
   Writing word hash: Complete
   Writing word data: Complete
1151 unique words indexed.
4 properties sorted.
1 file indexed.  81111 total bytes.  8594 total words.
Elapsed time: 00:00:00 CPU time: 00:00:00
Indexing done!

Program exited normally.
Current language:  auto; currently asm
(gdb) bt
No stack.
(gdb)
Received on Wed Sep 18 17:39:18 2002