-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal hardware instruction #2421
Comments
I can't replicate this (at least not on macOS 13.0). I'll see about upgrading and then try again. |
I am on Intel based Macbook Pro 2019 (2.6 GHz 6-Core Intel Core i7), in case this helps. |
@michael-grunder I was able to pull the process crash dump for the CLI invocation. Hopefully this will shed some light 🤞. |
Yep, that narrows it down a great deal. It's such a small surface area that I bet we can track down what might be going on. Unfortunately I don't have a new enough x86-64 mac to upgrade to macOS 14. I will try to take a stab at what's going on though. Another thing that might be useful is if you were to attach the actual |
Appreciate your timely response, buddy. In the meantime, I tried to do my best to analyse what's wrong. I am no C expert, but it seems like the crash is initiated from the I might be completely wrong. Will let the expert speak. Over to you @michael-grunder 😀. |
I can confirm that this works fine on MacOS Ventura. I tried the installation and same script. Works fine. |
Expected behaviour
new RedisCluster()
statement to successfully create connection with the Redis cluster.Actual behaviour
Program exits immediately with below output when I do CLI invocation
php redistest.php
-Program exits immediately with below error when I invoke via PHP-FPM -
I'm seeing this behaviour on
Steps to reproduce, backtrace or example script
Example script below -
I have also tried various PHP versions (7.2.3, 7.4.33, 8.1.25) to rule out any PHP issues.
I have also tried various phpredis versions (6.0.2, 6.0.1, 5.3.7, develop branch).
I have tried manually building the extension as well as from the
pecl
package manager.I have been getting same behaviour as mentioned above. I remember this used to work fine before I upgraded to macOS Sonoma. Has this something to do with the OS?
I've checked
develop
branchThe text was updated successfully, but these errors were encountered: