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 816096DE023F for ; Fri, 6 Apr 2018 09:12:52 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0.085 X-Spam-Level: X-Spam-Status: No, score=0.085 tagged_above=-999 required=5 tests=[AWL=0.205, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] 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 nlVXcVnn-wlw for ; Fri, 6 Apr 2018 09:12:51 -0700 (PDT) Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by arlo.cworth.org (Postfix) with ESMTPS id 07FA46DE023E for ; Fri, 6 Apr 2018 09:12:50 -0700 (PDT) Received: by mail-wm0-f43.google.com with SMTP id b127so4567413wmf.5 for ; Fri, 06 Apr 2018 09:12:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=+/wImrAsnH+gGDvjwkhStUqTHid/T9F6/JyaTXA0YE8=; b=tGLv684iQIHSHs3qp9q1a6guxI0NWnUzXP3F8n/6qFrwc3qgtUVrkN5dtBacexTri7 +lO1Rcpv+Gb1tEqoJv90xaPASq3dZqg3q54SELxyQB673oLuwijJvMIEzZRVG+XrlL14 SM6wBip8ZQiaRy9Qr/UL29BteoKnJvV2F9VPkpf9mpz38VXcWBhgvbOPGvk966gO9fMK /WFNZ3JcSfZTBJPxOpycMbenBaUfbOG63QiYXlD1SSNZCuITMc+xn0eKsF2Kne+CpUvJ 36pCm675SQh8C7jKgeHd5dNmY9XlV2IrUw16GfQchDELj7Pb44Jd0PcAXCAJUwHUV21C eVuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=+/wImrAsnH+gGDvjwkhStUqTHid/T9F6/JyaTXA0YE8=; b=p2quJiJhtrYPpcbtW3hrIpAuoMCNLxEFZx9UvPICLUO3GBBHRtmK1yl6EjYbuKlCrr 8Spd96ae7zvzlq1YGzELX010GHae4Lt80nXjFBGfF+ONldj8edAGjyFljuhOvs21AXKF kUuUn5EpOqbRdZbsOX7F8QCX4zIifKq33OuEQP1bD3XsEnX0Y8wAXOSFANoFBYpF0MaD scm4b03G2AHrSwkNv4sXAOwV5YweNx+p50x8p/r0UAJ8oThiNYIwcfIoMHl2ofirZ/GZ 1+sIYpy6xAPNfqveBegvYpD1jUCqI5c2j7ZikRJMMHl5W8YOMVE4aoO6+LEZ602anb5S 6BXQ== X-Gm-Message-State: ALQs6tCFwc3irzIUfSMzVnWKPhE9h4wUgKkjxa3jCWumcANdUa9d3x4s WhbwfGGLcK5t1N/SmD62sPv5XASb X-Google-Smtp-Source: AIpwx49xrayccvgX2WnrqgvjldIyESGQZt1a/N4ejsMC1zG6XGb+dkUShbpUVQxZIdQqh2tWJ50g/Q== X-Received: by 10.28.249.18 with SMTP id x18mr2430595wmh.122.1523031168776; Fri, 06 Apr 2018 09:12:48 -0700 (PDT) Received: from localhost.localdomain ([87.124.229.17]) by smtp.gmail.com with ESMTPSA id u110sm12369082wrc.72.2018.04.06.09.12.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Apr 2018 09:12:47 -0700 (PDT) To: notmuch@notmuchmail.org From: Javier Garcia Subject: Database corruption after clean rebuild Message-ID: <8a311263-a46f-3327-4054-d8d863fa0169@gmail.com> Date: Fri, 6 Apr 2018 18:12:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US X-Mailman-Approved-At: Fri, 06 Apr 2018 14:11:40 -0700 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: Fri, 06 Apr 2018 16:12:52 -0000 I can't build a healthy database for notmuch. My mail directory has quite a few mails, around 20,000. $ rm -rf ~/.mail/.notmuch $ notmuch new $ xapian-check ~/.mail/.notmuch/xapian/ > docdata: > blocksize=8K items=63 firstunused=1 revision=2 levels=0 root=0 > B-tree checked okay > docdata table structure checked OK > > termlist: > blocksize=8K items=43520 firstunused=8291 revision=2 levels=2 root=748 > xapian-check: DatabaseError: 1 unused block(s) missing from the free list, first is 0 I've tried to repair the database to no avail $ xapian-check ~/.mail/.notmuch/xapian/ F > docdata: > B-tree checked okay > docdata table structure checked OK > > termlist: > xapian-check: DatabaseError: 1 unused block(s) missing from the free list, first is 0 I've also tried to delete the mail directory and sync again with the same result. I used mbsync(isync) to build it. Notmuch version: 0.25 Xapian-core: 1.4.5 isync version: 1.2.3