From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.gnus.general,gmane.emacs.devel Subject: Re: "no process" gnus bug when moving messages from nnml to imap folder Date: Thu, 03 Feb 2011 13:33:57 -0800 Message-ID: References: <8762t1dww9.fsf@gnus.org> <871v3orhhw.fsf@gnus.org> <87k4hgq1du.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1296778102 13440 80.91.229.12 (4 Feb 2011 00:08:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Feb 2011 00:08:22 +0000 (UTC) Cc: emacs-devel@gnu.org, ding@gnus.org To: Lars Ingebrigtsen Original-X-From: ding-owner+M24670@lists.math.uh.edu Fri Feb 04 01:08:18 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pl9Dj-0006pP-SR for ding-account@gmane.org; Fri, 04 Feb 2011 01:08:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Pl9Cs-0007L0-IW; Thu, 03 Feb 2011 18:07:22 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pl6oe-0006WX-Gw for ding@lists.math.uh.edu; Thu, 03 Feb 2011 15:34:12 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pl6oZ-0002IA-Ef for ding@lists.math.uh.edu; Thu, 03 Feb 2011 15:34:12 -0600 Original-Received: from mail-gx0-f172.google.com ([209.85.161.172]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pl6oY-0000RB-H7; Thu, 03 Feb 2011 22:34:06 +0100 Original-Received: by gxk27 with SMTP id 27so724039gxk.17 for ; Thu, 03 Feb 2011 13:34:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:message-id :user-agent:mime-version:content-type; bh=+n+k4hFHtfycm/2BF9njBXj532Hrxs3/5X0KOpDqb9g=; b=Mc0ggmVihcHCEwOpJVh1q5nBR3e7hzxsWuSL1PSTSODSO+h9nE6KaomSV5KSGO/JjU B3VFzL0ieJ0tpQyyXkMmCPBPHY7KO3w9vmr6Q/NVp3s+gLsLfbBKQE/6b9HOgsp1lMu/ 5TVfqI3v2WkdjCFtbadxgGnwul7PSD6F8nYPg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=GsFEAhEl7kwkzISv+a6m30777TrOQlNVTPUbqHhIbORcnFdTK5LC4JRIwzdEsb9O2A eaMtJs6rRa+tfYgzxIVEI2WQJVIecM8ZAufuIg4qShN+8Fa8PJGUf5IFzxw7BBrr0FQl A4Ub+Xb1N77NxktjkTeDsX+tzTwyeVeDs/uJI= Original-Received: by 10.150.229.17 with SMTP id b17mr12414ybh.55.1296768839733; Thu, 03 Feb 2011 13:33:59 -0800 (PST) Original-Received: from gkeramidas-glaptop.gmail.com (dhcp-172-19-7-72.mtv.corp.google.com [172.19.7.72]) by mx.google.com with ESMTPS id p32sm589722ybk.20.2011.02.03.13.33.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Feb 2011 13:33:59 -0800 (PST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76318 gmane.emacs.devel:135537 Archived-At: On Thu, 03 Feb 2011 13:00:45 -0800, Lars Ingebrigtsen wrote: > I've verified that I can reproduce the error, but I'm not quite sure > what the solution is. The message is really corrupt (ending in a lot of > NUL characters), and Gmail just seems to close its connection. Does > their IMAP server segfault? I have no idea. > > Moving the same message to a Dovecot server works perfectly, so it seems > likely that it's just another shoddy Google product. > > Obviously the error message in this case would be better than a > backtrace, and I'll fix that at least. > > If anyone has any input on whether Gnus should try to, er, encode the > message in some way before pushing it to Gmail, I'm all ears. I think there are two slightly related problems at work here. One of them is that Gmail disconnects after we send NUL characters so we can't move the message and we throw a backtrace. Another is that once this happens *once* for some message, then it's no longer possible to `B m' even other normal messages. It seems that when Gmail drops the connection Gnus gets 'stuck' trying to recover from the dropped connection, or trying to use the connection that is no longer available.