From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mta-snd-w06.mail.nifty.com (mta-snd-w06.mail.nifty.com [106.153.227.38]) by sourceware.org (Postfix) with ESMTPS id A978B3858D29 for ; Fri, 24 May 2024 22:17:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A978B3858D29 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=nifty.ne.jp ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A978B3858D29 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=106.153.227.38 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 Received: from HP-Z230 by mta-snd-w06.mail.nifty.com with ESMTP id <20240524221740488.NKS.90861.HP-Z230@nifty.com>; Sat, 25 May 2024 07:17:40 +0900 Date: Sat, 25 May 2024 07:17:39 +0900 From: Takashi Yano To: cygwin@cygwin.com Cc: Jeremy Drake Subject: Re: frequent hangs running ldd Message-Id: <20240525071739.167d0f2b66b3dd8d2313be19@nifty.ne.jp> In-Reply-To: <0bd2f49b-93f6-7db4-32b6-7f3021db211e@jdrake.com> References: <20240525045424.ac58c0ff5e325706b2a5f014@nifty.ne.jp> <0bd2f49b-93f6-7db4-32b6-7f3021db211e@jdrake.com> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp; s=default-1th84yt82rvi; t=1716589060; bh=Fr+8loK/aAJSJVRFoqec0pP159IqQsrF4BVWLJ8bDtw=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=RljmjRHMGYSmL+LOxRsZFrRoQIWNvU/D4y6c/X8ZZNuqQxZ6nCODfSCpnGcLeaCbRujxFFaX gRIfWxNjhjukvmFO456q20+57fYh0X2nAzVfxFIOPtwakoDBjVWQq532JgPPle/8mBztSnYyU2 MKSIYyKmiSGpt4j7y+owKOtUe2+QSLSNzLQL/V96B6v028w4mwqBJNE2tQIXvHAN3BbLp4dMKB PYn0KVc0sUfu1XKUKc4Bcqb2G6N+U3onyR1a31GUUR3hxhb0lKNVGKYa5FCTacAeDKhkCnpHfz dmYcZUBrsO4SkiP/of8w03vboUjK16eQiWpsXK0Z5YEzcbTw== 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 List-Id: 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