Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Analyze: Velop Mail Shield v0.0.3
Date: Wed, 12 Nov 2003 12:07:34 -0200
From: =?ISO-8859-1?Q?Fr=E9d=E9ric_L=2E_W=2E_Meunier?= <1@pervalidus.net>
X-X-Sender: fredlwm@pervalidus
To: cygwin@cygwin.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: <20031112093525.GC7542@cygbert.vinschen.de>
Message-ID: <Pine.CYG.4.58.0311121205480.600@pervalidus>
References: <Pine.CYG.4.58.0311110048230.1144@pervalidus>
 <Pine.OSF.4.58.0311101909180.444097@goedel.math.washington.edu>
 <Pine.CYG.4.58.0311110113180.3288@pervalidus>
 <Pine.OSF.4.58.0311101938000.444097@goedel.math.washington.edu>
 <Pine.CYG.4.58.0311110141330.3288@pervalidus> <20031111152943.GA2396@cygbert.vinschen.de>
 <Pine.CYG.4.58.0311111409110.2016@pervalidus> <Pine.GSO.4.56.0311111120510.9584@eos>
 <Pine.CYG.4.58.0311111606370.1292@pervalidus> <Pine.CYG.4.58.0311120015450.2368@pervalidus>
 <20031112093525.GC7542@cygbert.vinschen.de>
X-Archive: encrypt
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

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.

-- 
How to contact me - http://www.pervalidus.net/contact.html

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

