[Xapian-discuss] Perl threads and Xapian - incompatibility?

Olly Betts olly at survex.com
Thu Nov 1 01:02:00 GMT 2007


On Sat, Oct 20, 2007 at 04:30:46AM +0100, Olly Betts wrote:
> I just had a go at writing a testcase to ensure this works, but some
> classes still SEGV.  I suspect its those which are implemented only by
> XS code.  I'll investigate.

Yes, it was indeed just the Stem class which was only an XS wrapper.

I've now added CLONE_SKIP subs to all the classes and written a test
which checks that this actually works.

It appears Perl 5.8.8 has a bug - the documentation says they're copied
as unblessed undef values, but they aren't undef.  I've filed a bug
report in Perl's bug system, but this doesn't stop this being useful.

So this should be resolved in Search::Xapian 1.0.4.0, which I've just
uploaded to CPAN.

Cheers,
    Olly



More information about the Xapian-discuss mailing list