delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/05/24/18:18:43

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 44OMIhYC3484740
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=vpNA3BPf
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 27B70385841C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1716589122;
bh=lnf8RNUt5S56Xpjeeq6n+kwKvQTH/TKKQ5aj4ylUb08=;
h=Date:To:Cc:Subject:In-Reply-To:References:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=vpNA3BPf/Zs7JdhzPOheyDt5BOL9enw21P3tRsPyEXMdxpuLtffnkgUE4sWRCukUP
fnkfrpqE45k4hU92fcpPjw6QXpG5RZv/uJDL9233LeTN8oZIM4yorS7zKl8sz3ASZT
jgNhuimlJz5yrwqgYrzaRTIJGZithIooslLxuKRo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A978B3858D29
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A978B3858D29
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716589068; cv=none;
b=ehCgcFvtrBNcHfaJrDmBGhmfzpgMQB5JNEZG9XDrBg1PwMNmvto1xVbiWc4QvtGgajwnmC80+X77mHsJYQ1ZFDuojTjsX6Zfmdbmd31TW3WfUbvLrctrCgqxWPIvDVLgazJaxgFVMnh7cY/4GE9RaPoFal4v7c7tS/4NDJYi7rk=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1716589068; c=relaxed/simple;
bh=0yYo9M3YnTJq9s7HTxlDKiri6gwcNhhcy19xzbGBh/Y=;
h=Date:From:To:Subject:Message-Id:Mime-Version:DKIM-Signature;
b=kw3HyQlXtkrU6q3J8mUFQsm4yIHh/czUuLD+NlCJiuy6imUc0yP6XJe8vi31r0PoWuuIKyG4zXhQvM6jUS6/+yEV109TiPVKwdOfv/6gNtIMbfc7HNDARe0tzbB6Nay0Z06thRLqLtN7mB9+8j2Dq+86aRcajtobVbiJCPIIDPs=
ARC-Authentication-Results: i=1; server2.sourceware.org
Date: Sat, 25 May 2024 07:17:39 +0900
To: cygwin AT cygwin DOT com
Cc: Jeremy Drake <cygwin AT jdrake DOT com>
Subject: Re: frequent hangs running ldd
Message-Id: <20240525071739.167d0f2b66b3dd8d2313be19@nifty.ne.jp>
In-Reply-To: <0bd2f49b-93f6-7db4-32b6-7f3021db211e@jdrake.com>
References: <fd3b2d14-0d16-9e66-f7ea-daadc0c5bfcc AT jdrake DOT com>
<20240525045424 DOT ac58c0ff5e325706b2a5f014 AT nifty DOT ne DOT jp>
<0bd2f49b-93f6-7db4-32b6-7f3021db211e AT jdrake DOT com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-5.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On Fri, 24 May 2024 14:46:40 -0700 (PDT)
Jeremy Drake wrote:
> > Thanks for the report. However, I cannot reproduce the issue.
> > If it always hangs in GetConsoleProcessList (), I doubt it is not a cygwin
> > bug but a windows bug.
> >
> > By any chance, is the number of processes that attach to the same pty more
> > than 32768 in your environment?
> >
> 
> I doubt it, I was running a shell with this command:
> find /usr/bin -name \*.dll -printf '%p:\n' -exec ldd '{}' \;

Thanks for the details. I could reproduce the issue.
It seems that ldh.exe (which is called from ldd?) falls into infinite loop.
However, gdb cannot attach to ldh.exe...

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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