delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/02/12/17:39:38

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 285243858430
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1707777576;
bh=SuEh3FGWHBWbB1Gr8/DPof45l9M9pVCsy4+QPlnQcqo=;
h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Post:
List-Help:List-Subscribe:From:Reply-To:From;
b=qOBpA4Z3M562f2kj9QdT/e12BHgw7LDFgZemYaS/kLDGPY6ucAu5xQ6dBBaIIUeRE
+FfFuC9iNIJHUWmzQBpL8iDhz+lvQO2wmFg+AsEEgQquPY+TdevIatYcEVm4zGcKsh
77Tt1en28g4OKbCUyPBeZhiSmMP2a2Bz56thdTxw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 14F983858C2C
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 14F983858C2C
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707777549; cv=none;
b=Jk4GmchzPSZwAxi8zqvkZrmznym93r85zRmJJnHUCbL8iShbpoluwpXWdrJfopZ/e7Svab0yp2oFd0r5M1Ez0OlvIplqsCPUZ3TAMSAPjxPFf3PUHq6yXlmjVHbvx9vcR7FoCGM7q02KN6UKxeWzHlgKdvjx/tKHZcyQZezupC0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1707777549; c=relaxed/simple;
bh=1MXiFdiZ2HPq8cx5x7a3FmnE2/T8EXUEkOIrmPiqNSo=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=DpAm8Obux06T7GZ3svud0rEf5x6coAZPAkhbiaXq90OVFzUzDKiq7xzrUvv2FYsMWMLF1UQTvQYxjsn2BCEIWSBdxqn/WeEqhE6mqElRK/3SyhXgHK7hpa8IMRkKWQ6WRxOeNcA3FQZp1OC5/hSwdZGxU0znl+Y1/h32XK5T9nw=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1707777545; x=1708382345;
h=content-transfer-encoding:to:subject:message-id:date:from
:mime-version:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=7zhP/SfAWEKjsVtubsFGmv12jYbj8pFRYu9YJKzkaUE=;
b=ks2k9y+kjCc8I04J++SQYXVH8FsLYTou/x+7eO6XRIv3vgHwZ3Wb9SPk/iBaOlHl27
L0K/eE8OpJFVhlKXKP00Z19p+C2A0lfjWyw8cjHCe6S7pdOLL/5ULlBIsyTr1irbDQGG
tz25dFB9Xki3uXuT6x4lmHm6vcjwatklMX49/3Q14wd2nXC71R7X1DGYFqSuzvUr+8qz
vyTfAXthbvYk/Td1s/8H23K7LkOQJ73UqzZuaNwLwMrxGwoZrK63wz93Hvdv6+/UUTNI
qAUEWlRXDTFPYgxWCxB3Z1LPzBlLkmbRgUBvBlWu3f92QF0Wb4B+i7PziOULcSYHG89f
McXQ==
X-Gm-Message-State: AOJu0Ywun8VYOXaikPgnWrXqlzQS7GWwM1nx5G1/P3p/VRmiTEwz+B8l
B5IQU37TjjYXUej/smtNLMn7s31aGjuJGODc9KHWqAABlQ5JC8K9ZVeOf3B+4fgF5Nwf63QLXC3
FiaGJLXJGq+fFYVmJEM3rBxGaVQSE1Vrk
X-Google-Smtp-Source: AGHT+IE7pbRYwWNUwVvmuxZAoNzJXwV2uBl8fQMXx5mnDXvfwVM2NgcERYyw1Au5l8g6YI1Mwoa9I5ckGmssJCWhvtk=
X-Received: by 2002:a25:908a:0:b0:dc2:392e:3ce8 with SMTP id
t10-20020a25908a000000b00dc2392e3ce8mr7572649ybl.1.1707777544782; Mon, 12 Feb
2024 14:39:04 -0800 (PST)
MIME-Version: 1.0
Date: Mon, 12 Feb 2024 14:38:28 -0800
Message-ID: <CAJXgQP0ZpcQXON_oKbgE=S8Y-M=9+b00cZ6s4Het01TCTp3ajA@mail.gmail.com>
Subject: Cygwin installer hangs when running post-install scripts
To: cygwin AT cygwin DOT com
X-Spam-Status: No, score=0.1 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,
T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
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-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: Kevin Ushey via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Kevin Ushey <kevinushey AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 41CMdcn4024641

Hello,

I'm seeing an issue when attempting to install Cygwin where the
installer hangs while trying to run postinstall scripts (more
specifically, /etc/postinstall/0p_000_autorebase.dash). When the hang
occurs, I see a 'dash.exe' process chewing up 100% of a CPU. If I
attach to the process with WinDbg, I see:

(940.978): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
cygwin1!memmem+0xcb:
00007ffa`490cbb1b 410fb60424      movzx   eax,byte ptr [r12]
ds:00007ffa`552651f7=??
0:000> k
 #   Arch   Child-SP          RetAddr               Call Site
00    AMD64 00000007`ffffc930 00007ffa`48f8028f     cygwin1!memmem+0xcb
01    AMD64 00000007`ffffca90 00007ffa`48f80a49
cygwin1!cygwin_split_path+0x3a0
02    AMD64 00000007`ffffcb20 00007ffa`48f37071
cygwin1!cygwin_split_path+0xb5a
03    AMD64 00000007`ffffcc50 00007ffa`48f35e08
cygwin1!cygwin_dll_init+0x26b
04    AMD64 00000007`ffffcd80 00007ffa`48f35e86     cygwin1!_assert+0x23f0
05    AMD64 00000007`ffffcdd0 00000000`00000000     cygwin1!_assert+0x246e

I'm not sure how much I can trust the stack trace here, though.

If I kill that 'dash.exe' process, then the installer proceeds and
tries running more postinstall scripts, but hangs in a similar way.

I believe this worked quite recently, so I suspect the issue might be
caused by a recent change in Windows. I'm running an insider build of
Windows Pro, inside a Parallels VM on an M1 macOS machine. My Windows
version:

Edition Windows 11 Pro
Version 24H2
Installed on ‎2/‎10/‎2024
OS build 26052.1000
Experience Windows Feature Experience Pack 1000.26052.1000.0

For reference, I first bumped into this when using Git Bash as bundled
with Git for Windows, but it sounds like the underlying issue may be
in Cygwin. See https://github.com/git-for-windows/git/issues/4808 for
more details.

Does any of this sound familiar? Is there anything else I can do to
get more information here; e.g. are there builds of Cygwin with debug
symbols published somewhere, or should I try producing my own debug
build?

Thanks,
Kevin

-- 
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019