all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: Luca Capello <luca@pca.it>
Cc: 8959@debbugs.gnu.org
Subject: bug#8959: 24.0.50; [nnimap/Gnus] Dovecot panics trying to close mailboxes
Date: Thu, 30 Jun 2011 00:55:47 +0200	[thread overview]
Message-ID: <m3zkl0fdsc.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87pqlwtn1d.fsf@gismo.pca.it> (Luca Capello's message of "Wed, 29 Jun 2011 22:12:14 +0200")

Luca Capello <luca@pca.it> writes:

> At least from 20110226 (emacs-snapshot_1:20110210-1 according to my
> dpkg.log) sometime while checking for new emails Gnus hangs on the
> message "nnimap read $KILOBYTES".  The remote Dovecot log shows the
> following:
> =====
> Jun 29 21:10:08 mantissa dovecot: imap-login: Login: user=<luca.capello>, \
>  method=PLAIN, rip=[REMOVED], lip=[REMOVED, TLS
> Jun 29 21:10:10 mantissa dovecot: IMAP(luca.capello): Panic: Trying to close mailbox \
>  lists.Debian.pkg.CL-Debian with open transactions
> Jun 29 21:10:10 mantissa dovecot: IMAP(luca.capello): Raw backtrace: \
>  imap() [0x4a518a] -> imap() [0x4a51f3] -> imap() [0x4a48f6] -> \

[...]

> 21:28:36 2443 EXAMINE "lists.Debian.NewMaint" (QRESYNC (1277923816 1)).
> 21:28:36 2444 EXAMINE "lists.Debian.devel.general.2005" (QRESYNC (1277904533 1)).
> 21:28:36 2445 EXAMINE "lists.Debian.DebConf.Italian" (QRESYNC (1277903571 1)).
> 21:28:36 2446 EXAMINE "lists.Debian.pkg.CL-Debian" (QRESYNC (1277887546 1)).
> 21:28:36 2447 EXAMINE "lists.Debian.Hurd" (QRESYNC (1277899901 1)).
> 21:28:36 2448 EXAMINE "lists.DHCP-client" (QRESYNC (1277856131 1)).
> 21:28:36 2449 EXAMINE "lists.Linux.BlueZ-devel" (QRESYNC (1277835700 1)).

[...]

> * OK [UIDVALIDITY 1285242750] UIDs valid.
> * OK [UIDNEXT 9] Predicted next UID.
> * OK [HIGHESTMODSEQ 1] Highest.
> 1831 OK [READ-ONLY] Select completed..
> * OK [CLOSED] Previous mail*** Fatal error: A TLS packet with unexpected length was received.
> *** Server has terminated the connection abnormally.
>
> Process *nnimap* exited abnormally with code 1
> =====
>
> ===== [buffer: `*nnimap home.pca.it nil  *nntpd**<4>']
> * ENABLED QRESYNC.
> 2539 OK Enabled..
>
> Process *nnimap* killed
> =====

There seems to be two problems here.

1) Your dovecot is apparently segfaulting because of something Gnus is
doing.  Does it stop doing that if you `M-g' the
"lists.Debian.pkg.CL-Debian" group?  I have a suspicion that dovecot's
QRESYNC support is fragile, but I'm not sure what nnimap can do about
that except blacklist Dovecot from using QRESYNC.  Which kinda sucks.

2) When dovecot shut down the connection, nnimap seemed to open up a new
connection buffer, and starts waiting for the response to the previous
command there.  That's obviously an nnimap bug, and I'll see whether I
can chase that one down, but it's kinda difficult to reproduce...
hm...  perhaps if I use an external TLS connection, I can kill the
external program while it's working.  

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





  reply	other threads:[~2011-06-29 22:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-29 20:12 bug#8959: 24.0.50; [nnimap/Gnus] Dovecot panics trying to close mailboxes Luca Capello
2011-06-29 22:55 ` Lars Magne Ingebrigtsen [this message]
2011-06-29 23:10   ` Lars Magne Ingebrigtsen
2011-06-30  0:42     ` Luca Capello
2011-06-30  0:34   ` Luca Capello
2011-06-30  0:44     ` Lars Magne Ingebrigtsen
2011-07-06 13:19       ` Luca Capello

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=m3zkl0fdsc.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=8959@debbugs.gnu.org \
    --cc=luca@pca.it \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.