Your message dated Fri, 17 Aug 2018 17:06:03 +0000
with message-id <[email protected]>
and subject line Bug#906007: fixed in xapian-core 1.4.3-2+deb9u2
has caused the Debian Bug report #906007,
regarding libxapian30: Cursor handling bug in glass backend
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
906007: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=906007
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libxapian30
Version: 1.4.3-2+deb9u1
Severity: important
Tags: patch upstream
Control: fixed -1 1.4.7-1

The glass backend (the default disk-based backend in Xapian 1.4.x) has a
bug with long-lived cursors on a table in a WritableDatabase which can
get into an invalid state, typically leading to a DatabaseCorruptError
being thrown with the message:

    Db block overwritten - are there multiple writers?

But in fact the on-disk database is not corrupted - it's just that
the cursor in memory has got into an inconsistent state.  It looks
like we'll always detect the inconsistency before it can cause on-disk
corruption but it's hard to be completely certain.

The bug is in code to rebuild the cursor when the underlying table
changes in ways which require that, which is a fairly rare occurrence
to start with, and only triggers when a block in the cursor has been
released, reallocated, and we tried to load it in the cursor at the
same level - the cursor wrongly assumes it has the current version
of the block.

The usage patterns of notmuch can trigger this bug (at least two
different notmuch users have hit it, and both reported 1.4.7 fixed
their problems).  It's also been encountered by at least one other
person in their own code (they provided a cut-down reproducer that
helped pin it down).

This bug was fixed in upstream 1.4.7 which was released and packaged
for Debian 3.5 weeks ago - no issues have been reported with the fix.

https://git.xapian.org/?p=xapian;a=commitdiff;h=70266397a517e213977f49c5b7c2c91389c88879

I'm intending to propose fixing this in stretch.

Cheers,
    Olly

--- End Message ---
--- Begin Message ---
Source: xapian-core
Source-Version: 1.4.3-2+deb9u2

