Re: IMAP reconnect crash
- To: mutt-dev@xxxxxxxx
- Subject: Re: IMAP reconnect crash
- From: Kyle Wheeler <kyle-mutt-dev@xxxxxxxxxxxxxx>
- Date: Tue, 17 Feb 2009 18:18:24 -0600
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=gUdSGDH0ji9InZtYUyq4mq+v0AQ=; b=BTAE GPlB/BOp5jSxvC24YxtwbCkZUgrivwhscnvECRUYi1cHA8dl9e0EOSyFW2LIvfc3 yPJvvsTAnC6UKWhcpChR+LXZrklwIbck4sELisxVEz6RwOlsRDqHHKbIgRGGfbbF yflfJkYFdJu1i2Toei8QAxeGlmhdqVR1Gkyp594=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=OaruHgeoKGUUFm2KB7QaOEcy+AHP1qC3W5tmGBFrKZTD0DPKp61u5eJfDNQBKTP5JuNp0coxARHmn1mmz4/tmMEZ6lVndB3LRF1PQmtGhJkyYuqOkvr4kVbmVgB2w0CaVH4iGwKFqq8A/WmawIA96vOULmDf6zg0yIjwR/yp/v0=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20090217233506.GB64976@xxxxxxxxxxxxx>
- List-post: <mailto:mutt-dev@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-dev"
- Mail-followup-to: mutt-dev@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20090217233506.GB64976@xxxxxxxxxxxxx>
- Sender: owner-mutt-dev@xxxxxxxx
- User-agent: Mutt/1.5.19 (2009-01-27)
On Tuesday, February 17 at 05:35 PM, quoth Kyle Wheeler:
#3 0x000ca55c in mutt_socket_poll (conn=0x18c9000) at
mutt_socket.c:168
Something else I noticed... mutt_socket_poll relies on conn->bufpos,
conn->available, and conn->conn_poll, none of which are reset when a
connection gets closed. It seems to me that it ought to test for
conn->fd == -1 at the very least. But I don't fully understand the
logic of mutt's IMAP socket handling yet, so I may be missing
something. Is mutt perhaps attempting to re-use the socket, and simply
not reinitializing it correctly?
~Kyle
--
No one will ever win the battle of the sexes; there's too much
fraternizing with the enemy.
-- Henry Kissinger
Attachment:
pgphL46MevQck.pgp
Description: PGP signature