X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3390F3857C4B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1707850753; bh=Zjp/bN8sut07J8yJIg0yVBHkEg2sl8GXptzhEsr+134=; h=Date:To:Subject:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=X7GEzo9huUev1UKCYZ3Zg0mJI/fTkRYEdsG5mS+42v0FK2es+iEsq+O6doIpUVj+Q GwMtmtDc+saWKmda5rp5OqovnDPy7Kawea1YGDtQ0YbQmDjsh4wwhsCV6RHExWH7a4 lcHqVHUd5/QOGFQmLRyKOcZl7pFY7vUCbpC5PbEQ= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3E2EB3858C30 Date: Tue, 13 Feb 2024 19:58:51 +0100 To: Kevin Ushey Subject: Re: Cygwin installer hangs when running post-install scripts Message-ID: Mail-Followup-To: Kevin Ushey , cygwin AT cygwin DOT com References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Corinna Vinschen via Cygwin Reply-To: cygwin AT cygwin DOT com Cc: Corinna Vinschen , cygwin AT cygwin DOT com Content-Type: text/plain; charset="utf-8" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 41DIxEwX023899 On Feb 13 10:01, Kevin Ushey via Cygwin wrote: > On Tue, Feb 13, 2024 at 8:25 AM Corinna Vinschen wrote: > > On Feb 13 11:09, Corinna Vinschen via Cygwin wrote: > > > Other than that, the only thing you really could do at this point is to > > > check Cygwin's find_fast_cwd_pointer() function and go through this > > > function step by step, diving into the assembler code this function > > > inspects trying to find out which of the memmem calls fails and how to > > > fix it. And send a patch eventually. > > > [...] > > > One thing we can do is to skip the find_fast_cwd_pointer() code entirely > > > when running on AArch64, but it's a bit annoying, given this wasn't > > > necessary in previous AArch64 builds. > > > > I've just pushed a (temporary?) patch to do just that. This will be > > in the test build cygwin-3.6.0-0.37.g4e77fa9b8bf4 which will be > > installable via Cygwin's installer in an hour or two. > > Thank you for taking a look so quickly -- I can confirm your patch > fixes things for me; the installer now runs to completion and the > Cygwin64 Terminal + other installed tools all function correctly. Thanks for confirming. However, if you see *any* chance to check Cygwin's find_fast_cwd_pointer() pointer function and try to find out why it crashes, that would be very helpful. Corinna -- 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