Opened 5 years ago
Last modified 5 years ago
#59422 assigned defect
php73: crash when calling openssl_ functions
Reported by: | TheDigitalOrchard (The Digital Orchard) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | php |
Description
Ever since upgrading to OpenSSL 1.1.1d (to the best of my knowledge), PHP 7.3 is crashing anytime an openssl_*function is called.
I've been searching endlessly for a solution for the past 2 days, including uninstalling and reinstalling everything (full PHP libs, MongoDB, OpenSSL). But as soon as OpenSSL is activated again and a call is made to encrypt or decrypt data, the process dies.
Any other reports? What else can I provide to narrow down the possible cause?
Change History (6)
comment:1 Changed 5 years ago by TheDigitalOrchard (The Digital Orchard)
comment:2 Changed 5 years ago by TheDigitalOrchard (The Digital Orchard)
Owner: | set to TheDigitalOrchard |
---|---|
Status: | new → assigned |
Well, as it may be, this latest +debug installation of everything seems to have resolved the issue. No idea what's different about it other than the additional debugging, but things seems to be working properly now.
comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from TheDigitalOrchard to ryandesign |
---|---|
Port: | php added |
Priority: | High → Normal |
Summary: | OpenSSL 1.1.1d - crashing when called via PHP openssl_ functions → php73: crash when calling openssl_ functions |
I've also received a report about this via email, but I'm not certain whether that email was from you or someone else.
Can you provide a short PHP script that demonstrates the crash?
Please also look in your Library/Logs/DiagnosticReports folder and attach any php crash logs you find there. Which Library folder these will be in depends on which user you're using to run PHP. If you run PHP on the command line, check the Library folder in your home folder. If you're running PHP via a web server that was started as root, check /var/root/Library. Library folders are hidden by default, so you'll have to use the terminal or the Finder's Go menu -> Go To Folder command to look in them.
comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Possibly the same problem reported in #58598, but impossible to know without seeing a crash log.
comment:5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
I may have a possible explanation. Could you take a look at the questions I asked in comment:ticket:58598:5?
comment:6 Changed 5 years ago by TheDigitalOrchard (The Digital Orchard)
Comment added to comment:ticket:58598:5, as requested.
I've installed the +debug variant, so hopefully that will help to shed some light on what's happening.