From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by sourceware.org (Postfix) with ESMTPS id B538A386EC4B for ; Mon, 1 Mar 2021 12:18:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B538A386EC4B Received: by mail-ed1-x52c.google.com with SMTP id w9so4263666edt.13 for ; Mon, 01 Mar 2021 04:18:00 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X6vXOc/DHUa+pAxPspesWlLzZGNRuV/ns8eL+a/9a0U=; b=TrMkiJ8QsuniIRVvftUBwd6NYYEH2eFBFuZUWmMGP8LRqmBHkTGXPuixDHjP4uy0aI Tg9Zfrd98VCyMdtZYiV/XipMW2Y4GXK4+MjXwAw9TdP9Xhpx7tk5dZIjhaJP7OCLRNIQ rc5uBT77aa4rPvv5PlY3R68syEy8GUc80+71um7GH2/29ouBxfK6P4GTPNxAeZpgmqHC jjJ0/NBvRjgdt2+tcW9gFdhkga4W2Wd2tlrHj02j25PWuVcWCIx5B++MxQmqhfpg24gj YCxNaw+tYgtgkByXd+F+JIr9mJvifcE+/YbOxtCEfD4utA5LmRqZ50pibm0UWaCzU1T4 a9Gg== X-Gm-Message-State: AOAM532qbY2PidLRO+JZqOgzXFfkP2m4KFL9DmVPBs/AXHNv2tsIK3vf II5cM/uDmnAmMvKavMKK2EpeXz8Xa9RO28SqMoE= X-Google-Smtp-Source: ABdhPJz8ybDmKZZDZUCM7qPWo0wmToF5oDLyMkqGyIAELmizx7CFTpkKeTojAN3n8saA/jIlwkkvpRnZI6aMjnGp8cU= X-Received: by 2002:a05:6402:30a2:: with SMTP id df2mr4573016edb.29.1614601079531; Mon, 01 Mar 2021 04:17:59 -0800 (PST) MIME-Version: 1.0 References: <9d7b9dc2-cb92-498b-7655-e9c618114c87@gmail.com> <20210221072954.db2dcbd523ed366e4dfcb0d0@nifty.ne.jp> <7480c946-8e02-aba2-c06f-6b39f630699f@gmail.com> <20210301095546.dce31a474bd0cec2c3518f87@nifty.ne.jp> <20210301174157.5727974b3dabe31810eb3994@nifty.ne.jp> <20210301202622.1f880e6392f49f2a67c50ddc@nifty.ne.jp> In-Reply-To: <20210301202622.1f880e6392f49f2a67c50ddc@nifty.ne.jp> From: marco atzeri Date: Mon, 1 Mar 2021 13:17:48 +0100 Message-ID: Subject: Re: segfault on 32bit cygwin snapshot To: Takashi Yano Cc: The Cygwin Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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, 01 Mar 2021 12:18:02 -0000 On Mon, Mar 1, 2021 at 12:59 PM Takashi Yano via Cygwin wrote: > > On Mon, 1 Mar 2021 17:41:57 +0900 > Takashi Yano wrote: > > On Mon, 1 Mar 2021 09:55:46 +0900 > > Takashi Yano wrote: > > > On Sun, 28 Feb 2021 19:48:28 +0100 > > > Marco Atzeri wrote: > > > > On 20.02.2021 23:29, Takashi Yano wrote: > > > > > On Sat, 20 Feb 2021 22:01:38 +0100 > > > > > Marco Atzeri wrote: > > > > but I found another issue > > > > > > > > $ /usr/bin/lilypond > > > > GNU LilyPond 2.20.0 > > > > Segmentation fault (core dumped) > > > > > > > > on 3.1.7 it works fine > > > > > > I found this problem causes after the commit: > > > > > > commit 532b91d24e9496c7988b2b1dda7fc0e8b161f782 > > > Author: Corinna Vinschen > > > Date: Mon Dec 14 12:29:23 2020 +0100 > > > > > > Cygwin: Make sure newer apps get uname_x even when loading uname dynamically > > > > > > if an application built after API version 334 loads uname dynamically, > > > it actually gets the old uname, rather than the new uname_x. Fix this by > > > checking the apps API version in uname and call uname_x instead, if it's > > > a newer app. > > > > > > Signed-off-by: Corinna Vinschen > > > > > > Reverting this commit solves the issue. > > > > > > Corinna, could you please have a look? > > > > I looked into this deeper a bit. > > > > Perhaps, lilypond passes old small sized utsname structure to > > uname() via old cygguile-17.dll (built on Apr. 2017). This seems > > to cause stack destruction. > > So, I guess rebuilding and replacing cygguile-17.dll will solve > the issue. However, I am not sure whehter the new binary works > with cygwin 3.1.7. > > -- > Takashi Yano I can rebuild cygguile-17.dll and see if work also with 3.1.7 but I wonder which other DLL's will suffer the same problem