delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2022/11/25/20:45:45

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EA657384518E
Authentication-Results: sourceware.org;
dmarc=fail (p=none dis=none) header.from=nifty.ne.jp
Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 2AQ1hJiF016529
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.ne.jp;
s=dec2015msa; t=1669426999;
bh=e/GO670dR6M5WB/CAfthcR68G79kVbi6DJDbT0aNqSI=;
h=Date:From:To:Cc:Subject:In-Reply-To:References:From;
b=GGR4EKT1KFtvZswbf1cC0UlvyG1m993Fv7R8rjct9c8EUBn3MpEgjN9vQpVhxIANX
vc/rlWKc0GJy78KFR23Oku2TjnxUPL0jdkejg0ZDaXwPcp2qZdPqHuycQeF23es704
Vo+IlsgBMYuUDWKqOVHmMNBFhTmjcbn2jKnqBDMbz8A5B7ufZnLwwOLkJluQfIJgMW
pDwSjgDUGt5B8QxfX5pjOiJoI09CuYgsQ5ztMMxVNolgltOGZkGh0YddrKnJA6A6fq
ljE3eY/LgXkhd8jV2wLohVw0dEIQAVBHnge+513EGF0g2lHojqBHXdbYJZcM/CWqc6
ZX/9GSntExlTA==
X-Nifty-SrcIP: [220.150.135.41]
Date: Sat, 26 Nov 2022 10:43:19 +0900
From: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
To: cygwin AT cygwin DOT com
Cc: Dmitry Karasik <dmitry AT karasik DOT eu DOT org>
Subject: Re: coredumps and/or CPU eating zombies after dlopen/fork
Message-Id: <20221126104319.ee7b013e6f706c11246e1668@nifty.ne.jp>
In-Reply-To: <20221125132215.GA24139@nataraj.eu.org>
References: <20221125132215 DOT GA24139 AT nataraj DOT eu DOT org>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_EU, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no 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.29
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>
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, 25 Nov 2022 14:22:15 +0100
Dmitry Karasik wrote:
> Otherwise, to reproduce, download and unpack http://karasik.eu.org/misc/cygwin/cygwin-gtk-dlopen-fork-bug.tar
> and run ./try there.

Why do you include windows.h in test.c?
I encountered following error.

/usr/include/w32api/processthreadsapi.h:165:11: Error: expected identifier or $B!F(B($B!G(B before numeric constant
  165 |     ULONG ControlMask;
      |           ^~~~~~~~~~~

Removing #include <windows.h> or adding
#undef ControlMask
is necessary to compile test.c without errors.

With that modification, your problem can not be reproducible
in my environment. The result is as follows.

not expecting a bug
child existed with 0
expecting a bug
child existed with 0
no bug detected

-- 
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