Todo #12004
closedDisable PCRE JIT to work around PHP PCRE crashes on multi-core 32-bit ARM systems
100%
Description
Currently, PHP crashes on multi-core 32-bit ARM systems (SG-3100) with certain PCRE calls, as documented on #11466, #11605, and #11551.
Disabling PCRE JIT works around the crashes, but is not a permanent solution to the problem.
The attached patch disables PCRE JIT and can be applied to affected systems using the System Patches package to work around the problem until a proper long-term fix is identified.
I have already committed a variation of the patch which specifically disables JIT only on multi-core 32-bit ARM systems, this issue is for tracking and so it can be shown in release notes.
When using the System Patches package to apply the fix, use the direct URL to download the patch file: https://redmine.pfsense.org/attachments/download/3715/patch-disable-pcrejit-arm.diff . After fetching and applying the patch, reboot the unit.
Files
Related issues