From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from conssluserg-05.nifty.com (conssluserg-05.nifty.com [210.131.2.90]) by sourceware.org (Postfix) with ESMTPS id C11B13858431 for ; Tue, 16 Nov 2021 08:11:36 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C11B13858431 Received: from Express5800-S70 (z221123.dynamic.ppp.asahi-net.or.jp [110.4.221.123]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 1AG8BDdh011260; Tue, 16 Nov 2021 17:11:13 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 1AG8BDdh011260 X-Nifty-SrcIP: [110.4.221.123] Date: Tue, 16 Nov 2021 17:11:13 +0900 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: Cygwin 3.3.0 regression: "make" segmentation faults Message-Id: <20211116171113.8a284ca48adcefbb0f90fac7@nifty.ne.jp> In-Reply-To: <5b61de48-0d57-38fb-4997-20f55a20030f@redhat.com> References: <5b61de48-0d57-38fb-4997-20f55a20030f@redhat.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 X-Spam-Status: No, score=-5.0 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_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2021 08:11:41 -0000 On Mon, 15 Nov 2021 17:47:58 +0100 Aleksey Shipilev wrote: > OpenJDK project uses Cygwin to drive the OpenJDK build system under Windows. Recently, our GitHub > Actions (GHA) Windows runs started to fail with make SEGV-ing: > https://bugs.openjdk.java.net/browse/JDK-8276854 > > This also reproduces locally for me, with the standard OpenJDK Windows build. All sightings we had > are on Windows 10, but it is unclear if it is Windows 10 specific. > > The reproducer would be a bit hairy, because it requires MSVC 2019, JDK 17 binary, and some other > dependencies to be installed for OpenJDK build. It goes like this: > > ------- 8< ------- ------- ------- ------- ------- ------- ------- ------- > > > $ git clone https://github.com/openjdk/jdk/ jdk > $ cd jdk > $ sh ./configure --with-boot-jdk= --disable-warnings-as-errors > $ make clean jdk > ... > Compiling 8 files for BUILD_TOOLS_LANGTOOLS > Compiling 1 files for BUILD_TOOLS_HOTSPOT > Compiling 12 properties into resource bundles for jdk.jdeps > /usr/bin/bash: line 1: 1588 Segmentation fault (core dumped) /usr/bin/make -s -r -R -I > /cygdrive/d/a/jdk17u/jdk17u/jdk/make/common > SPEC=/cygdrive/d/a/jdk17u/jdk17u/jdk/build/windows-x64/spec.gmk MAKE_LOG_FLAGS="-s" -f > ModuleWrapper.gmk -I /cygdrive/d/a/jdk17u/jdk17u/jdk/make/common/modules > -I/cygdrive/d/a/jdk17u/jdk17u/jdk/make/modules/java.base MODULE=java.base MAKEFILE_PREFIX=Copy > make[2]: *** [make/Main.gmk:157: java.base-copy] Error 139 > make[2]: *** Waiting for unfinished jobs.... > Compiling 7 properties into resource bundles for jdk.jshell > > ------- 8< ------- ------- ------- ------- ------- ------- ------- ------- Thanks for the report. I could reproduce the problem and found that the cause is the same with: https://cygwin.com/pipermail/cygwin/2021-November/249913.html I will submit the patch for these issues shortly. -- Takashi Yano