delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org C6816386D61B |
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
s=default; t=1708024426; | |
bh=kDXcxBlPkfxxtww2gCbBQTVRhn51evzgNx3deut1Yeo=; | |
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=du/Dlr8iOcAmJctmdEbHZ1GJaAOWQXXAcn25J7Ug7Kzxu1ZywMV4SpDtXA2sm0LJr | |
VEA2tYn9n5eENePibcfgepR/4ff7wnSY2dR2fZQjb9JX4oyux/YrUwpCjaaUYMHo5K | |
15W83xkeXuT9uYGWpfPWJ8LCCBSHaxnwvE3zBaNE= | |
X-Original-To: | cygwin AT cygwin DOT com |
Delivered-To: | cygwin AT cygwin DOT com |
DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org D67AA386C5AB |
Date: | Thu, 15 Feb 2024 20:13:21 +0100 |
To: | Kevin Ushey <kevinushey AT gmail DOT com> |
Subject: | Re: Cygwin installer hangs when running post-install scripts |
Message-ID: | <Zc5iUXClY6IS77si@calimero.vinschen.de> |
Mail-Followup-To: | Kevin Ushey <kevinushey AT gmail DOT com>, cygwin AT cygwin DOT com |
References: | <Zcs_54Sakt48iAUd AT calimero DOT vinschen DOT de> |
<ZcuYBL3D2rSjlhNu AT calimero DOT vinschen DOT de> | |
<CAJXgQP3YzDiomDUvOG30JfSAbe5d3EgLDRvbsT8yN73aAswPLA AT mail DOT gmail DOT com> | |
<Zcu761ZXudxviCKv AT calimero DOT vinschen DOT de> | |
<CAJXgQP3L5Wq9ZmVUJ2K+wt04Nh15QTjt2e9SF07TYwS8Bg15rg AT mail DOT gmail DOT com> | |
<ZcyNTIuY728RhUTg AT calimero DOT vinschen DOT de> | |
<ZczAeBlaEk7Syuwd AT calimero DOT vinschen DOT de> | |
<CAJXgQP2ueV4tuTvW5Axm_R6PFX_yHKUuYRwvTy98aPsZCdj8uQ AT mail DOT gmail DOT com> | |
<Zc3ggLcaKHjtDjLD AT calimero DOT vinschen DOT de> | |
<CAJXgQP3ru1OLyw+fg0Oyy1XmsaDyBbedKQgwzpMmJoaX5nLanQ AT mail DOT gmail DOT com> | |
MIME-Version: | 1.0 |
In-Reply-To: | <CAJXgQP3ru1OLyw+fg0Oyy1XmsaDyBbedKQgwzpMmJoaX5nLanQ@mail.gmail.com> |
X-BeenThere: | cygwin AT cygwin DOT com |
X-Mailman-Version: | 2.1.30 |
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> | |
From: | Corinna Vinschen via Cygwin <cygwin AT cygwin DOT com> |
Reply-To: | cygwin AT cygwin DOT com |
Cc: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com>, cygwin AT cygwin DOT com |
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 Feb 15 09:46, Kevin Ushey via Cygwin wrote: > Thanks -- I've put the associated WinDbg output up at > https://gist.github.com/kevinushey/cdbd15cdf22e5cdcd094b0ad80347dce. > (Sharing it externally just because it's relatively large.) Thank you! > The important thing to note is that #RtlGetCurrentDirectory_U appears > to be valid ARM assembly, but not x86_64 assembly. My hypothesis here > is that the stub is used to allow emulated x86_64 processes to call > back into native ARM code... which would further confirm that > disabling the find_fast_cwd_pointer checks for ARM is the correct > choice. I guess so, but I'm quite puzzled how the emulator is supposed to know that it just left the x86_64 assembler code. Magic!!! Checking the ARM code, it might even be possible to come up with a real solution, given this line in the first few bytes of ntdll!#RtlGetCurrentDirectory_U: 00000001`802b7054 db030094 bl ntdll!#RtlpReferenceCurrentDirectory (1802b7fc0) This seems to fetch the address of the pointer we're interested in. It's unlikely (but not impossible) that the structure differs from the same struct as on x86_64. We may have a chance there, but I would feel better if I could debug my code by myself. Thanks, 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |