unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [Paul Wise] Bug#843127: notmuch: race condition in `notmuch new`?
@ 2016-11-04 12:46 David Bremner
  2016-11-04 16:26 ` David Bremner
  2016-11-04 18:47 ` Jani Nikula
  0 siblings, 2 replies; 25+ messages in thread
From: David Bremner @ 2016-11-04 12:46 UTC (permalink / raw)
  To: notmuch


[-- Attachment #0: Type: message/rfc822, Size: 8862 bytes --]

[-- Attachment #1.1: Type: text/plain, Size: 1911 bytes --]

Package: notmuch
Version: 0.23.1-1
Severity: normal

Last night I got this error from my `notmuch new --quiet` cron job. The
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.chianamo
add_file: Something went wrong trying to read or write a file
Error opening /path/to/mail/new/1478190211.H80553P18378.chianamo: No such file or directory
Note: A fatal error was encountered: Something went wrong trying to read or write a file

-- System Information:
Debian Release: stretch/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-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=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages notmuch depends on:
ii  libc6           2.24-5
ii  libglib2.0-0    2.50.1-1
ii  libgmime-2.6-0  2.6.20-8
ii  libnotmuch4     0.23.1-1
ii  libtalloc2      2.1.8-1
ii  zlib1g          1:1.2.8.dfsg-2+b3

Versions of packages notmuch recommends:
ii  alot           0.3.6-1
ii  gnupg-agent    2.1.15-4
pn  gpgsm          <none>
ii  notmuch-emacs  0.23.1-1
ii  notmuch-mutt   0.23.1-1

notmuch suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]

^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2016-12-03 11:24 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04 12:46 [Paul Wise] Bug#843127: notmuch: race condition in `notmuch new`? David Bremner
2016-11-04 16:26 ` David Bremner
2016-11-13  1:51   ` Austin Clements
2016-11-14 18:44     ` J. Lewis Muir
2016-11-14 18:59       ` David Bremner
2016-11-04 18:47 ` Jani Nikula
2016-11-05  2:15   ` Paul Wise
2016-11-05 12:57     ` [PATCH] cli: consider files vanishing during notmuch new non-fatal Jani Nikula
2016-11-05 13:22       ` Paul Wise
2016-11-12 15:39         ` David Bremner
2016-11-12 16:04           ` Brian Sniffen
2016-11-12 16:10             ` David Bremner
2016-11-12 16:15               ` David Bremner
2016-11-12 21:08               ` Brian Sniffen
2016-11-12 21:36                 ` David Bremner
2016-11-12 20:35             ` Jani Nikula
2016-11-16 11:43       ` David Bremner
2016-11-21 20:14         ` [PATCH v2] " Jani Nikula
2016-11-26  2:44           ` [PATCH] cli/new: document new exit code David Bremner
2016-11-26  9:17             ` Jani Nikula
2016-11-26  9:18               ` [PATCH] test: check the handling of files vanishing between scandir and indexing Jani Nikula
2016-11-27  9:59                 ` [PATCH v2] " Jani Nikula
2016-11-29  2:16                   ` David Bremner
2016-11-29  7:31                     ` Tomi Ollila
2016-12-03 11:24                   ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).