X-Spam-Check-By: sourceware.org Date: Mon, 31 Jul 2006 14:55:42 +0200 From: Corinna Vinschen To: Cygwin List Subject: Re: fetchmail socket errors with CVS cygwin build from 30 July Message-ID: <20060731125542.GI8152@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: Cygwin List References: <82fygicdwj DOT fsf AT vzell-de DOT de DOT oracle DOT com> <20060731102601 DOT GA22966 AT calimero DOT vinschen DOT de> <20060731104747 DOT GH8152 AT calimero DOT vinschen DOT de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060731104747.GH8152@calimero.vinschen.de> User-Agent: Mutt/1.4.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Jul 31 12:47, Corinna Vinschen wrote: > On Jul 31 12:26, Corinna Vinschen wrote: > > On Jul 31 11:38, Dr. Volker Zell wrote: > > > Hi > > > > > > In order to track down an xemacs segfault I build the latest cygwin1.dll > > > from CVS (30 July). With that dll fetchmail couldn't connect to my IMAP > > > server anymore. fetchmail works well with 1.5.21. > > > > > > Here is what I get when running under verbose mode: > > > > > > Jul 31 11:05:40 localhost fetchmail: PID 1740: awakened at Mon Jul 31 11:05:40 2006 > > > Jul 31 11:05:40 localhost fetchmail: PID 1740: 6.3.1 querying rgmemeaimap.oraclecorp.com (protocol IMAP) at Mon Jul 31 11 > > > :05:40 2006: poll started > > > Jul 31 11:05:40 localhost fetchmail: PID 1740: socket error while fetching from Dr DOT Volker DOT Zell AT rgmemeaimap DOT oraclecorp DOT com > > > Jul 31 11:05:40 localhost fetchmail: PID 1740: 6.3.1 querying rgmemeaimap.oraclecorp.com (protocol IMAP) at Mon Jul 31 11 > > > :05:40 2006: poll completed > > > Jul 31 11:05:40 localhost fetchmail: PID 1740: Query status=2 (SOCKET) > > > Jul 31 11:05:40 localhost fetchmail: PID 1740: sleeping at Mon Jul 31 11:05:40 2006 > > > > Can you please strip that down to a simple reproducible testcase in C? > > I just tried fetchmail over ssl myself and it works fine for me with the > current Cygwin from CVS. There must be something in your setup which > might cause this problem. I definitely need more information or better, > a simple testcase. Scratch that. I was able to reproduce it when not using SSL. The problem is apparently related to calling recv(..., MSG_PEEK). This isn't the first time fetchmail gets problems with WinSock's MSG_PEEK handling. I can't solve the underlying problem, but I can fix the additional problem which I introduced in the snapshot. I applied a fix to CVS. Thanks for the report, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/