Konstantin Ryabitsev <[email protected]> wrote:
> On 05/11/18 15:38, Eric Wong wrote:
> > Which Xapian (both Perl bindings and libxapian*.so) are you running?
> 
> [root@pdx-tst-mricon-1 share]# rpm -q xapian-core
> xapian-core-1.2.22-1.el7.x86_64

Ah, took me a while to realize what was going on :x
The Xapian files processes were lacking O_CLOEXEC and FD_CLOEXEC
usage and this was a problem in Xapian >= 1.2.21 && <= 1.2.24

Relevant Xapian commit should be e953a10dc4f0cc8e604fd2082c87b638c6a3382b
("Set CLOEXEC on the lock file fd and pipe")

I suspect the following patch works around the problem with or
without parallel=0

--- a/t/v2mirror.t
+++ b/t/v2mirror.t
@@ -50,7 +50,7 @@ for my $i (1..9) {
        $mime->header_set('Subject', "subject = $i");
        ok($v2w->add($mime), "add msg $i OK");
 }
-$v2w->barrier;
+$v2w->done;
 
 my %opts = (
        LocalAddr => '127.0.0.1',

Can you confirm?  I don't have 1.2.22 handy anymore, but I
reported this problem and got Olly to fix it back in 2016.
Thanks.
--
unsubscribe: [email protected]
archive: https://public-inbox.org/meta/

Reply via email to