-
Notifications
You must be signed in to change notification settings - Fork 3k
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
curl_exec Error OSX 10.11 #6189
Comments
Your 'HHVM Error' section includes the stack trace for the error, but not the actual error. |
Ah sorry, didn't realize that HHVM crashed. Not used to OSX crash logs yet :p |
Is it due to firewall configuration? Does it still crash using root? php might also have this issue on Mac: aws/aws-sdk-php#737 |
Agree with @wjywbs that this does look to be an Apple bug to me. |
It's not an Apple bug. If you're getting that crash in CFPreferences, then it is most likely that your code calls fork() somewhere and does not immediately call an exec function in the child process. GNU/Linux tolerates this, but it causes undefined behavior in macOS, and even says as much in macOS' fork() man page. Make sure the code calls an exec function after each fork(), or consider using posix_spawn() instead, and that ought to fix the problem. |
|
Im using latest facebook sdk and when curl_exec() is called, shows me an error
Facebook Version
HHVM Stacktrace
OSX error
The text was updated successfully, but these errors were encountered: