From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id ADDF6431FBC for ; Thu, 13 Dec 2012 08:14:12 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qh+6HCOHU7w1 for ; Thu, 13 Dec 2012 08:14:12 -0800 (PST) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 2D8C2431FB6 for ; Thu, 13 Dec 2012 08:14:12 -0800 (PST) Received: by mail-we0-f181.google.com with SMTP id t11so942508wey.26 for ; Thu, 13 Dec 2012 08:14:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:to:from :in-reply-to:cc:references:message-id:user-agent:subject:date; bh=GGAFXonHljeBzLhXYRl3l3JnHk7VhSrfmERJy0Mlov0=; b=uetKYJUtDiwi6m/0TdgNy4NlDGfs9xDIeY9o38tUUvcXfdNVm1C+Op4Pke7vEazKSs Nm0bl1pvhtqo61Y67Qi2dJsiH+jIPE3xC/HkFrrzaxqZJ9m8d8XAsm0edx2fAcH4Itx8 gI0Qrno8wm4VlSiWDT5gCNY02uX3Qs4veVjaF19sKwP6A8TqYEGl+La8yH13Fey7r4XH UkHaVJag/o87kzJ0YQD/tcTxUbFe5WKuASGjzIVqT80SdBKjucFnn+Ve35C+JfuWIDyB iu75O+AnKF6A6Ssh92m/9uClRzJWpINfL1fyi+XhwwaG1zIh7vV/uPI6YXqaI5j66r3K e5mQ== Received: by 10.180.80.201 with SMTP id t9mr4359018wix.0.1355415249708; Thu, 13 Dec 2012 08:14:09 -0800 (PST) Received: from localhost (dhcp-91-036.inf.ed.ac.uk. [129.215.91.36]) by mx.google.com with ESMTPS id o3sm8401416wic.0.2012.12.13.08.14.06 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 13 Dec 2012 08:14:07 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable To: "Jason A. Donenfeld" , Austin Clements From: Patrick Totzke In-Reply-To: References: <20121211182638.27237.98903@brick.lan> <20121212204922.GB6187@mit.edu> Message-ID: <20121213161600.28349.42261@megatron> User-Agent: alot/0.3.3+ Subject: Re: notmuch python bindings corrupt db index (was: gmail importer script) Date: Thu, 13 Dec 2012 16:16:00 +0000 Cc: notmuch@notmuchmail.org X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 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: Thu, 13 Dec 2012 16:14:12 -0000 Quoting Jason A. Donenfeld (2012-12-13 14:32:53) > On Wed, Dec 12, 2012 at 9:49 PM, Austin Clements wrote: > > There should be no way to corrupt the database at this level through > > the Xapian API, which means nothing libnotmuch can do (much less users > > of libnotmuch) should be able to corrupt the database. If you can > > reproduce the problem, it's probably a serious bug in Xapian, but it > > could also have been a file system bug or even random file system > > corruption. > = > Well that's... troubling. > = > Patrick: could you please backup and try to reproduce? Otherwise I'll > assume this was a one-off situation. I tried it again, concurrently triggered some modifications and killed the process afer a while. (my modifications were not flushed during the run of your script as the index was locked) The index seems to be OK. So I'm afraid I cannot reproduce this reliably. /p