From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: "no process" gnus bug when moving messages from nnml to imap folder Date: Fri, 04 Feb 2011 10:38:57 +0200 Message-ID: <83d3n8b3dq.fsf@gnu.org> References: <8762t1dww9.fsf@gnus.org> <871v3orhhw.fsf@gnus.org> <87k4hgq1du.fsf@gnus.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1296808850 5653 80.91.229.12 (4 Feb 2011 08:40:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Feb 2011 08:40:50 +0000 (UTC) Cc: larsi@gnus.org, ding@gnus.org, emacs-devel@gnu.org To: Giorgos Keramidas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 04 09:40:46 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PlHDe-0006KD-In for ged-emacs-devel@m.gmane.org; Fri, 04 Feb 2011 09:40:42 +0100 Original-Received: from localhost ([127.0.0.1]:36307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlHDe-0008BV-1T for ged-emacs-devel@m.gmane.org; Fri, 04 Feb 2011 03:40:42 -0500 Original-Received: from [140.186.70.92] (port=34016 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlHDB-0007wx-Oi for emacs-devel@gnu.org; Fri, 04 Feb 2011 03:40:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlHBt-0007GV-82 for emacs-devel@gnu.org; Fri, 04 Feb 2011 03:38:57 -0500 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:58144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlHBs-0007GP-W8 for emacs-devel@gnu.org; Fri, 04 Feb 2011 03:38:53 -0500 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0LG300F003WF0G00@a-mtaout21.012.net.il> for emacs-devel@gnu.org; Fri, 04 Feb 2011 10:38:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.97.124]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LG300EMQ40PRB70@a-mtaout21.012.net.il>; Fri, 04 Feb 2011 10:38:51 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135560 gmane.emacs.gnus.general:76321 Archived-At: > From: Giorgos Keramidas > Date: Thu, 03 Feb 2011 13:33:57 -0800 > Cc: ding@gnus.org, emacs-devel@gnu.org > > 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. Don't some network-related functions return null characters if you try to read from a socket after the connection is closed?