[MacPorts] #70987: php80, php81: Segmentation fault when generating phar.php
MacPorts
noreply at macports.org
Wed Oct 2 06:53:55 UTC 2024
#70987: php80, php81: Segmentation fault when generating phar.php
--------------------------+------------------------
Reporter: exlemor | Owner: ryandesign
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords: sequoia
Port: php80 php81 |
--------------------------+------------------------
Comment (by ryandesign):
Replying to [comment:6 exlemor]:
> Replying to [comment:4 ryandesign]:
> > Can you see if macOS generated a crash log for this crash, probably a
crash of the php or php74 process, probably in
/Library/Logs/DiagnosticReports, and if so attach it?
>
> Gladly, but what would that log file have for a name - lots of files in
that folder structure :/
The log file name starts with the name of the executable (`php`) followed
by a date and time and ending with .ips. Less urgent now that I found the
crash logs on the build machine; I bet yours say more or less the same
thing.
Replying to [comment:7 exlemor]:
> Actually MacPorts php8.1 installed fine it seems (no errors at the
end)...
Right, we saw that on our build machine as well, but the question was
whether it works or not, and I suspected that it does not. I have now
installed php81, php82, and php83 on another machine with macOS 15 using
binaries from our build machine and `php81 -v` crashes while `php82 -v`
and `php83 -v` work correctly. I then rebuilt php81 from source on that
machine and it still crashes.
> Unfortunately, I need PHP 7.4 and not PHP 8 or newer ;(
Right, but now that we know the problem exists in php81 and older and is
solved in php82 that helps narrow the focus of where we need to look for
the fix. It also gives me enough information to file a bug report with the
developers of php. They might not have been interested in helping us with
problems with php80 or older since those versions have already reached end
of life, but php81 is not dead yet so they may help us.
--
Ticket URL: <https://trac.macports.org/ticket/70987#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list