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 EEBB9431FBD for ; Sun, 26 Jan 2014 05:19:31 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001] 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 9o35Ssh4TiH0 for ; Sun, 26 Jan 2014 05:19:24 -0800 (PST) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 3220A431FBC for ; Sun, 26 Jan 2014 05:19:24 -0800 (PST) Received: from boo.workgroup ([87.187.157.204]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0Lx8ZJ-1VEOBv2LFJ-016bpH for ; Sun, 26 Jan 2014 14:19:22 +0100 Received: from grfz by boo.workgroup with local (Exim 4.82) (envelope-from ) id 1W7PcK-0008Sz-JF; Sun, 26 Jan 2014 14:19:16 +0100 Date: Sun, 26 Jan 2014 14:18:46 +0100 From: Gregor Zattler To: notmuch Subject: Bug: notmuch new chokes on dangling symlinks and quits Message-ID: <20140126131846.GA10844@boo.workgroup> Mail-Followup-To: notmuch MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: error4me@gmx.de X-Provags-ID: V03:K0:2uCsZxxxJoAkcNEkUxQDNHY5Fq0dKBvKwdceilIcYcqJeCyk5ie TEjfPO7G6O547B1Nhv7d1MrrU89KahJzeZbCgO3OKqm0qc2giOkSfJd89YTd8jr25r38b78 ry7RUhx/kTDhU5+kRqQnxkzPgX37lCwvhHlm0Zw3SqJ40y9Pn7SfOg0XDB59v7SLFa+Sxsi 1JQTj4x015py0e08Z/LTA== 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: Sun, 26 Jan 2014 13:19:32 -0000 Dear notmuch developers, notmuch new quits operation if it hit's a dangling symlink: Error reading file /home/grfz/notmuch2/Mail/findex/cur/123456789.684055.mairix:2,: No such file or directory Note: A fatal error was encountered: Something went wrong trying to read or write a file Processed 85 total files in 1s (47 files/sec.) I consider this to be a bug. Instead notmuch should simply ignore the symlink. This is especially problematic while indexing a huge amount of mail the first time and notmuch hits the dangling symlink at an early stage of indexing. Ciao, Gregor -- -... --- .-. . -.. ..--.. ...-.-