This is the mail archive of the
mailing list for the Cygwin project.
Re: OpenSSL problem ? (Was Re: Pine 4.58 for Cygwin takes a verylong time to close a certain IMAP INBOX)
Did you get a chance to look at the strace output he posted here:
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.
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html