delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/12/12:56:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Authentication-Warning: eos.vss.fsi.com: ford owned process doing -bs
Date: Wed, 12 Nov 2003 11:55:51 -0600 (CST)
From: Brian Ford <ford AT vss DOT fsi DOT com>
X-X-Sender: ford AT eos
To: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1 AT pervalidus DOT net>
cc: cygwin AT cygwin DOT com
Subject: Re: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a very
long time to close a certain IMAP INBOX)
In-Reply-To: <Pine.CYG.4.58.0311121205480.600@pervalidus>
Message-ID: <Pine.GSO.4.56.0311121147090.9584@eos>
References: <Pine DOT CYG DOT 4 DOT 58 DOT 0311110048230 DOT 1144 AT pervalidus>
<Pine DOT OSF DOT 4 DOT 58 DOT 0311101909180 DOT 444097 AT goedel DOT math DOT washington DOT edu>
<Pine DOT CYG DOT 4 DOT 58 DOT 0311110113180 DOT 3288 AT pervalidus>
<Pine DOT OSF DOT 4 DOT 58 DOT 0311101938000 DOT 444097 AT goedel DOT math DOT washington DOT edu>
<Pine DOT CYG DOT 4 DOT 58 DOT 0311110141330 DOT 3288 AT pervalidus> <20031111152943 DOT GA2396 AT cygbert DOT vinschen DOT de>
<Pine DOT CYG DOT 4 DOT 58 DOT 0311111409110 DOT 2016 AT pervalidus> <Pine DOT GSO DOT 4 DOT 56 DOT 0311111120510 DOT 9584 AT eos>
<Pine DOT CYG DOT 4 DOT 58 DOT 0311111606370 DOT 1292 AT pervalidus> <Pine DOT CYG DOT 4 DOT 58 DOT 0311120015450 DOT 2368 AT pervalidus>
<20031112093525 DOT GC7542 AT cygbert DOT vinschen DOT de> <Pine DOT CYG DOT 4 DOT 58 DOT 0311121205480 DOT 600 AT pervalidus>
MIME-Version: 1.0
X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id hACHuEwe032622

Corinna,

Did you get a chance to look at the strace output he posted here:

http://pervalidus.port5.com/tmp/imap.txt.gz

A glance there by trained eyes might save him some time.  I don't have the
time or the training for mine :).  It appears to be stuck in close on the
socket after is has shutdown?

On Wed, 12 Nov 2003, Frédéric L. W. Meunier wrote:
> On Wed, 12 Nov 2003, Corinna Vinschen wrote:
> > On Wed, Nov 12, 2003 at 12:20:57AM -0200, Fr?d?ric L. W. Meunier wrote:
> > > Now I'm trying with gdb, but don't know if the following is right.
> > >
> > > $ openssl s_client -connect mail.postaccesslite.com:993
> > > $ gdb
> > > (gdb) attach PPID of openssl
> > > (gdb) where
> > > #0  0x77f75a59 in ntdll!DbgUiConnectToDbg () from /c/WINDOWS/System32/ntdll.dll
> > > #1  0x77f5f31f in ntdll!KiUserCallbackDispatcher ()
> > >    from /c/WINDOWS/System32/ntdll.dll
> > > #2  0x00000005 in ?? ()
> > > #3  0x00000004 in ?? ()
> > > #4  0x00000001 in ?? ()
> > > #5  0x00e3ffd0 in ?? ()
> > > #6  0x81f2eda8 in ?? ()
> > > #7  0xffffffff in ?? ()
> > > #8  0x77fa88f0 in wcstombs () from /c/WINDOWS/System32/ntdll.dll
> > >
> > > Does that help ? What are #2 to #7 ? cygwin1.dll ? The OpenSSL
> > > DLLs ?
> >
> > Nobody can say that.  You should rebuild openssl for Cygwin and
> > use CFLAGS=-g for the make.  After unpacking the source package,
> > it's as easy as this:
> >
> > $ cd openssl-0.9.7c-1
> > $ ./config --prefix=/usr shared no-idea no-rc5 no-mdc2
> > $ make depend CFLAGS=--g
> > $ make CFLAGS=-g
>
> If the above gdb commands were right, using
>
> 2896329 Nov 12 11:56 cygcrypto-0.9.7.dll
> 618518 Nov 12 11:56 cygssl-0.9.7.dll
> 929614 Nov 12 11:56 openssl.exe
>
> didn't change anything.
>
From the strace output, I'd say you're stuck in the cygwin1.dll.  Try a
debug build of that instead.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
Phone: 314-551-8460
Fax:   314-551-8444

--
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