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

Reply via email to