We believe that the bug you reported is fixed in the latest version of
xapian-core, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Olly Betts <[email protected]> (supplier of updated xapian-core package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 13 Aug 2018 18:19:13 +1200
Source: xapian-core
Binary: libxapian30 libxapian30-dbg libxapian-dev xapian-tools xapian-doc 
xapian-examples
Architecture: source amd64 all
Version: 1.4.3-2+deb9u2
Distribution: stretch
Urgency: medium
Maintainer: Olly Betts <[email protected]>
Changed-By: Olly Betts <[email protected]>
Description:
 libxapian-dev - Development files for Xapian search engine library
 libxapian30 - Search engine library
 libxapian30-dbg - Debugging symbols for the Xapian Search engine library
 xapian-doc - Core Xapian documentation
 xapian-examples - Xapian simple example programs
 xapian-tools - Basic tools for Xapian search engine library
Closes: 906007
Changes:
 xapian-core (1.4.3-2+deb9u2) stretch; urgency=medium
 .
   * fix-glass-cursor-bug.patch: Fix glass backend bug with long-lived cursors
     on a table in a WritableDatabase which could incorrectly lead to
     DatabaseCorruptError being thrown when the database was actually OK.
     (Closes: #906007)
Checksums-Sha1:
 70f77363f6f9b3d10b5ae590007e3f35c26cc87d 2242 xapian-core_1.4.3-2+deb9u2.dsc
 8a01f2b7ee010586afdbd8ab8355e2e1fa4c8456 21116 
xapian-core_1.4.3-2+deb9u2.debian.tar.xz
 6657df975de869d0c14a36663686f7a74c5bcb7c 508434 
libxapian-dev_1.4.3-2+deb9u2_amd64.deb
 e856c3a0e781bf532396a71ea36b9a3a0f8a66d7 11183540 
libxapian30-dbg_1.4.3-2+deb9u2_amd64.deb
 55dbe5be0a0648837a67e69df2fbdd3f57b5a142 1068260 
libxapian30_1.4.3-2+deb9u2_amd64.deb
 d27d37913fd1d777e8d802fb72ddbd01ab784e91 7407 
xapian-core_1.4.3-2+deb9u2_amd64.buildinfo
 1e19a9d8db84ca59a48713254a4927f33a3664e4 1451298 
xapian-doc_1.4.3-2+deb9u2_all.deb
 897d202d70ddc4f15e38543e3b8a9e17da0d71ad 449014 
xapian-examples_1.4.3-2+deb9u2_amd64.deb
 fbfa70a5ff36ffe01c5dc9f462dc208b3bd7ca53 478568 
xapian-tools_1.4.3-2+deb9u2_amd64.deb
Checksums-Sha256:
 c6d1cb8acef42bd59da105f5895c72d812ca5e041d7f380a3917599d63ef2058 2242 
xapian-core_1.4.3-2+deb9u2.dsc
 5a74b72314fe5243f05bc03f9e694d4670a07d31f83c1547cc17cf9604ee6911 21116 
xapian-core_1.4.3-2+deb9u2.debian.tar.xz
 e31922a8741d30edc769dae5f20658d103a839f974101aa8ae175839df1d93e2 508434 
libxapian-dev_1.4.3-2+deb9u2_amd64.deb
 37ff5d776a5a58f6593f72963958201ca1757d46a335b6a3a4f4c530485dca0b 11183540 
libxapian30-dbg_1.4.3-2+deb9u2_amd64.deb
 058c2829ad67f1a8e8a074f3ed49b9c56b21a8f3ca14384f6ce25efe45d49d5e 1068260 
libxapian30_1.4.3-2+deb9u2_amd64.deb
 e90b74abb91eed41dc5729c07c281b0c2a83c633e404da174c440d2c4f587dcc 7407 
xapian-core_1.4.3-2+deb9u2_amd64.buildinfo
 92d33efb76e16a03758bc626a607aa3bd8461c91d320ada4ae9f63aab01bcb05 1451298 
xapian-doc_1.4.3-2+deb9u2_all.deb
 d5e5753b720c89a0670a5b4607c06dcaeaf1187d099ae41655f432b6537d155c 449014 
xapian-examples_1.4.3-2+deb9u2_amd64.deb
 ddc55dd6aecd8dca0746e2e60d52f8ae724de3fa848f6f32f1db28252daf01ff 478568 
xapian-tools_1.4.3-2+deb9u2_amd64.deb
Files:
 be535a7fbd2b725aae93b3407d85222f 2242 libs important 
xapian-core_1.4.3-2+deb9u2.dsc
 1c2d5fffd186a22ca0da496c19eae578 21116 libs important 
xapian-core_1.4.3-2+deb9u2.debian.tar.xz
 0509ac73d7825bf30394be7465284914 508434 libdevel optional 
libxapian-dev_1.4.3-2+deb9u2_amd64.deb
 9323f19eb0357cf8272634ff33276a98 11183540 debug extra 
libxapian30-dbg_1.4.3-2+deb9u2_amd64.deb
 51e880c3041597b056feaa4fb6626644 1068260 libs important 
libxapian30_1.4.3-2+deb9u2_amd64.deb
 6fdf46bd0de574904ffc0fd771afa46f 7407 libs important 
xapian-core_1.4.3-2+deb9u2_amd64.buildinfo
 f09dbabba9986a7da790594b92089c03 1451298 doc optional 
xapian-doc_1.4.3-2+deb9u2_all.deb
 51da2b8d2f6255ff3d6c6e3089416ab9 449014 doc optional 
xapian-examples_1.4.3-2+deb9u2_amd64.deb
 0273d0052d9088fade71af0dbc84330c 478568 utils optional 
xapian-tools_1.4.3-2+deb9u2_amd64.deb

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEECOJAD/f+j+3jrLUoGBR7BzutKwcFAltyIC0ACgkQGBR7Bzut
KwesCw/+PwcDdPfmcuyM89hH09WQHOMRLaq30bxbluBpdzziF0A3z9qCyc4RkqwN
U91c+Q3o9iInxotCI5Yiwajr1VzfQWCZ9Ec0DmIQNf1/SNMpYt3QtDe8F1Gtr8RM
F+pjMvt+9JOjZLVE8x9HWNDlNdCTkSmX/Qp2TQmM67trOTHGFDl3elRBnQ2bne0b
yJxnoeGIPc/670/oOInmfnhS2OIsZ/p7xn+BMFbkkJbRuElxllNI2ekX30KafYlH
BuxO8pMlwwkAh/Acu1jpZvLSotuLcmeg3gTNaxouf1eOiVDNARKRm6ynTIbH3+sl
O5NyGYxc8D7ssdrkQ84fUyIkMmEmfwRiVBScI6/94UprNTOiWlOwdXffNH7GF9a1
AU370c1CwCqjjmtjnjV6GSamTwZumwgck3/6y0rjccjkb9jdBe1hGw8e0T5vC3Pz
lTwRAsyGmxF2IM14BYiEXJIuo/hbNWulst+Vr0B73g5vB5qwFs6iIjEemuCj58ng
abvEOAPyas+dUicxInOX/Z6IiI8FWjFd+reb/S8XGiRSWma3lz/CworzKAlPDyrC
PklTB/M9WZEVn9V/YdL/VZEV+iYq3rdEPEOwJHKFE3QOXZMf/6W0Nyl9FDDB7Fzh
UULjVWX1LOhCkwN0jaOnopTberkRisPVEUHx1wQzteMmQwG+CIY=
=Myxp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to