On Thu, 21 Feb 2002, Bill Moseley wrote:
> How is make test failing in 2.1?
Tried...
swish-e-2.1-dev-25-2002-02-18.tar.gz (obviously different size),
swish-e-2.1-dev-25-2002-02-21.tar.gz (failure originally seen),
swish-e-2.1-dev-25-2002-02-22.tar.gz (one-byte-bigger archive):
-----
% ./configure
..
% make
..
swish-e done
making swish-search
cp -f src/swish-e src/swish-search
swish-search done
Now make test
% make test
(cd src; make test)
make[1]: Entering directory `/userspace/u/e/ericj/swish-e-2.1-dev-25/src'
Creating index...
Indexing Data Source: "File-System"
make[1]: *** [test] Error 138
make[1]: Leaving directory `/userspace/u/e/ericj/swish-e-2.1-dev-25/src'
make: *** [test] Error 2
% cd src
% more Makefile
..
% cd ../tests
% strace ../swish-e -c test.config
..
stat("./test.html", {st_mode=S_IFREG|0700, st_size=437, ...}) = 0
open("./test.html", O_RDONLY) = 5
mmap(0, 270336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x70338000
read(5, "<HEAD>\n<TITLE>If you are seeing "..., 437) = 437
mmap(0, 270336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7037a000
close(5) = 0
write(3, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 6796) = 6796
write(4, "<v\357Y", 4) = 4
_llseek(0x4, 0, 0, 0xefffeea8, 0x1) = 0
write(4, "\1./test.html", 12) = 12
write(4, "\1If you are seeing this, the tes"..., 49) = 49
write(4, "\1\0\0\1\265", 5) = 5
write(4, "\1:7!\331", 5) = 5
munmap(0x70338000, 270336) = 0
stat("./test_meta.html", {st_mode=S_IFREG|0700, st_size=233, ...}) = 0
stat("./test_meta.html", {st_mode=S_IFREG|0700, st_size=233, ...}) = 0
lstat("./test_meta.html", {st_mode=S_IFREG|0700, st_size=233, ...}) = 0
stat("./test_meta.html", {st_mode=S_IFREG|0700, st_size=233, ...}) = 0
--- SIGBUS (Bus error) ---
+++ killed by SIGBUS +++
-----
Today's "swish-e-2.1-dev-25-2002-02-22.tar.gz" also tried with:
-----
% ./configure --with-zlib
..
-----
Same results (core with same error)
Some details...
-----
Linux 2.2.17-RAID sparc64
egcs-2.91.66
glibc-2.1.2-15
-----
I found a reference to 'Linux 2.2.', 'egcs-2.91.66', and 'glibc2' in the
archives, but that was back in 1.3.2, and no sign of the referenced
'pointer1' or 'pointer2' to try tweaking in the current ones...
That reference was:
=====
http://swish-e.org/archive/1842.html
[SWISH-E] 3 swish-e patches
liste@artware.qc.ca
Wed, 7 Jun 2000 14:21:34 -0700 (PDT)
[...]
Philip_Gwyn.swish-e.stopwords.01.patch
Fixes a small error in the code that drops stopwords from words to be
searched for. A pointer memory that had been freed was being
dereferenced, and causing a core dump under Linux 2.2.15, glibc2,
egcs-2.91.66.
[....]
=====
Thanks for any ideas...
~ Eric
ericj@eskimo.com
Received on Sat Feb 23 01:31:56 2002