| delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 503Km0j81289933 |
| Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
| Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 503Km0j81289933 |
| Authentication-Results: | delorie.com; |
| dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=Eprwa67i | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 7ABEF3858C54 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1735937279; | |
| bh=01AcScb+iuRlJeP5M2RMyQJIqyIxL6nkuK6BerSQKrQ=; | |
| 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=Eprwa67izyZ8HdU55av6xAwscm4pdxIjNh4/HJ9/PEPuHNBVcBn9u4ngsFWA6/aUY | |
| ge7nCihSff/3DQI/GvgARUgAwhoy1zhKe7gOWIkAKI+iFm3jyA2sAZbRr1o8GQgam5 | |
| 5RfSaDqK+blV1DSnMe5txUAc0e7wVPyuQxPU4Ank= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 28AAB3858D20 |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 28AAB3858D20 |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735937220; cv=none; |
| b=mei9hGnWjvZoQ95FVWWwi6qcomMxTSf5AXaY1xy7u8NqBAmPxV2sEI+WZBZ1vcObWNBD4drml3wphx2kEFI2SqU8nccHVX4yHGWz4oyD/tXVoCGOjEgD6DF5xe6DMkDeDKoZ7v4rvZdfPT+pZ9lFUS59H0ZFAtmU/vVzv4wqKII= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1735937220; c=relaxed/simple; | |
| bh=BgkkDns+P7HHcTpVRWEqrq6h0yhdveeGg0Jbe2RecyM=; | |
| h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; | |
| b=jIdBVn88ltLCFI4+iO9Xr7T1VGj7QALuUAD2ntTWxYFQYld4jhig58Ca80yVu5oB0W1fXxQrLbK2F0N75TNalyC4eMoa675toZdQTB+ggA5ZtIs/6azkyG8Mt+S/4T6zK0rPDFqjVAMlu8XgspseDQBTNZ3H+KlGXoRx0RVokWE= | |
| ARC-Authentication-Results: | i=1; server2.sourceware.org |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 28AAB3858D20 |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 rctfw2.r-t.org E5D3C1816642 |
| Message-ID: | <ef351a04-bee1-480f-9460-8c3bc1fd14e5@r-t.org> |
| Date: | Fri, 3 Jan 2025 15:47:00 -0500 |
| MIME-Version: | 1.0 |
| User-Agent: | Mozilla Thunderbird |
| Subject: | Re: random hangs |
| To: | cygwin AT cygwin DOT com |
| References: | <6aa017e0-b333-4c0e-affa-78c8777372a5 AT gmail DOT com> |
| <1b894ce0-ee20-4408-95ec-54202d0721bc AT r-t DOT org> | |
| <CAAF84SU_mL3OG-DzcntnjKj=Fqn8Y-6k6+xQWWym6CbmUKa38A AT mail DOT gmail DOT com> | |
| <7cdf5283-5507-4d35-aec6-a4bbab33ad48 AT r-t DOT org> | |
| <CAAF84SWwAwPTk6qsp-F6G8P+Lu_s=X-SjbMt66GM+gVScJaAWA AT mail DOT gmail DOT com> | |
| <5b617762-38fd-4897-afff-219b92915b9f AT r-t DOT org> | |
| <CAAF84SVUo4O2V8YHHDFMwEG_hNN1KsVETirf2p2mF-GLtam8DA AT mail DOT gmail DOT com> | |
| <66233ccc-7074-4c95-bb19-6c6c5092f94f AT gmail DOT com> | |
| <CAAF84SXahGjhZUVRDxUWRYRAC=ZhkGZVzhA3GKYEB9DuD8sWmA AT mail DOT gmail DOT com> | |
| <933a5502-c0c4-f149-70ba-89421ae893a7 AT jdrake DOT com> | |
| In-Reply-To: | <933a5502-c0c4-f149-70ba-89421ae893a7@jdrake.com> |
| X-Content-Filtered-By: | Mailman/MimeDel 2.1.30 |
| 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: | Robert Terzi via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Robert Terzi <rct+cygwin AT r-t DOT org> |
| 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> |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 503Km0j81289933 |
On 1/3/2025 2:45 PM, Jeremy Drake via Cygwin wrote:
> There are known (and as yet unknown) hang issues with cygwin 3.5.5, the
> known being in signal handling. You might try with cygwin 3.5.4 to see if
> your hang issues go away. That might help elimiate python as the culprit.
I'm seeing reproducible (for me) hangs with the test Python 3.12 packages under Cygwin 3.5.4.
$ cygcheck -c | grep cyg
base-cygwin 3.8-2 OK
cygrunsrv 1.64-1 OK
cygutils 1.4.17-1 OK
cygutils-extra 1.4.17-1 OK
cygwin 3.5.4-1 OK
cygwin-devel 3.5.4-1 OK
First, I see a hang doing `python312 -m pip install ipython` in a venv.
The hang occurs during downloading. If the package is already downloaded
it doesn't hang. So I'm doing a `pip cache purge` to get it to reoccur.
It usually hangs on downloading Jedi which is a large-ish module.
Downloading jedi-0.19.2-py2.py3-none-any.whl (1.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/1.6 MB ? eta -:--:--
If I do an end task and try again, it sometimes hangs on the next
package > 1 MB:
Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/1.2 MB ? eta -:--:--
Second, Once I get IPython installed, it hangs as soon as I hit enter
at the first prompt. (The input I give is empty, I just hit enter.)
However, if I type `quit` it will exit without hanging.
In both cases strace indicates it's stuck in a loop dealing with an
exception, exception c0000005 at 0000000000000000
(Is that maybe a null pointer deref in a signal/exception handler?)
Steps I'm taking are:
# clean up from previous runs
rm -rf /srv/pyvenvs/py312
pip3 cache purge
# Create a venv in an empty directory
python3.12 -m venv --system-site-packages --without-pip /srv/pyvenvs/py312
(The --without-pip is needed because it fails without it running `-m ensurepip`
It is looking for the pip wheel but not finding it.)
# activate venv and Install IPython
source /srv/pyvenvs/py312/bin/activate
python -m pip install ipython
# When it hangs, end task and then repeat `pip install` until it succeeds.
# Run IPython, hit enter at first prompt
$ ipython
Python 3.12.8 (main, Dec 28 2024, 22:01:20) [GCC 12.4.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 8.31.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]:
# it's now hung and only task manager "End Task" will kill it.
--
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 |