delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/05/10:44:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7F00C3858D28
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=dronecode.org.uk
Authentication-Results: sourceware.org; spf=none smtp.mailfrom=dronecode.org.uk
Authentication-Results: btinternet.com;
auth=pass (PLAIN) smtp.auth=jonturney AT btinternet DOT com;
bimi=skipped
X-SNCR-Rigid: 613A8CC30C3135C7
X-Originating-IP: [81.129.146.209]
X-OWM-Source-IP: 81.129.146.209 (GB)
X-OWM-Env-Sender: jonturney AT btinternet DOT com
X-VadeSecure-score: verdict=clean score=0/300, class=clean
X-RazorGate-Vade: gggruggvucftvghtrhhoucdtuddrgedvuddrjedugdejkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemuceutffkvffkuffjvffgnffgvefqofdpqfgfvfenuceurghilhhouhhtmecufedtudenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheplfhonhcuvfhurhhnvgihuceojhhonhdrthhurhhnvgihsegurhhonhgvtghouggvrdhorhhgrdhukheqnecuggftrfgrthhtvghrnhepheduueevueejueejgeeufeehtddtkeevtdduieelfeetteeffeejjedukeefgffgnecuffhomhgrihhnpegthihgfihinhdrtghomhenucfkphepkedurdduvdelrddugeeirddvtdelnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehhvghloheplgduledvrdduieekrddurddutdefngdpihhnvghtpeekuddruddvledrudegiedrvddtledpmhgrihhlfhhrohhmpehjohhnrdhtuhhrnhgvhiesughrohhnvggtohguvgdrohhrghdruhhkpdhrtghpthhtoheptgihghifihhnsegthihgfihinhdrtghomhdprhgtphhtthhopehsthgvfhgrnhesshhmohhrrhgrqdhithdruggv
X-RazorGate-Vade-Verdict: clean 0
X-RazorGate-Vade-Classification: clean
Message-ID: <03f587f3-35a1-5d34-c34e-f14be4446cea@dronecode.org.uk>
Date: Sun, 5 Dec 2021 15:43:52 +0000
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.3.2
Subject: Re: Cygwin installer does not terminate
To: Stefan Smorra <stefan AT smorra-it DOT de>,
The Cygwin Mailing List <cygwin AT cygwin DOT com>
References: <efacc365-2a3c-3bdb-6f20-d45fdc453af3 AT smorra-it DOT de>
From: Jon Turney <jon DOT turney AT dronecode DOT org DOT uk>
In-Reply-To: <efacc365-2a3c-3bdb-6f20-d45fdc453af3@smorra-it.de>
X-Spam-Status: No, score=-1191.5 required=5.0 tests=BAYES_00, FORGED_SPF_HELO,
KAM_DMARC_STATUS, KAM_EXEURI, KAM_LAZY_DOMAIN_SECURITY, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE,
TXREP autolearn=no 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
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>
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 30/11/2021 09:09, Stefan Smorra wrote:
> Hello,
> 
> I am running the x86 installer under 64bit Windows 10 (as administrator) 
> as follows:
> 
[...]
> 
> The problem is that the installer does not terminate. It stays open in 
> the background (hidden) what can be seen in the task manager.
> 
> Also it's consuming 90% CPU and the generated log file under 
> C:\smo-cygwin\var\log\setup.log is about 12GiB after 5min.
> 
> The log file looks like this:
> 
> ...
> 2021/11/29 13:21:38 Changing gid back to original
> ...
> 2021/11/29 13:22:05 running: C:\smo-cygwin\bin\dash.exe 
> "/etc/postinstall/zp_man-db-update-index.dash"
> 2021/11/29 13:22:05 Changing gid to AdministratorsEnding cygwin install
> ...
> 
> The line "Changing gid to AdministratorsEnding cygwin install" then 
> appears millions of times. It never ends and there are no other log 
> lines coming.
> 
> Note that this only happens if I run the installer as administrator.
> 
> There seems to be problem when the installer changes gid. This can be 
> seen in the log. The fact that it only happens if the installer is run 
> as administrator approves this.

Thanks for reporting this problem.

After some staring at the code, I think the problem is perhaps that the 
linked list of log entries can get corrupted if multiple threads add 
messages to it simultaneously.

I built an updated setup with a change to avoid that in this case:

https://cygwin.com/setup/setup-2.910-3-g217aad.x86_64.exe
https://cygwin.com/setup/setup-2.910-3-g217aad.x86.exe

Perhaps you could try that and see if it improves things for you?

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