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
Date: Wed, 12 Nov 2003 10:35:25 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
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)
Message-ID: <20031112093525.GC7542@cygbert.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
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>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.CYG.4.58.0311120015450.2368@pervalidus>
User-Agent: Mutt/1.4.1i

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

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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

