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 48E786DE0173 for ; Fri, 4 Nov 2016 05:46:47 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.006 X-Spam-Level: X-Spam-Status: No, score=-0.006 tagged_above=-999 required=5 tests=[AWL=0.005, 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 yHO2GTpMmgnR for ; Fri, 4 Nov 2016 05:46:46 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id B62EE6DE00B8 for ; Fri, 4 Nov 2016 05:46:46 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1c2dt4-0001Ej-22; Fri, 04 Nov 2016 08:46:26 -0400 Received: (nullmailer pid 24297 invoked by uid 1000); Fri, 04 Nov 2016 12:46:41 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: [Paul Wise] Bug#843127: notmuch: race condition in `notmuch new`? Date: Fri, 04 Nov 2016 09:46:41 -0300 Message-ID: <87a8dfl8em.fsf@tesseract.cs.unb.ca> MIME-Version: 1.0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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, 04 Nov 2016 12:46:47 -0000 Return-path: Envelope-to: david@tethera.net Delivery-date: Fri, 04 Nov 2016 00:56:53 -0400 Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]) by fethera.tethera.net with esmtp (Exim 4.84_2) (envelope-from ) id 1c2WYf-0004D1-18 for david@tethera.net; Fri, 04 Nov 2016 00:56:53 -0400 Received: from ticharich.debian.org ([2001:41c8:1000:21::21:23]) from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=ticharich.debian.org,EMAIL=hostmaster@ticharich.debian.org (verified) by mailly.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1c2WYw-0004xR-E4 for david@tethera.net; Fri, 04 Nov 2016 04:57:10 +0000 Received: from localhost ([::1] helo=ticharich.debian.org) by ticharich.debian.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c2WYw-0003i4-2H for david@tethera.net; Fri, 04 Nov 2016 04:57:10 +0000 Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]) from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=mailly.debian.org,EMAIL=hostmaster@mailly.debian.org (verified) by ticharich.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1c2WYs-0003hx-Ca for dispatch+notmuch@tracker.debian.org; Fri, 04 Nov 2016 04:57:06 +0000 Received: from quantz.debian.org ([2001:41c8:1000:21::21:28]) from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=quantz.debian.org,EMAIL=hostmaster@quantz.debian.org (verified) by mailly.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1c2WYs-0004xA-3c for dispatch+notmuch@tracker.debian.org; Fri, 04 Nov 2016 04:57:06 +0000 Received: from qa by quantz.debian.org with local (Exim 4.84_2) (envelope-from ) id 1c2WYr-00081i-Q3 for dispatch+notmuch@tracker.debian.org; Fri, 04 Nov 2016 04:57:05 +0000 Received: from buxtehude.debian.org ([2607:f8f0:614:1::1274:39]) from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=buxtehude.debian.org,EMAIL=hostmaster@buxtehude.debian.org (verified) by quantz.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1c2WYr-00081Y-JG for notmuch@packages.qa.debian.org; Fri, 04 Nov 2016 04:57:05 +0000 Received: from debbugs by buxtehude.debian.org with local (Exim 4.84_2) (envelope-from ) id 1c2WYp-000380-WA; Fri, 04 Nov 2016 04:57:04 +0000 X-Loop: owner@bugs.debian.org Subject: Bug#843127: notmuch: race condition in `notmuch new`? Reply-To: Paul Wise , 843127@bugs.debian.org Resent-From: Paul Wise Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Carl Worth X-Loop: owner@bugs.debian.org Resent-Date: Fri, 04 Nov 2016 04:57:01 +0000 Resent-Message-ID: X-Debian-PR-Message: report 843127 X-Debian-PR-Package: notmuch X-Debian-PR-Keywords: X-Debian-PR-Source: notmuch Received: via spool by submit@bugs.debian.org id=B.147823515610708 (code B); Fri, 04 Nov 2016 04:57:01 +0000 Received: (at submit) by bugs.debian.org; 4 Nov 2016 04:52:36 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02 (2014-02-07) on buxtehude.debian.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=4.0 tests=BAYES_00,FOURLA, FROMDEVELOPER,HAS_PACKAGE,PGPSIGNATURE,RP_MATCHES_RCVD autolearn=ham autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 10; hammy, 150; neutral, 138; spammy, 0. spammytokens: hammytokens:0.000-+--H*c:pgp-sha256, 0.000-+--systemd, 0.000-+--H*o:Debian, 0.000-+--UD:8.dfsg-2, 0.000-+--H*F:U*pabs Received: from master.debian.org ([2001:41b8:202:deb:216:36ff:fe40:4001]) from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=master.debian.org,EMAIL=hostmaster@master.debian.org (verified) by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1c2WUW-0002mV-6h for submit@bugs.debian.org; Fri, 04 Nov 2016 04:52:36 +0000 Received: from pabs by master.debian.org with local (Exim 4.84_2) (envelope-from ) id 1c2WUU-0007Lp-4B for submit@bugs.debian.org; Fri, 04 Nov 2016 04:52:34 +0000 Message-ID: <1478235145.20112.39.camel@debian.org> From: Paul Wise To: Debian Bug Tracking System Date: Fri, 04 Nov 2016 12:52:25 +0800 Organization: Debian Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-K8R/uIEk0KudNO4FVrpv" X-Mailer: Evolution 3.22.1-2 Mime-Version: 1.0 Delivered-To: submit@bugs.debian.org Delivered-To: notmuch@packages.qa.debian.org Delivered-To: dispatch+notmuch@tracker.debian.org X-Loop: dispatch@tracker.debian.org X-Distro-Tracker-Package: notmuch X-Distro-Tracker-Keyword: bts List-Id: X-Debian-Package: notmuch X-Debian: tracker.debian.org X-PTS-Package: notmuch X-PTS-Keyword: bts Precedence: list List-Unsubscribe: --=-K8R/uIEk0KudNO4FVrpv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Package: notmuch Version: 0.23.1-1 Severity: normal Last night I got this error=C2=A0from my `notmuch new --quiet` cron job. Th= e file that the error message complains about is now in the cur directory of the maildir at the following path. /path/to/mail/cur/1478190211.H80553P18378.chianamo:2, I wonder if this some kind of race condition in `notmuch new` processing. Perhaps it should be using inotify to find out about file movements? Unexpected error with file /path/to/mail/new/1478190211.H80553P18378.chiana= mo add_file: Something went wrong trying to read or write a file Error opening /path/to/mail/new/1478190211.H80553P18378.chianamo: No such f= ile or directory Note: A fatal error was encountered: Something went wrong trying to read or= write a file -- System Information: Debian Release: stretch/sid =C2=A0 APT prefers testing-debug =C2=A0 APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstabl= e-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental= -debug'), (700, 'experimental'), (690, 'buildd-experimental') Architecture: amd64 (x86_64) Kernel: Linux 4.7.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=3Den_AU.utf8, LC_CTYPE=3Den_AU.utf8 (charmap=3DUTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages notmuch depends on: ii=C2=A0=C2=A0libc6=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A02.24-5 ii=C2=A0=C2=A0libglib2.0-0=C2=A0=C2=A0=C2=A0=C2=A02.50.1-1 ii=C2=A0=C2=A0libgmime-2.6-0=C2=A0=C2=A02.6.20-8 ii=C2=A0=C2=A0libnotmuch4=C2=A0=C2=A0=C2=A0=C2=A0=C2=A00.23.1-1 ii=C2=A0=C2=A0libtalloc2=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A02.1.8-1 ii=C2=A0=C2=A0zlib1g=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A01:1.2.8.dfsg-2+b3 Versions of packages notmuch recommends: ii=C2=A0=C2=A0alot=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A00.3.6-1 ii=C2=A0=C2=A0gnupg-agent=C2=A0=C2=A0=C2=A0=C2=A02.1.15-4 pn=C2=A0=C2=A0gpgsm=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 ii=C2=A0=C2=A0notmuch-emacs=C2=A0=C2=A00.23.1-1 ii=C2=A0=C2=A0notmuch-mutt=C2=A0=C2=A0=C2=A00.23.1-1 notmuch suggests no packages. -- no debconf information --=20 bye, pabs https://wiki.debian.org/PaulWise --=-K8R/uIEk0KudNO4FVrpv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- iQIcBAABCAAGBQJYHBQJAAoJEDEWul6f+mmjCwwP/jg3oGNrm5gHYOEnTmSxmIvA lzzSQHW//tCzcwdE1QQwdWgObcReD4W/k6nBpyyw6PcHEUf7fNN3FOa5bo3RdQvU 4kjTiBaPyeKemgWvrk0+sqLSqyyofcYElrYJGCOMVYzCShvqFOHyeuuo+YbHThBN R8DFNeFo46F6+ijlgaa3ePeqGniNlGIa9U+dS2xO/QgDMjcdGwdIwHjPKhX4NqpB nM3jKSS2UGjmR5SRNTyGxz6+J54QP8FLhX9w/bJ1vB3eGORLac7HlU/kYp2m3iLm CrPsUL/1yE+9VgECEQ8+XHJKUAbqitHnRV4613O0/5qZx+1lM/yYuwG4HnqqRCsE RReE8J/qndAuJa9gkbYqRtjvqTOVtbBXxhuCRzp1Ko0wcS6n8ZoyCRYdwc0oyCcO cd7B7P8Bk08ANORWgeX0hUBhA5LiRKuWt8bpFrJirAfCq9XjLs22TJpt5x4OlYQ2 PP4qYrccl37AH/vBj6cGIHswG9JE0dKgVo8VzQfPemEhchsUZclFZCS6tl6m9/Gv naeg4kW56RdygxheQhbGK860VT/mV3Qe7DSO7IBK0IugX0VLS6LmziCj2Je+L0mq afSlLAzeq7DKftZnCX7i2rlU8G69WFWNzeQscvjg9XhB+djNYeF7YQLMkItSVnEr zt/UXxulBB/2gZjBHJca =hZUW -----END PGP SIGNATURE----- --=-K8R/uIEk0KudNO4FVrpv--