Skip to main content.
home | support | download

Back to List Archive

swish-e 2.1 hangs when merging.

From: Stefan Bergstrand <stefan.bergstrand(at)not-real.polopoly.com>
Date: Wed Jun 20 2001 - 07:31:09 GMT
(I'm not sure if this is a problem that has already been discussed on
this list. If so, please ignore this mail.)

When I try to merge two indexes, swish-e hangs. It doeasn't hang on
every merge, but always on this one.

After having run it with gdb until it hangs, i press ctrl-c, and do
"backtrace". It then says:

(gdb) backtrace
#0  0x400c58b9 in _IO_new_file_underflow (fp=0x80cff00) at fileops.c:462
#1  0x400c8009 in _IO_default_uflow (fp=0x80cff00) at genops.c:388
#2  0x400c6f52 in __uflow (fp=0x80cff00) at genops.c:345
#3  0x400c2a93 in _IO_getc (fp=0x80cff00) at getc.c:39
#4  0x080569d7 in readindexline (indexf=0x80c01d0, metaFile=0x810e780) at merge.c:416
#5  0x080564aa in readmerge (
    file1=0x806ebd0 "/home/stefan/webdata/Sida/Sida/articles/100-199/109/polopolyindex", 
    file2=0x806f3a8 "/home/stefan/webdata/Sida/Sida/departments/100/tmpIndex0", 
    outfile=0x806fb80 "/home/stefan/webdata/Sida/Sida/departments/100/tmpIndex1", 
    verbose=3) at merge.c:219
#6  0x0804ac9a in main (argc=0, argv=0xbffff88c) at swish.c:664
#7  0x40067177 in __libc_start_main (main=0x80492f0 <main>, argc=5, ubp_av=0xbffff88c, 
    init=0x8048db0 <_init>, fini=0x8062d50 <_fini>, rtld_fini=0x4000e184 <_dl_fini>, 
    stack_end=0xbffff87c) at ../sysdeps/generic/libc-start.c:129
(gdb)

The "polopolyindex" file is not a merged index.

The tmpIndex[01] files are merges from previous operations like this
one. I prefer to make many small merges instead of one large, which
explains the use of the tmpIndexes.


Also, I tried to checkout a later (alpha or beta) version of swish, in
order to see if this problem has been fixed. 

The instructions at sourceforge on how to login seems to be wrong.

After I tried "cvs -d:pserver:anonymous@cvs.swishe.sourceforge.net:/cvsroot/swishe login", 
it said:

cvs login: authorization failed: server cvs.swishe.sourceforge.net rejected access to /cvsroot/swishe for user anonymous

Do I need a real user to login with?

/stefan b

-- 
Stefan Bergstrand
Polopoly AB (publ)
Tel: + 46 8 506 782 67
Mobile: + 46 70 447 82 67
mailto:stefan.bergstrand@polopoly.com
Received on Wed Jun 20 07:36:32 2001