Re: [aseek-devel] sbin/index -a fails with "Bus Error" (aspseek 1.2.7, solaris 8)

From: Kir Kolyshkin (no email)
Date: Fri Dec 14 2001 - 03:30:53 EST


You can use either gdb or strace and try to find a place where it fails.
If you will send the appropriate piece of debugging output, we will try
to find out the problem

Khan Klatt wrote:
>
> First a description of the problem:
>
> I am trying to start an indexing process and when I run sbin/index,
> the command fails with "Bus Error".
>
> Subsequent attempts with different command line arguments results in
> checking delta files, and then, again, terminating with a "Bus Error".
>
> I believe a Bus Error to be when a program attempts to follow a
> pointer or access a memory location outside of the sandbox the kernel
> has established for the process, which indicates a memory bug in the
> program. Please feel free to correct this assumption.
>
> Problems were initially encountered with 1.2.5, so I upgraded to 1.2.7.
>
> Suggestions and help is appreciated. Here are the details of my
> system/compilation/execution, etc.
>
> % uname -a
> SunOS hostname 5.8 Generic_108528-06 sun4u sparc SUNW,UltraAX-i2
>
> The package was compiled by me, here is what I used to compile (using
> bash as my shell to set env variables):
>
> LD_LIBRARY_PATH=/usr/local/lib:/usr/local/mysql/lib/mysql:/usr/local/lib/gcc-lib
> /sparc-sun-solaris2.8/2.95.3 CC=gcc CXX=g++ ./configure
> --with-mysql=/usr/local/
> mysql
> LD_LIBRARY_PATH=/usr/local/lib:/usr/local/mysql/lib/mysql:/usr/local/lib/gcc-lib
> /sparc-sun-solaris2.8/2.95.3 CC=gcc CXX=g++ make
> LD_LIBRARY_PATH=/usr/local/lib:/usr/local/mysql/lib/mysql:/usr/local/lib/gcc-lib
> /sparc-sun-solaris2.8/2.95.3 CC=gcc CXX=g++ make install
>
> This is the results on index -S:
>
> % LD_LIBRARY_PATH=/usr/local/lib:/usr/local/mysql/lib/mysql 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 701120 701120 Not indexed yet
> 404 1 1 Not found
> -----------------------------
> Total 701121 701121
>
> [From a previous attempt to add some URLs to the db]
>
> So, I assume the next step is to run the index, like so:
>
> % LD_LIBRARY_PATH=/usr/local/lib:/usr/local/mysql/lib/mysql sbin/index -a
> 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
> Bus Error
>
> And when I rerun:
>
> % LD_LIBRARY_PATH=/usr/local/lib:/usr/local/mysql/lib/mysql sbin/index -a
> 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
> Index has not been stopped safely, checking of delta files will be
> performed now
> Checking delta file: 0...done
> Checking delta file: 1...done
> Checking delta file: 2...done
> Checking delta file: 3...done
> ... [lines omitted]
> Bus Error
>
> Thanks in advance for any help or suggestions.

-- 
  ICQ 7551596  Phone +7 903 6722750
Hard work may not kill you,  but why take chances?
--







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD