[MacPorts] #58598: php73: can throw a known bus error on freebsd flavored OS if using ifuncs, can fix in configure.ac
MacPorts
noreply at macports.org
Sun Nov 3 20:46:17 UTC 2019
#58598: php73: can throw a known bus error on freebsd flavored OS if using ifuncs,
can fix in configure.ac
----------------------+------------------------
Reporter: johnww2 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: php73 |
----------------------+------------------------
Comment (by ryandesign):
Replying to [comment:21 TheDigitalOrchard]:
>
> It prints my local hostname.
>
> {{{
> #define PHP_UNAME "Darwin Teds-MacBook-Air.local 18.7.0 Darwin Kernel
Version 18.7.0: Tue Aug 20 16:57:14 PDT 2019;
root:xnu-4903.271.2~2/RELEASE_X86_64 x86_64"
> }}}
>
> I'm running the +debug variant, but nothing special beyond that.
Ok, so you didn't get our binary. You wouldn't get a binary when using
non-default variants.
> Still getting random out-of-memory crashing today. Continuing to
investigate and establish a pattern.
>
> Heres the latest Fatal error:
> {{{
> Fatal error: Allowed memory size of 134217728 bytes exhausted at
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_php/php73-fpm/work/php-7.3.11/main/output.c:899
(tried to allocate 880672 bytes) in
/Library/WebServer/lib/xAppOS/CI_libraries/xAppCI_Output.php on line 173
> }}}
>
> I'm unclear on *why* this started happening. It only happens on pages
that involve decrypting a lot of records using OpenSSL.
That disproves my hunch that it had to do with our binaries.
I can try to backport the change from php74 to php73 that removes the SIMD
configure checks, and you can see if that changes things.
As a last resort I can disable the SIMD functions altogether, as the
reporter originally suggested at the top of this ticket. However, that
would remove an optimization the PHP developers put in, so if we can avoid
that, that would be good.
--
Ticket URL: <https://trac.macports.org/ticket/58598#comment:22>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list