Gnus development mailing list
 help / color / mirror / Atom feed
From: Giorgos Keramidas <gkeramidas@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org,  ding@gnus.org
Subject: Re: "no process" gnus bug when moving messages from nnml to imap folder
Date: Thu, 03 Feb 2011 13:39:31 -0800	[thread overview]
Message-ID: <xeiad3n8iyr0.fsf@kobe.laptop> (raw)
In-Reply-To: <xeiaipx0iz0a.fsf@kobe.laptop> (Giorgos Keramidas's message of "Thu, 03 Feb 2011 13:33:57 -0800")

On Thu, 03 Feb 2011 13:33:57 -0800, Giorgos Keramidas <gkeramidas@gmail.com> wrote:
> On Thu, 03 Feb 2011 13:00:45 -0800, Lars Ingebrigtsen <larsi@gnus.org> 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.

Here's what my *Messages* buffer says after one such connection drop,
for example:

  Opening nnimap server on gmail...
  Opening connection to imap.gmail.com via tls...
  Opening TLS connection to `imap.gmail.com'...
  Opening TLS connection with `gnutls-cli --insecure -p 993 imap.gmail.com'...failed
  Opening TLS connection with `gnutls-cli --insecure -p 993 imap.gmail.com --protocols ssl3'...failed
  Opening TLS connection with `openssl s_client -connect imap.gmail.com:993 -no_ssl2 -ign_eof'...done
  Opening TLS connection to `imap.gmail.com'...done
  Opening nnimap server on gmail...done
  Moving to nnimap+gmail:archive/2001: (3135)...
  nnimap-send-command: Buffer *nnimap imap.gmail.com 993  *nntpd**<2> has no process

It looks like Gnus *does* attempt to recover, reconnects to Gmail using
openssl for ssl encryption, and then, for some reason, fails to find the
connection it just opened.

At the same time, my buffer list *does* include at least _one_ valid
connections to Gmail's imap server:

   ,-----------------------------------------------------------------------
   | MR Name                                          Size Mode             Filename/Process
   | -- ----                                          ---- ----             ----------------
   |[ Default ]
   | *  *scratch*                                      463 Lisp Interaction
   | *  *unsent wide reply to Giorgos Keramidas*      2734 Message          ~/News/drafts/drafts/5
   | *% *Summary nnml:posted*                          977 Summary
   | *% *Article nnml:posted*                         1522 Article
   | *% *Group*                                       2331 Group
   | *  *Messages*                                    7852 Fundamental
   | *% *Summary nnml:mail.archive-2001*             78917 Summary
   | *  *gnus trace*                                  2099 Fundamental
   | *  *nnimap imap.gmail.com 993  *nntpd**             0 Fundamental
   | *  *imap log*                                   17217 Fundamental
=> | *  *nnimap imap.gmail.com nil  *nntpd**           491 Fundamental      (*nnimap*<1> run)
   |    .bbdb                                        18944 Fundamental      ~/.bbdb
   |    *sent wide reply to Lars Ingebrigtsen*        1636 Message          ~/News/drafts/drafts/2
   |    *sent mail to Lars Ingebrigtsen*              1808 Message          ~/News/drafts/drafts/4
   |  % *Article nnml:mail.archive-2001*                 0 Article
   | *  *nnimap imap.gmail.com 993  *nntpd**<2>          0 Fundamental
   | *  .newsrc-dribble                              18332 Fundamental      ~/.newsrc-dribble
   |
   |    17 buffers                                  155323                  5 files, 1 process
   `-----------------------------------------------------------------------

The `*nnimap imap.gmail.com 993 *nntpd**' buffer seems disconnected
though.  So does `*nnimap imap.gmail.com 993 *nntpd**<2>'.




  reply	other threads:[~2011-02-03 21:39 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <xeia1v3p8n5p.fsf@kobe.laptop>
     [not found] ` <8762t1dww9.fsf@gnus.org>
     [not found]   ` <xeia62t0x4f7.fsf@kobe.laptop>
     [not found]     ` <871v3orhhw.fsf@gnus.org>
     [not found]       ` <xeiavd10j1ug.fsf@kobe.laptop>
2011-02-03 21:00         ` Lars Ingebrigtsen
2011-02-03 21:33           ` Giorgos Keramidas
2011-02-03 21:39             ` Giorgos Keramidas [this message]
2011-02-03 21:42               ` Giorgos Keramidas
2011-02-04  8:38             ` Eli Zaretskii
2011-02-04  8:50               ` Giorgos Keramidas
2011-02-04  8:53               ` Lars Ingebrigtsen
2011-02-04 18:02                 ` Ted Zlatanov
2011-02-04 18:08                   ` Lars Ingebrigtsen
2011-02-04 18:28                     ` Ted Zlatanov
2011-02-04 19:14                       ` Lars Ingebrigtsen
2011-02-04 19:26                         ` Ted Zlatanov
2011-02-07 10:49                           ` Lars Ingebrigtsen
2011-02-04  8:58             ` Lars Ingebrigtsen
2011-02-04 18:23               ` Giorgos Keramidas
2011-02-07 11:42                 ` Lars Ingebrigtsen
2011-02-07 18:45                   ` Giorgos Keramidas
2011-02-14  3:09                     ` Lars Ingebrigtsen
2011-02-24 11:59                     ` Giorgos Keramidas
2011-02-25  4:53                       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xeiad3n8iyr0.fsf@kobe.laptop \
    --to=gkeramidas@gmail.com \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).