From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 26EA66DE01E0 for ; Sun, 29 Apr 2018 07:27:53 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rp7qhj4eZ9Up for ; Sun, 29 Apr 2018 07:27:52 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 502156DE01DB for ; Sun, 29 Apr 2018 07:27:52 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1fCnIr-0007oU-OV; Sun, 29 Apr 2018 10:27:49 -0400 Received: (nullmailer pid 20119 invoked by uid 1000); Sun, 29 Apr 2018 14:27:48 -0000 From: David Bremner To: Gregor Zattler , notmuch@notmuchmail.org Cc: xapian-discuss@lists.xapian.org Subject: Re: Database corruption after clean rebuild In-Reply-To: <87po2iqpuf.fsf@len.workgroup> References: <8a311263-a46f-3327-4054-d8d863fa0169@gmail.com> <874lknwztk.fsf@tethera.net> <87y3hzuw5z.fsf@tethera.net> <5bde652e-8ffe-d43d-106d-a43c7a1b4126@gmail.com> <87po2iqpuf.fsf@len.workgroup> Date: Sun, 29 Apr 2018 11:27:48 -0300 Message-ID: <87h8nugk9n.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Apr 2018 14:27:53 -0000 Gregor Zattler writes: > Hi notmuch developers, > > I also had this database corruption, I waited for the fix to land > in notmuch 0.26.2, build it, moved the xapian directory away, did > a notmuch new and restored the tags from a dump. But the problem > remains: > > ~$ xapian-check ~/Mail/.notmuch/xapian > docdata: > blocksize=8K items=10841 firstunused=75 revision=82 levels=1 root=2 > B-tree checked okay > docdata table structure checked OK > > termlist: > blocksize=8K items=1893162 firstunused=368983 revision=82 levels=3 root=177608 > xapian-check: DatabaseError: 1 unused block(s) missing from the free list, first is 0 This is a known bug in Xapian, fixed in xapian master. The message will go away if you run notmuch-compact, or you can just ignore it. d