Paul Wise <p...@debian.org> writes: > On Tue, 29 Mar 2016 08:24:01 -0300 David Bremner wrote: > >> pabs3 just mentioned the same problem on IRC. > > FTR: > > <pabs3> I got this from notmuch new --quiet, any thoughts? Internal error: > add_message returned unexpected value: 4 (notmuch-new.c:291) > <pabs3> first and only time I got the message yesterday. successful hourly > indexing since then > ... > <pabs3> hmm, different line number. I guess the code has changed a bit > <pabs3> based on that bug, I would guess a race condition between knowing a > directory entry exists, stat()ing it and something else deleting it > >> I don't really know what's going on here, but I wanted to make a note >> somewhere that the error reporting should really be improved here. We >> (upstream) should really catch that specific error code, and at least >> print out the name of the file causing the error.
As of upstream commit 0.21-98-g6e6bafe I have added some better error reporting in this case. This will be part of the next upstream, release, in a few weeks. d