Skip to content

shell freezes on network activity / pip, brew download #1602

@f321x

Description

@f321x

I encountered the issue that when downloading packages, either in pip or homebrew, the shell freezes and i have to kill it.
Not sure what the exact trigger is, as networking overall seems to work fine (e.g. pinging google.com), also the installation of brew worked fine. However, every time i try to install a package with either one of brew or pip the shell freezes and doesn't respond on CTRL+C anymore.

With brew it usually happens after some packages downloaded successful:

Darling [/Volumes/SystemRoot/home/user]$ brew install python@3.13
Warning: You are using macOS 11.
We (and Apple) do not provide support for this old version.

This is a Tier 3 configuration:
  https://docs.brew.sh/Support-Tiers#tier-3
Do not report any issues to Homebrew/* repositories!
Read the above document instead before opening any issues or PRs.

==> Fetching dependencies for python@3.13: mpdecimal, ca-certificates, openssl@3, readline, sqlite, xz, pkgconf, lzip and expat
==> Fetching mpdecimal
==> Downloading https://raw.githubusercontent.com/Homebrew/homebrew-core/578886367df0e7fa04e9cfa8aaa0f00538ef3da4/Fo
############################################################################################################# 100.0%
==> Downloading https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-4.0.1.tar.gz
############################################################################################################# 100.0%
==> Fetching ca-certificates
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2025-05-20
############################################################################################################# 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:dda1100e7f994081a593d6a5e422451bfa2003
############################################################################################################# 100.0%
==> Fetching openssl@3
^C (stuck here for >10 min)
^C^C^C^C^C

While if i install Python 3.12 or Python 3.13 from the python.org .pkg binaries, and try to install any package with pip (with and without venv) the shell freezes instantly:

Darling [/Volumes/SystemRoot/home/electrum]$ python3 --version
Python 3.12.7
Darling [/Volumes/SystemRoot/home/electrum]$ python3 -m pip --version
pip 24.2 from /Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/pip (python 3.12)
Darling [/Volumes/SystemRoot/home/electrum]$ python3 -m pip install requests
^C^C^C (no progress anymore)

I tried multiple ways to get pip and brew packages installed, and compiled commit 5faf581 on two different hosts (Fedora 42 and Ubuntu 24.04 LTS), the outcome is always the same. I tried the full build as well as DTARGET_i386=OFF. So maybe the reason is some underlying issue with Darling?

System Information

Software Version
Linux Kernel 6.15.4-200.fc42.x86_64
Linux Kernel GNU/Linux 6.8.0-62-generic
Darling 5faf581

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions