[MacPorts] #70764: Segfault fetching ports from FTP URLs on MacOS 15.0
MacPorts
noreply at macports.org
Fri Sep 20 22:11:14 UTC 2024
#70764: Segfault fetching ports from FTP URLs on MacOS 15.0
---------------------------------------+---------------------
Reporter: Ygar-Vanaxe-Tsy-xtledron | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.10.1
Resolution: | Keywords: sequoia
Port: |
---------------------------------------+---------------------
Comment (by ryandesign):
Replying to [comment:12 jmroot]:
> OK, so it's crashing pretty deep in libcurl calls, which means it's
probably an Apple bug.
Not necessarily. We may be calling curl incorrectly in a way that causes
the crash. However I see macOS 15.0 has curl 8.7.1 and this looks like
https://github.com/curl/curl/issues/13731 which was fixed in curl 8.8.0.
I tried `/usr/bin/curl -OL
ftp://ftp.funet.fi/pub/gnu/prep/ncurses/ncurses-6.5.tar.gz` on macOS 15
and it downloaded successfully without crashing so it is possible to
download from ftp without crashing. The upstream bug report suggests the
crash occurs when a curl easy handle that had been used for http2 is then
reused for a different protocol. The fix would be not reusing curl easy
handles.
--
Ticket URL: <https://trac.macports.org/ticket/70764#comment:14>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list