This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ldd freezes


On Jul 20 07:41, Keith Christian wrote:
> Trouble here as well.  Runs for awhile and hangs.
> 
> Output of strace ldd /bin/cygkdb5-7.dll attached for perusal.
> 
> On Mon, Jul 20, 2015 at 3:46 AM, Corinna Vinschen
> <corinna-cygwin@cygwin.com> wrote:
> > On Jul 20 11:25, Marco Atzeri wrote:
> >> on
> >> CYGWIN_NT-6.1-WOW 2.1.0(0.287/5/3) 2015-07-14 21:26 i686 Cygwin
> >>
> >> Only on this specific lib, ldd freezes
> >> $ ldd cygkdb5-7.dll
> >>
> >>
> >> while cygcheck has no problem
> >> $ cygcheck ./cygkdb5-7.dll |grep -vi windows
> >> E:\cygwin\bin\cygkdb5-7.dll
> >>   E:\cygwin\bin\cyggssrpc-4.dll
> >>     E:\cygwin\bin\cyggssapi_krb5-2.dll
> >>       E:\cygwin\bin\cygk5crypto-3.dll
> >>         E:\cygwin\bin\cygkrb5support-0.dll
> >>           E:\cygwin\bin\cygwin1.dll
> >>           E:\cygwin\bin\cygintl-8.dll
> >>             E:\cygwin\bin\cygiconv-2.dll
> >>       E:\cygwin\bin\cygkrb5-3.dll
> >>         E:\cygwin\bin\cygcom_err-2.dll
> >>           E:\cygwin\bin\cyggcc_s-1.dll
> >>
> >>
> >> Just mine ?
> >
> > No, mine too.  Weird...

I think I found the cause.  ldd utilizes the Win32 debugging API.
For some reason I don;t know, loading the cygkdb5-7.dll emits
an exception STATUS_ENTRYPOINT_NOT_FOUND which hasn't been handled
by ldd yet.  Instead it ran in an endless loop.

I fixed this in the git repo and I've just uploaded new developer
snapshots to https://cygwin.com/snapshots/

You don't have to install the full package, there was only a change to
usr/bin/ldd.exe, which should run under any recent Cygwin DLL.  Please
give it a try.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpBb2AlpTADw.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]