From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:203:b4db::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mEMZBqNex2HlAgAAgWs5BA (envelope-from ) for ; Sat, 25 Dec 2021 19:10:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oFdfA6Nex2GfxwAA9RJhRA (envelope-from ) for ; Sat, 25 Dec 2021 19:10:43 +0100 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 99BBBECC5 for ; Sat, 25 Dec 2021 19:10:42 +0100 (CET) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 106725F71E; Sat, 25 Dec 2021 18:10:39 +0000 (UTC) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 2C8BF5F71A for ; Sat, 25 Dec 2021 18:10:36 +0000 (UTC) Received: by fethera.tethera.net (Postfix, from userid 1001) id B72A65FC42; Sat, 25 Dec 2021 13:10:35 -0500 (EST) Received: (nullmailer pid 3114498 invoked by uid 1000); Sat, 25 Dec 2021 18:10:34 -0000 From: David Bremner To: Gregor Zattler , notmuch Subject: Re: Bug: fatal error with notmuch new, second run starts indexing all over again In-Reply-To: <878tjre0f6.fsf@tethera.net> References: <20170703220750.dkornyh4ho7b2azy@len.workgroup> <87inj9w3nu.fsf@tethera.net> <20170706093101.cdjxdgvfy57a3kkb@len.workgroup> <87o9st3hz0.fsf@tethera.net> <20170709142147.czeett6stskxrnkp@len.workgroup> <87k23h3cgg.fsf@tethera.net> <20170713070444.tr4n2yfot5t4j663@len.workgroup> <87bmooebfs.fsf@tethera.net> <20170713135947.nqdagxnxe5sdubko@len.workgroup> <87y3rsp517.fsf@tesseract.cs.unb.ca> <20170714101436.dnacwh3rbwva5htp@len.workgroup> <878tjre0f6.fsf@tethera.net> Date: Sat, 25 Dec 2021 14:10:34 -0400 Message-ID: <87wnjsmu79.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: EP5F4FTL3EL6W4DXXOT3H7GQSVFSFJNV X-Message-ID-Hash: EP5F4FTL3EL6W4DXXOT3H7GQSVFSFJNV X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640455842; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-owner:list-unsubscribe:list-subscribe:list-post; bh=ydxTEP6/yxj+RZcJpnPvGH1sAqrFI2QWZGOKk9wLQNE=; b=LHlYG5XC5VGju2A47Uu7y/+XZUDk+9ETMKBggu3Mi1+hHp1R4kyv2FC/91Cjbq10Z/fV4J 5CT88lX9Dv0kLjCwNmIW1sxJeqDrTE7tAjQZkAXAW8gHYIvsCXGZ8nrsB/VleiAStVDQos +aY2hK42komS6TauXcGuBSMaxYeJbS8FfpPIRbZFiANLSzjpF3lr+ALKX98X8XHe0jemvg 45LSA2nvkygZSbCtrGKt52kydipTAMIiX4H4VloGu/ALZCvN1kCaNH79SRHRqCGa8JYpb5 5wL+zxhrAWR1PV2ry0h1Dmc66+TQy/bs6Zvye6UA7+o6wFFxziBVmDTgFut38A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640455842; a=rsa-sha256; cv=none; b=ahqRiFerfgo+KSobgoRh9JaV69LF+YocIuTHR86z7AOAXrXBvR21G3oIb53M3Z3+LbZ60k 8XYvprtgekRvW1kEcUR/kn4E45SvBQrsv6mDmykdA1W7eOgg5+YilFyBcPX8hRvSW6r051 RbRcd3AEmYhfmBnY6ki9PvEN2tkdw3YqApLmQOJeS6cFI8x+48Utfem95IpNJcPP4Yqa+K yVLy4GT+tmrqQ8aCCQ0Et8FfuuXhyIF5jXCSBPolEHhjAe8H61kF810hjmKjw2peVxphq3 2p+srHGgUu221wu2LUswT67fhMwtmSbOhwsdsCQbd0uDHgUZAIS9JwuU9rIrxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -2.24 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 99BBBECC5 X-Spam-Score: -2.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: WW65gCrFN78s David Bremner writes: > Gregor Zattler writes: > >> >> On my way reducing the corpus I had an intermediate corpus of >> ~43000 files on which notmuch new produced a xapian exeption. I >> kept this corpus but did not include the test results in my email >> because the later, smaller corpus seemed more interesting. >> >> I redid the test on this mid-sized corpus and I got an >> exeption (again): > [snip] >> Error: A Xapian exception occurred. Halting processing. >> Processed 27611 total files in 21m 2s (21 files/sec.). >> Added 27481 new messages to the database. >> Note: A fatal error was encountered: A Xapian exception occurred >> [Inferior 1 (process 6752) exited with code 01] >> (gdb) > > I can finally replicate the crash. I do crash in a different place > (after processing 25184 files), so it suggests a certain non-determinism > or dependence on the host configuration. > > Anyway, now that I have a test case, I'll try and figure out what the > underlying Xapian exeception is. As far as I know this was dixed in xapian 1.4.7, so marking it fixed for notmuch. d