delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/07/31/08:55:55

X-Spam-Check-By: sourceware.org
Date: Mon, 31 Jul 2006 14:55:42 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Cygwin List <cygwin AT cygwin DOT com>
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 <cygwin AT cygwin DOT com>
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
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
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019