From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 03 13:14:47 2018 Received: (at submit) by debbugs.gnu.org; 3 Feb 2018 18:14:47 +0000 Received: from localhost ([127.0.0.1]:55872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ei2Ks-0008HH-UN for submit@debbugs.gnu.org; Sat, 03 Feb 2018 13:14:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ei2Kr-0008H5-JO for submit@debbugs.gnu.org; Sat, 03 Feb 2018 13:14:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ei2Ki-0005GR-90 for submit@debbugs.gnu.org; Sat, 03 Feb 2018 13:14:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ei2Ki-0005GJ-62 for submit@debbugs.gnu.org; Sat, 03 Feb 2018 13:14:36 -0500 Received: from [78.192.157.63] (port=48378 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1ei2Kh-0006Id-QO for submit@debbugs.gnu.org; Sat, 03 Feb 2018 13:14:36 -0500 Received: by bzg.fr (Postfix, from userid 1000) id 92D7F380966; Sat, 3 Feb 2018 19:14:33 +0100 (CET) From: Bastien Guerry To: submit@debbugs.gnu.org (The Gnus Bugfixing Girls + Boys) Subject: Gnus hangs on: "Cannot find file in ~/Maildir/IMAPBOX/Sent/cur" X-Debbugs-Version: 5.130014 X-Debbugs-Package: gnus Date: Sat, 03 Feb 2018 19:14:33 +0100 Message-ID: <87k1vugcty.fsf@bzg.fr> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/27.0 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, I use Gnus v0.14 with Emacs 27.0.50, built from master on 2018-02-01. I=E2=80=99m syncing three IMAP inboxes using mbsync then read them in Gnus: (setq mail-sources nil gnus-select-method '(nnmaildir "Bastien" (directory "~/Maildir")) gnus-secondary-select-methods '((nnmaildir "imapbox1" (directory "~/Maildir/imapbox1")) (nnmaildir "imapbox2" (directory "~/Maildir/imapbox2")) (nnmaildir "imapbox3" (directory "~/Maildir/imapbox3")))) After I run mbsync (manually, when I want to check for new emails), I run =E2=80=98notmuch new=E2=80=99 to index emails. I manually launch mbsync when I need to fetch new emails. It worked perfectly until a few months ago. AFAIK my setup didn=E2=80=99t change, just the Gnus / Emacs version. The error I get: 1. I try to send an email. 2. Emacs hangs. 3. It seems a single C-g cannot stop the process. 4. I have to press C-g without releasing the key to get an error buffer. Then I kill the buffer to kill the process that is attached to it. 5. The error says that Gnus cannot find a file in a "~/Maildir/imapbox1/Sent/cur/" folder. When I check, the email is correctly sent, but the mark in the local IMAP inboxes looks wrong (I=E2=80=99m not sure). I have this file: 1517659181.M377519P14211Q0.bzg:2, while I would expect something like 1517659181.M377519P14211Q0.bzg,U=3D7290:2,S 6. Also, I have this archiving function: (defun my-gnus-message-archive-group (group-current) "Return prefered archive group." (let ((group-prefix (replace-regexp-in-string "[^:]+$" "" group-curre= nt))) (cond ((string-match "data" group-prefix) (concat group-prefix "Sent")) ((message-news-p) (concat "nnfolder+archive:" (format-time-string "%Y-%m") "-divers-news")) (t "nnmaildir+bzgfr:Sent")))) 7. I have ~7000 files in "~/Maildir/imapbox1/Sent/cur/" and writing a new file here might be rather slow (I haven=E2=80=99t properly tested). Could the bug be that Gnus is trying to access a file that isn=E2=80=99t written yet? =20=20=20=20 8. I guess there is some race condition while writing the sent file or something, but I cannot find the conditions on how to reproduce the bug. It happens at least once every hour, rendering Emacs and Gnus pretty unusable. Is anyone having similar problems? Are there parameters that I can test to track this bug? Thanks in advance for any help! Ma Gnus v0.14 GNU Emacs 27.0.50 (build 35, i686-pc-linux-gnu, GTK+ Version 3.18.9) of 2018-02-01 --=20 Bastien From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 03 13:38:54 2018 Received: (at 30339) by debbugs.gnu.org; 3 Feb 2018 18:38:54 +0000 Received: from localhost ([127.0.0.1]:55883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ei2iE-0000QE-AY for submit@debbugs.gnu.org; Sat, 03 Feb 2018 13:38:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ei2iC-0000Q1-BB for 30339@debbugs.gnu.org; Sat, 03 Feb 2018 13:38:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ei2i6-0004wa-EA for 30339@debbugs.gnu.org; Sat, 03 Feb 2018 13:38:47 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ei2i6-0004wW-Ad for 30339@debbugs.gnu.org; Sat, 03 Feb 2018 13:38:46 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1ei2i5-00087S-Nv; Sat, 03 Feb 2018 13:38:45 -0500 From: Glenn Morris To: Bastien Guerry Subject: Re: bug#30339: Gnus hangs on: "Cannot find file in ~/Maildir/IMAPBOX/Sent/cur" References: <87k1vugcty.fsf@bzg.fr> X-Spook: Power outage Storm Maritime domain awarenes Magnitude X-Ran: oOvMc~gH*`G^pV\3yJyu(eV5AW@{uD/b/(@BDravtkA@EXMk*kicqZN.)MhyrV*4'-Q"A^ X-Hue: brightblack X-Attribution: GM Date: Sat, 03 Feb 2018 13:38:45 -0500 In-Reply-To: <87k1vugcty.fsf@bzg.fr> (Bastien Guerry's message of "Sat, 03 Feb 2018 19:14:33 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30339 Cc: 30339@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Bastien Guerry wrote: > Ma Gnus v0.14 > GNU Emacs 27.0.50 (build 35, i686-pc-linux-gnu, GTK+ Version 3.18.9) > of 2018-02-01 AFAIK, Gnus hasn't been developed outside of Emacs for some time, and the version in Emacs master is the latest version. The version in Emacs is not "Ma Gnus v0.14", and it doesn't report bugs against the "gnus" package (which is how your report arrived at debbugs.gnu.org). So probably you should delete whatever standalone Gnus version you are using. (I doubt this has any relevance to your issue.) From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 05 07:56:47 2018 Received: (at 30339) by debbugs.gnu.org; 5 Feb 2018 12:56:47 +0000 Received: from localhost ([127.0.0.1]:57764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eigKE-0006rR-TU for submit@debbugs.gnu.org; Mon, 05 Feb 2018 07:56:47 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eigKD-0006rE-P9 for 30339@debbugs.gnu.org; Mon, 05 Feb 2018 07:56:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eigK3-00081V-GG for 30339@debbugs.gnu.org; Mon, 05 Feb 2018 07:56:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eigK3-00080v-CF for 30339@debbugs.gnu.org; Mon, 05 Feb 2018 07:56:35 -0500 Received: from [185.24.184.132] (port=50789 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1eigK1-0005oT-70; Mon, 05 Feb 2018 07:56:34 -0500 Received: by bzg.fr (Postfix, from userid 1000) id E0910381AE2; Mon, 5 Feb 2018 13:56:24 +0100 (CET) From: Bastien Guerry To: Glenn Morris Subject: Re: bug#30339: Gnus hangs on: "Cannot find file in ~/Maildir/IMAPBOX/Sent/cur" References: <87k1vugcty.fsf@bzg.fr> Date: Mon, 05 Feb 2018 13:56:24 +0100 In-Reply-To: (Glenn Morris's message of "Sat, 03 Feb 2018 13:38:45 -0500") Message-ID: <87fu6f4mtj.fsf@bzg.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30339 Cc: 30339@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Glenn, Glenn Morris writes: > Bastien Guerry wrote: > >> Ma Gnus v0.14 >> GNU Emacs 27.0.50 (build 35, i686-pc-linux-gnu, GTK+ Version 3.18.9) >> of 2018-02-01 > > AFAIK, Gnus hasn't been developed outside of Emacs for some time, > and the version in Emacs master is the latest version. Thanks a lot for this answer. I didn't suspect I could be running an old version of Gnus, but that was the case. > The version in Emacs is not "Ma Gnus v0.14", and it doesn't report bugs > against the "gnus" package (which is how your report arrived at > debbugs.gnu.org). So probably you should delete whatever standalone Gnus > version you are using. > > (I doubt this has any relevance to your issue.) I think my issue was twofold: maybe a bug in the previously installed version of Gnus, and perhaps the slowliness when writing files to the disc. I archived many emails from the INBOX I regularily use and I now use Gnus v5.13 (from Emacs master) and things seem better. Sadly, I cannot know for sure what was causing the bug. I will test with the new setup for a while and close the bug if things are okay. Thanks, -- Bastien From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 04 02:35:31 2018 Received: (at 30339-done) by debbugs.gnu.org; 4 Mar 2018 07:35:31 +0000 Received: from localhost ([127.0.0.1]:43455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esOB9-0005Ml-GS for submit@debbugs.gnu.org; Sun, 04 Mar 2018 02:35:31 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1esOB8-0005MW-7i for 30339-done@debbugs.gnu.org; Sun, 04 Mar 2018 02:35:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1esOAy-0003ZA-Jk for 30339-done@debbugs.gnu.org; Sun, 04 Mar 2018 02:35:24 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1esOAy-0003Z4-FY for 30339-done@debbugs.gnu.org; Sun, 04 Mar 2018 02:35:20 -0500 Received: from [37.173.99.217] (port=27542 helo=bzg.fr) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1esOAq-0007YJ-43; Sun, 04 Mar 2018 02:35:12 -0500 Received: by bzg.fr (Postfix, from userid 1000) id 6ADF1380BCB; Sun, 4 Mar 2018 08:35:06 +0100 (CET) From: Bastien Guerry To: Glenn Morris Subject: Re: bug#30339: Gnus hangs on: "Cannot find file in ~/Maildir/IMAPBOX/Sent/cur" References: <87k1vugcty.fsf@bzg.fr> <87fu6f4mtj.fsf@bzg.fr> Date: Sun, 04 Mar 2018 08:35:06 +0100 Message-ID: <87muzoi991.fsf@bzg.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30339-done Cc: 30339-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi, Bastien Guerry writes: > Sadly, I cannot know for sure what was causing the bug. I'm still unsure. Cleaning up my inboxes and reducing the size of the folders seems to go in the right direction, as the bug does not happen as often now, but it still happens sometimes. > I will test with the new setup for a while and close the bug if things > are okay. I think it is very specific to my setup so I'll mark this done. -- Bastien From unknown Sat Aug 16 21:22:08 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Apr 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator