X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8D81A3858428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1706721525; bh=M7R7h8VGjqxrrO0HIXePTugNtrVv05x7VWjHnobIG6o=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=uJh61wXkxi1S19o8Wiq+XAC5pRxlWdhgHV3L8EZL0SQtYMQ4Q7EwpyN74LzPn5sE6 nz4a0nDm0Nofw/ehgQn20Prd7nzer1zwB6ZUHtfBJEW7nRe8gcexAzGYfrEyU4BaeF lpMViq3Vy/R6WV376XxIxdNZw42sNbhier1rnEfM= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CD2BD3858C2D ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CD2BD3858C2D ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706721471; cv=none; b=LskulE7yK//sGalzm9kZOZ0DSRyEc2yNhw6Us+4ToWmDTYbZMs77mkyEpKTULnbcHzRHiOhTcFwP0kHLWv//F1g+zmgx4ggB0JEj/WfR7xAgMQyw+Aw9q+MJlrBS7ryQK18wgszv4J8tr3qLoXgCGGwGLgT0WuxHi1C1FWVPS6I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1706721471; c=relaxed/simple; bh=SMOi1oNVZy8Cglaf0QdexH63+QTe/Xo6mjg6oudKaKY=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=O+3p1j6DLXvwnb3OoKY4jFL5+CRkveb+6g/JsXBlvkLenm+0zdH7UMmiazp/G2mPETfeXyI5rE6dCaDP+VoEbJazCrj4e/qL8RvJyqkgsMKrjXmlEH1jREltzNBI9zaBPm3xv95Qcf6Yl+2MODyMquWlzpPeeocaxM7OW9tbnYQ= 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=1706721468; x=1707326268; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=E45seIk5c2HQeGSiwiXrtVU4fh1/yKw4s4KzCGWXpMw=; b=ae04iRjecY4uOw8KxUIbmHvA50PDojrV3lGF7t32ae7lGToZVYgyZ4XsQbbwTj5mxH 77mpf4ma6MTgynMaY/nuG/JWKO729roOb9Bra5u/lWOnn6ZsHtT8Nl8tpCuYHFRkUxni 04vwRSfsQ9IPrZTbTS4CWHFVB17iVeGaHeQBDym27Qfs2gNp6141UHW5CkZe0Kgymw64 ht0EAzTnXUHt60PeB+giuUnACzYPncz6LsmCUHOkOZRGYQa3Pkc8x0q65tnDKvRhypM1 6/KIHz5YrLBG8nnO95BIGG3OLTMpY7Z0j+sdv3Pda3OTaabTiKW5U7qLwpkJ5a+ZuUKm RrbQ== X-Gm-Message-State: AOJu0YxC9j6gc5xewrXd4ruKlSMBB37+fWT4q8U/yqtPk1DuzVMtjYcn kU4JuBd7CYGfCXFP1GkmFtp/Al7Kn7riyCSaer6YJpemp7jnDwcCof8ly0tu X-Google-Smtp-Source: AGHT+IHi8JlV6+eBfzSBQPGVluVu0HvYeys9KWsJwkC4KvYyejuf+zsDFcr+AEbio2XSFgwpPfTLkg== X-Received: by 2002:a05:651c:1510:b0:2d0:63af:b27c with SMTP id e16-20020a05651c151000b002d063afb27cmr2166263ljf.13.1706721468136; Wed, 31 Jan 2024 09:17:48 -0800 (PST) Message-ID: <580c122a-576b-4c7b-98b9-f36652045744@gmail.com> Date: Wed, 31 Jan 2024 18:17:48 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: python3 3.9.18-1 hanging Content-Language: en-US To: cygwin AT cygwin DOT com References: <9cb965c1-0a5f-47bb-908e-98093af28e94 AT gmail DOT com> <79d3b655-f260-422b-9457-332abe0fe7d3 AT gmail DOT com> In-Reply-To: <79d3b655-f260-422b-9457-332abe0fe7d3@gmail.com> X-Spam-Status: No, score=-1.5 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" On 31/01/2024 17:36, Eliah Kagan via Cygwin wrote: > Hi, > > > However, I was able to make a *fairly* simple script that reliably > produces it, at least on my machine (and on GitHub Actions runners). It > seems to me that this script may give some insight. In case it's useful: > > import hashlib > import threading > import time > t1 = threading.Thread(target=lambda: print("hello")) > t2 = threading.Thread(target=lambda: print("goodbye")) > t1.start() > time.sleep(1) > print("in between") > t2.start() > t1.join() > t2.join() > > The interesting thing here is that the `hashlib` import is required. > Even though that import is not used, the script does not trigger the > problem if it is removed. > .. > > -Eliah > Thanks Eliah, for the detailed investigation I will look on it, likely during the weekend Regards Marco -- 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