public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: ldd freezes
Date: Mon, 20 Jul 2015 16:46:00 -0000	[thread overview]
Message-ID: <20150720164556.GU3864@calimero.vinschen.de> (raw)
In-Reply-To: <CAFWoy7FkuKLL=Z=Sm33Th2+zj+goUOAAs9OGff9L3aMLsE3N5w@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1788 bytes --]

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 #2: Type: application/pgp-signature, Size: 819 bytes --]

      reply	other threads:[~2015-07-20 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-20  9:25 Marco Atzeri
2015-07-20  9:46 ` Corinna Vinschen
2015-07-20 13:41   ` Keith Christian
2015-07-20 16:46     ` Corinna Vinschen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150720164556.GU3864@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).