Hi all, I've tried building RPMs for RHEL5 and hit this problem in Search::Xapian: make test fails on test 37: ok 34 - check PositionIterator ok 35 - create TermIterator ok 36 - check TermIterator dubious Test returned status 0 (wstat 11, 0xb) DIED. FAILED tests 37-65 Failed 29/65 tests, 55.38% okay $ xapian-config --version xapian-config - xapian-core 1.0.4 $ cat /etc/redhat-release Red Hat Enterprise Linux Client release 5 (Tikanga) $ perl -v This is perl, v5.8.8 built for i386-linux-thread-multi Fails at the same point every time. All the best, Tim.
Olly Betts
2007-Nov-08 13:52 UTC
[Xapian-discuss] Perl make test fails on threads in rhel5
On Thu, Nov 08, 2007 at 01:21:19PM +0000, Tim Brody wrote:> ok 34 - check PositionIterator > ok 35 - create TermIterator > ok 36 - check TermIterator > dubious > Test returned status 0 (wstat 11, 0xb)Assuming that's a signal number, it died with a segmentation fault.> DIED. FAILED tests 37-65 > Failed 29/65 tests, 55.38% okayThe next test is trying to create a valueiterator from a document, which was tested in 1.0.3.0 by document.t so it's not just that the wrapper there is wrong (and the XS code and typemap look OK anyway). The test script hasn't actually created any threads at that point, so I wonder if this is unrelated to threads. If you just comment out "use threads;" and the block of 4 lines lower down where the threads are created and joined, does it still fail? Do you get any problems reported if you run the test under valgrind? Or perhaps run under gdb to get a backtrace from where the seg fault happens. Cheers, Olly