[Xapian-discuss] errors with flint database, xapian 1.0.4

Vasiliy Sergeev vasiliy.sergeev at sibers.com
Thu Dec 6 06:20:11 GMT 2007


Richard Boulton wrote:
> Could you test with a recent SVN snapshot?  (From 
> http://www.oligarchy.co.uk/xapian/trunk/ )
>
> There have been various fixes since 1.0.4 - in particular, we're using 
> an updated valgrind suppressions file to remove some incorrect error 
> reports from valgrind on 64 bit hosts.  If the errors still occur with 
> a snapshot, though, we'd like to know so that we can fix them before 
> the 1.0.5 release (which should be pretty soon now).
>
Hello Richard!
I attach log-file from svn version checking.
I doubt that problem is in valgrind incorrect reports. I also was unable 
to make a simple test on php5 after installing xapian-core and xapian 
php-binding.
php simple code that add one document to created Db.
<?php
include "xapian.php";
$_xapianDB = new XapianWritableDatabase("./database", 
Xapian::DB_CREATE_OR_OPEN);
$xapianDoc = new XapianDocument();
$xapianDoc->add_posting('1000',1);//, 100000);
$_xapianDB->add_document($xapianDoc);
?>

Thanks for your help,
Vaso.
-------------- next part --------------
make  check-TESTS
make[4]: Entering directory `/root/xapian/xapian-core-1.0.4_svn9809/tests'
Running test './btreetest' under valgrind
./btreetest completed test run: All 15 tests passed.
PASS: btreetest
Running test './quartztest' under valgrind
./quartztest completed test run: All 8 tests passed.
PASS: quartztest
Running test './apitest' under valgrind
Running tests with backend "none"...
./apitest completed test run: All 22 tests passed.
Running tests with backend "inmemory"...
Running test: collapsekey2... SKIPPED
./apitest completed test run: All 87 tests passed, 1 skipped.
./apitest completed test run: All 8 tests passed.
./apitest completed test run: All 5 tests passed.
./apitest completed test run: All 6 tests passed.
./apitest completed test run: All 2 tests passed.
Running test: adddoc5... SKIPPED
Running test: adddoc6... SKIPPED
Running test: crashrecovery1... SKIPPED
Running test: nomoredocids1... SKIPPED
Running test: synonymitor1... SKIPPED
Running test: termtoolong1... SKIPPED
./apitest completed test run: All 24 tests passed, 6 skipped.
./apitest completed test run: All 1 tests passed.
Running tests with backend "flint"...
Running test: zerodocid1... Conditional jump or move depends on uninitialised value(s)
Running test: puncterms1... Conditional jump or move depends on uninitialised value(s)
Running test: checkatleast3... Conditional jump or move depends on uninitialised value(s)
Running test: valuerange1... VALGRIND DETECTED A PROBLEM
Running test: collapsekey2... SKIPPED
Running test: sortrel1... VALGRIND DETECTED A PROBLEM
./apitest completed test run: 82 tests passed, 5 failed, 1 skipped.
./apitest completed test run: All 8 tests passed.
./apitest completed test run: All 5 tests passed.
./apitest completed test run: All 8 tests passed.
./apitest completed test run: All 2 tests passed.
./apitest completed test run: All 6 tests passed.
./apitest completed test run: All 2 tests passed.
./apitest completed test run: All 5 tests passed.
./apitest completed test run: All 4 tests passed.
Running test: adddoc4... VALGRIND DETECTED A PROBLEM
Running test: emptyterm2... VALGRIND DETECTED A PROBLEM
./apitest completed test run: 28 tests passed, 2 failed.
./apitest completed test run: All 1 tests passed.
Running tests with backend "multi"...
Running test: zerodocid1... VALGRIND DETECTED A PROBLEM
Running test: eliteset1... SKIPPED
Running test: eliteset2... SKIPPED
Running test: eliteset4... SKIPPED
Running test: puncterms1... VALGRIND DETECTED A PROBLEM
Running test: checkatleast3... VALGRIND DETECTED A PROBLEM
Running test: valuerange1... VALGRIND DETECTED A PROBLEM
Running test: collapsekey2... SKIPPED
Running test: sortrel1... VALGRIND DETECTED A PROBLEM
./apitest completed test run: 79 tests passed, 5 failed, 4 skipped.
./apitest completed test run: All 5 tests passed.
./apitest completed test run: All 6 tests passed.
Running tests with backend "quartz"...
Running test: collapsekey2... SKIPPED
./apitest completed test run: All 87 tests passed, 1 skipped.
./apitest completed test run: All 8 tests passed.
./apitest completed test run: All 5 tests passed.
Running test: positfromtermit1... SKIPPED
./apitest completed test run: All 5 tests passed, 1 skipped.
./apitest completed test run: All 2 tests passed.
./apitest completed test run: All 2 tests passed.
./apitest completed test run: All 4 tests passed.
Running test: synonymitor1... SKIPPED
Running test: metadata1... SKIPPED
Running test: termtoolong1... SKIPPED
./apitest completed test run: All 27 tests passed, 3 skipped.
./apitest completed test run: All 1 tests passed.
Running tests with backend "remoteprog"...
Running test: collapsekey2... SKIPPED
./apitest completed test run: All 87 tests passed, 1 skipped.
./apitest completed test run: All 8 tests passed.
Running test: positfromtermit1... SKIPPED
./apitest completed test run: All 5 tests passed, 1 skipped.
./apitest completed test run: All 2 tests passed.
./apitest completed test run: All 2 tests passed.
./apitest completed test run: All 4 tests passed.
Running test: emptyterm2... VALGRIND DETECTED A PROBLEM
Running test: crashrecovery1... SKIPPED
Running test: synonymitor1... SKIPPED
Running test: metadata1... SKIPPED
./apitest completed test run: 26 tests passed, 1 failed, 3 skipped.
Running tests with backend "remotetcp"...
Running test: collapsekey2... SKIPPED
./apitest completed test run: All 87 tests passed, 1 skipped.
./apitest completed test run: All 8 tests passed.
Running test: positfromtermit1... SKIPPED
./apitest completed test run: All 5 tests passed, 1 skipped.
./apitest completed test run: All 2 tests passed.
./apitest completed test run: All 2 tests passed.
./apitest completed test run: All 4 tests passed.
Running test: emptyterm2... VALGRIND DETECTED A PROBLEM
Running test: crashrecovery1... SKIPPED
Running test: synonymitor1... SKIPPED
Running test: metadata1... SKIPPED
./apitest completed test run: 26 tests passed, 1 failed, 3 skipped.
./apitest total: 805 tests passed, 14 failed, 27 skipped.
FAIL: apitest
Running test './internaltest' under valgrind
./internaltest completed test run: All 14 tests passed.
PASS: internaltest
Running test './stemtest' under valgrind
The random seed is 42
Please report the seed when reporting a test failure.
Running tests with danish stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with dutch stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with english stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with finnish stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with french stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with german stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with german2 stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with hungarian stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with italian stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with kraaij_pohlmann stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with lovins stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with norwegian stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with porter stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with portuguese stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with romanian stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with russian stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with spanish stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with swedish stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
Running tests with turkish stemmer...
Running test: stemdict... SKIPPED
./stemtest completed test run: All 2 tests passed, 1 skipped.
./stemtest total: All 38 tests passed, 19 skipped.
PASS: stemtest
Running test './queryparsertest' under valgrind
./queryparsertest completed test run: All 25 tests passed.
PASS: queryparsertest
Running test './termgentest' under valgrind
Running test: tg_spell1... Conditional jump or move depends on uninitialised value(s)
./termgentest completed test run: 1 tests passed, 1 failed.
FAIL: termgentest
===================
2 of 7 tests failed
===================
make[4]: *** [check-TESTS] Error 1
make[4]: Leaving directory `/root/xapian/xapian-core-1.0.4_svn9809/tests'
make[3]: *** [check-am] Error 2
make[3]: Leaving directory `/root/xapian/xapian-core-1.0.4_svn9809/tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/root/xapian/xapian-core-1.0.4_svn9809/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/xapian/xapian-core-1.0.4_svn9809'
make: *** [check] Error 2


More information about the Xapian-discuss mailing list