From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by sourceware.org (Postfix) with ESMTPS id 458B83858405 for ; Mon, 15 Nov 2021 17:32:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 458B83858405 Received: by mail-wm1-x335.google.com with SMTP id c71-20020a1c9a4a000000b0032cdcc8cbafso391423wme.3 for ; Mon, 15 Nov 2021 09:32:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=YTtTwSyuCQ4s3lVU3Zx+OXeor9CTTF34guSTGd90IiI=; b=2o1uJyv6WmniEFV/1MPCPNTqY3srG9FfzOzkB4TxOVkzH/Y1AvbMxUOHSKLSY+9Nk4 KycogiB9/vZGvalEosMtOlmafIMCuEFNKkNFN0GJzXfsc6HHzULkpsbzUyJWrQPZttw0 9bO8DoaOtonhJF0t2GzZb2MLp5k3C9nj3m3lfOoqWzq2Lu6jtLcv92+fg7mPDKSZ+mST uB/ok4qx0YyyWxvjxllJDWjEByF8QT2IpE0FwBNBF2QAqvnTHkBchhr/zXV1pbnS9ejn N1czuuXtH3FxJEdcTcJnO11Ja2zs1HTyTEsly0IF3/M4B3363OuHeOwkHKrURaCFzvKf 0Fzw== X-Gm-Message-State: AOAM531k/Y9uLJOsrbz4Q4WVNxjljxaJQnmY5QK6oOzvLyM3e38kCCd8 zoFSoxSV10Hplm0ksyuMmzGxhFIL08s= X-Google-Smtp-Source: ABdhPJzWzA7jlZlEXZAViukXJgugYaDykzwVbzQhfi1ojn9kodYwu2LpiiTm3rMyHTSNK3ppeAYNvg== X-Received: by 2002:a1c:80c5:: with SMTP id b188mr198405wmd.57.1636997549306; Mon, 15 Nov 2021 09:32:29 -0800 (PST) Received: from ?IPV6:2003:cc:9f0c:6849:14ea:4907:b5e1:97df? (p200300cc9f0c684914ea4907b5e197df.dip0.t-ipconnect.de. [2003:cc:9f0c:6849:14ea:4907:b5e1:97df]) by smtp.gmail.com with ESMTPSA id f7sm23701789wmg.6.2021.11.15.09.32.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 15 Nov 2021 09:32:28 -0800 (PST) Message-ID: Date: Mon, 15 Nov 2021 18:32:28 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.3.0 Subject: Re: Cygwin 3.3.0 regression: "make" segmentation faults Content-Language: it To: cygwin@cygwin.com References: <5b61de48-0d57-38fb-4997-20f55a20030f@redhat.com> From: Marco Atzeri In-Reply-To: <5b61de48-0d57-38fb-4997-20f55a20030f@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, 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: Mon, 15 Nov 2021 17:32:32 -0000 On 15.11.2021 17:47, Aleksey Shipilev via Cygwin wrote: > Hi, > > 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 > [cut] > Any help would be appreciated. I have a working Windows VM where this > issue reliably reproduces. Perhaps an easier way to follow up on this is > to use me as remote hands. > > After installing make-devel and doing "ulimit -c unlimited", I have got > this stackdump: > > Exception: STATUS_ACCESS_VIOLATION at rip=0018017516C > rax=0000000000000001 rbx=00000008004BE630 rcx=0000000000000001 > rdx=00000000FFFFFFFF rsi=0000000800000000 rdi=0000000000000001 > r8 =FFFFFFFFFFFFFFF1 r9 =0000000000000001 r10=0000000180320880 > r11=0000000800000000 r12=0000000000000001 r13=0000000180243A80 > r14=0000000000000000 r15=0000000000000000 > rbp=0000000800403440 rsp=00000000FFFF99B0 > program=C:\cygwin64\bin\make.exe, pid 61490, thread main > cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B > Stack trace: > Frame        Function    Args > 00800403440  0018017516C (00100438940, 00800000000, 00000000001, > 00800403440) > 00800403440  001800D7C68 (000FFFF9BE7, 00000000000, 000FFFF9BE7, > 008004035E0) > 00800403440  0018018EB0B (000FFFF9BE7, 00000000000, 000FFFF9BE7, > 008004035E0) > 00800403440  0010040F513 (000FFFFE410, 001802A4CB0, 00180366E08, > 00800071DB0) > 00000000000  0010040F68C (00000000000, 001801402B0, 000FFFF9B20, > 00100427E70) > 00100427D70  001004104E3 (00000000000, 00000000000, 00000000006, > 00000000000) > 000FFFF9CD0  00100410D5F (7A01C9E544B96FAD, 00100419ED2, 001803231A0, > 00800323460) > 0080034D8A0  0010041C15F (00000000006, 00000000002, 00000000000, > 00000000000) > 00000000000  0010041C55E (00000000000, 00000000000, 00000000000, > 00000000000) > 00000000000  0010041B5B0 (00000000004, 006FFFFFFB9, 303E90000F032, > 00180267740) > 00000000000  0010041C55E (00000000000, 68F5F1EE9D7B, 00000000000, > 00000000103) > 00000000000  0010041B5B0 (00000000002, 00000000000, 00100000000, > 00000000000) > 00000000000  0010041C55E (000800D7C68, 00000000000, 000FFFFA2E8, > 008001DA120) > 00000000000  0010041B5B0 (53454400000000, 6176652D2A2D2824, > 2D7367616C662D6C, 00000292D2A) > 00100435590  0010041C985 (00000000000, 001803231A0, 00800075740, > 00100429B21) > 000FFFFB360  00100426324 (001801B609A, 00000000000, 00000000000, > 000FFFFCD30) > 000FFFFCD30  00180049B8D (00000000000, 00000000000, 00000000000, > 00000000000) > 000FFFFFFF0  00180047746 (00000000000, 00000000000, 00000000000, > 00000000000) > 000FFFFFFF0  001800477F4 (00000000000, 00000000000, 00000000000, > 00000000000) > End of stack trace > > It does not look particularly useful to me, I was hoping for symbol > names to be resolved, to be honest. I don't know what I am supposed to > do next. There is no "core" around, as far as I can see... > install make-debuginfo and cygwin-debuginfo than you can use addr2line to find the proper info an example on: https://stackoverflow.com/questions/37628530/how-to-debug-using-stackdump-file-in-cygwin/37629946#37629946