delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/07/20/12:46:18

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=ckC9CSP/v8Tc6ivJdADTLtzndgG7plU4/3q8GDyFtEwOkXGM+mBhD
wc0iSS3M7Y/9jL8L+FeFkVQG6rcZh8qC/aSzATdEhfrdcQjSUy3JEcaoM9pQC/ZH
7kqjVMqRIh8LAJqhk1ZRLdqtHBUm0wb2NCkZiIQOPpv0VywRwoatqU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=6HTIL8hqakShEe1Cfn/ySudR8zU=; b=jDE3NDfD02MyqwozYgdQpMkRHz7B
+ZDLEsTAFnhgBShk9jrDOH74vPs3FXdehOkV8rKFMAdtCI+6jZ0W7zwyHnQGuF8w
6/3Aj6C/Q6RUFV82HbrmVV4/Lt9e8qdmB2mQzv/+tPPrmIEW6DinzWZ+0cfi/ip/
3SOjdFy3JAVAGLw=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 20 Jul 2015 18:45:56 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: ldd freezes
Message-ID: <20150720164556.GU3864@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <55ACBE9F DOT 4090605 AT gmail DOT com> <20150720094630 DOT GM3864 AT calimero DOT vinschen DOT de> <CAFWoy7FkuKLL=Z=Sm33Th2+zj+goUOAAs9OGff9L3aMLsE3N5w AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAFWoy7FkuKLL=Z=Sm33Th2+zj+goUOAAs9OGff9L3aMLsE3N5w@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--562f9N4fbIs+fPrJ
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul 20 07:41, Keith Christian wrote:
> Trouble here as well.  Runs for awhile and hangs.
>=20
> Output of strace ldd /bin/cygkdb5-7.dll attached for perusal.
>=20
> On Mon, Jul 20, 2015 at 3:46 AM, Corinna Vinschen
> <corinna-cygwin AT cygwin DOT 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

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

--562f9N4fbIs+fPrJ
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJVrSXEAAoJEPU2Bp2uRE+gAP4QAIqdVal4eB++YeXonGfvOroJ
kajKlnsqTLlu3VrpX2Sx2iNF3TnYiCSiMoQqlcwM2xAWWdI+BSsSWf0QpEJhckLR
hHdAImycB4GHkh/VsF7Xel+xQ7DqIM1tJRoWKhbYRLLM18i6Aloifir2xY3rIbY3
b0BT8VKhyLsqEC0lwkndiJPddnhVYoRr6IwZfebaHeZSAp0tjDNDEAKgVL2x0taq
DdUvbdt1aiKzVDPljPJTzs1ZRmNS4xQS+PTr1Qyhdwt9NWZDmtgHvppY2HG5gehb
d0MMohFPdlC5PwXDOkx4yBOGPapgZZ+RCO8TQXqAkFNsW9oIwoAPIhfnYMmHljEg
80d5zTefG0B+9Ky3r9gJ/xhoKuz43Atir9E5XPYO8BPNigMSv8HxEwe6/u4bSK61
K7b9+mwpcmenp6T/Y+QlAuSgHFYKr51NmKwy18LDbyP6UY5GKq22z2ieLHCAW7SY
3yJlto2/VzRogyxsCVWI60fTNSDZ4hEn8wV6RR/DW8INIEnSY+jEFj4H4RuJhx27
9QKCkaoeW++vPnnbkOQQA6aIqftJNZjSYg9Xt8At0ZTdRdKhs8035JlVEtlYQ18y
KX13+lGcqS5Y2VTdSroEmCwByPOE1bC3QXwM7ahBpjSv9nhkS5qkbhYcG8r+44vd
rSRfeW2eK8su/MtkymnM
=++W/
-----END PGP SIGNATURE-----

--562f9N4fbIs+fPrJ--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019