[Xapian-discuss] Re: Search::Xapian::WritableDatabase SIGABRT?

Olly Betts olly at survex.com
Wed Dec 8 15:02:30 GMT 2004


On Wed, Dec 08, 2004 at 12:48:58AM -0800, Eric Parusel wrote:
> Hmm, I tried quartzcompact twice, and both times it seemingly is paused 
> or stopped at the same point? (destination db at 612M of content)
> [snip]
> It's been running for 20 minutes so far (99% cpu) without a change in 
> destination db size...  is this normal?
    
No, I'd expect whichever of the 5 output _DB files is currently being
worked on to grow pretty much continuously.

Did you try quartzcheck on the problem databases?
    
> [RAID errors]  This may be a source of corruption potentially.

I guess data corruption could create an infinite (or long) loop somehow.

> Output:
> # make test
> PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
> -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness 
> qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/create.......ok
> t/document.....ok
> t/exception....dubious
>         Test returned status 0 (wstat 6, 0x6)
> DIED. FAILED test 4
>         Failed 1/4 tests, 75.00% okay
> t/index........dubious
>         Test returned status 0 (wstat 6, 0x6)
> DIED. FAILED tests 21-40
>         Failed 20/40 tests, 50.00% okay

Hmm, I ought to use a different database name for the exception test, or
else it can mess up the other tests.

But anyway, this works for me with perl 5.8.4.

Does running just exception.t in verbose mode reveal anything:

PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl/5.6.1 -I/usr/share/perl/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $verbose=1; runtests "t/exception.t"'

Cheers,
    Olly



More information about the Xapian-discuss mailing list