From: Alexander F Avdonkin (no email)
Date: Mon Dec 17 2001 - 10:56:19 EST
Did you run ./cvsprep before running ./configure and make ?
Could you check the value of #define SIZEOF_VOID_P in aspseek-cfg.h
Alexander.
Alexander Ufimtsev ΠΙΣΑΜ(Α):
> Kir,
>
> The following is the GDB output of the latest version from CVS (e.g. buddy.h
> version 1.9 and buddy.cpp version 1.10). Unfortunately, it returns error at
> the same place.
>
> The patch that Alexander Avdonkin sent me on Dec 12 worked, but at the
> 'saving delta files' stage index trashed my entire HDD (~46Gb free space)
> with those deltas, even only one document was inserted into the database at
> that time.
>
> Alex
>
> --- [BEGIN PASTE]---
>
> alex at alphastation:~/aspseek/aspseek.cvs/src$ uname -a
> Linux alphastation 2.4.16 #3 SMP Thu Dec 6 18:31:36 GMT 2001 alpha unknown
> alex at alphastation:~/aspseek/aspseek.cvs/src$ gcc --version
> 2.95.2
> alex at alphastation:/usr/local/aspseek/sbin$ ./index -S
> Loading configuration from /usr/local/aspseek/etc/db.conf
> Loading configuration from /usr/local/aspseek/etc/ucharset.conf
> Loading configuration from /usr/local/aspseek/etc/stopwords.conf
> Loading configuration from /usr/local/aspseek/etc/aspseek.conf
>
> ASPSeek database statistics
>
> Status Expired Total
> -----------------------------
> 0 1000 1000 Not indexed yet
> -----------------------------
> Total 1000 1000
>
> alex at alphastation:/usr/local/aspseek/sbin$ gdb index
> GNU gdb 19990928
> 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 "alphaev56-unknown-linux-gnu"...
> (gdb) run -q
> Starting program: /usr/local/aspseek/sbin/index -q
> Loading configuration from /usr/local/aspseek/etc/db.conf
> Loading configuration from /usr/local/aspseek/etc/ucharset.conf
> Loading configuration from /usr/local/aspseek/etc/stopwords.conf
> Loading configuration from /usr/local/aspseek/etc/aspseek.conf
> Adding URL: http://localhost/robots.txt
> Program received signal SIGSEGV, Segmentation fault.
> CBuddyHeap::Free (this=0x11fff7680, ptr=0x20000022d00, pool=0) at
> buddy.cpp:129
> 129 if ((buddy->m_flag == ~0U) && (buddy->m_pool ==
> pool_num))
> (gdb) bt
> #0 CBuddyHeap::Free (this=0x11fff7680, ptr=0x20000022d00, pool=0) at
> buddy.cpp:129
> #1 0x12012faa8 in CBuddyHeap::FreeBytes (this=0x11fff7680,
> ptr=0x20000022d00, size=32) at buddy.cpp:180
> #2 0x12012fc3c in CWordBuddyVector::~CWordBuddyVector (this=0x20000ecac00,
> __in_chrg=2) at buddy.cpp:215
> #3 0x120039ba4 in hashtable<pair<CUWord const, CWordParam>, CUWord,
> hash<CUWord>, _Select1st<pair<CUWord const, CWordParam> >, equal_to<CUWord>,
> allocator<CWordParam> >::clear (this=0x11fff7560)
> at
> /usr/lib/gcc-lib/alpha-linux/2.95.2/../../../../include/g++-3/stl_pair.h:44
> #4 0x1200b8a90 in hash_map<CUWord, CWordParam, hash<CUWord>,
> equal_to<CUWord>, allocator<CWordParam> >::~hash_map (this=0x11fff7560,
> __in_chrg=2)
> at
> /usr/lib/gcc-lib/alpha-linux/2.95.2/../../../../include/g++-3/stl_hashtable.h:301
> #5 0x1200c09cc in CUrl::HTTPGetUrlAndStore (this=0x11fffc118,
> wordCache=@0x11fffc5c0,
> buf=0x200012c6010 "HTTP/1.1 200 OK", maxsize=1048576, doc=@0x12045c3d0)
> at ../include/content.h:294
> #6 0x120032d3c in CWordCache::Index (this=0x11fffc5c0) at wcache.cpp:963
> #7 0x12006aed4 in Index (database=0x12044fee0, flags=0, maxthreads=1,
> fname=0x0,
> logname=0x12014b635 "logs.txt") at index.cpp:570
> #8 0x120070eb8 in main (argc=0, argv=0x12025f0f8) at index.cpp:1556
> (gdb) quit
> The program is running. Exit anyway? (y or n) y
> alex at alphastation:/usr/local/aspseek/sbin$ ./index -S
> Loading configuration from /usr/local/aspseek/etc/db.conf
> Loading configuration from /usr/local/aspseek/etc/ucharset.conf
> Loading configuration from /usr/local/aspseek/etc/stopwords.conf
> Loading configuration from /usr/local/aspseek/etc/aspseek.conf
>
> ASPSeek database statistics
>
> Status Expired Total
> -----------------------------
> 0 998 998 Not indexed yet
> 200 0 1 OK
> 404 0 1 Not found
> -----------------------------
> Total 998 1000
>
> alex at alphastation:/usr/local/aspseek/sbin$
>
> ---[END PASTE]---
>
> On Monday 17 December 2001 14:35, Kir Kolyshkin wrote:
> > Can you try the latest CVS? We have made aspseek 64-bit clean, can you
> > check that it works? Access to CVS is described at
> > http://www.aspseek.org/cvs.html
>
> --
> Alexander Ufimtsev
> Dept. of Computer Science,
> University College Dublin, Ireland
> Tel: +353-1-7162488 Fax: +353-1-2697262
|
|
|