-
-
Notifications
You must be signed in to change notification settings - Fork 235
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
Fatal error: non-Go code set up signal handler without SA_ONSTACK flag #682
Comments
Hmmm, I haven't seen this one before. Do you know what conditions trigger it? |
Is this meaningful to you @SystematicCZ? Are you doing anything with pipes? I'm 90% sure we aren't doing anything with pipes in frankenphp. |
Are you using the latest version? We fixed a SIGPIPE-related issue in #651 Also, could you show us the PHP code that triggers this error. The missing |
SIGPIPE
I tried to hunt down the specific script that causing this but it seems to occur on random URLs. |
I will try to get a core dump if it will be helpful |
The log with the write error is expected, it just mean that a network error occurred. The heap corrupted error however, is concerning and unexpected. This may be related to an extension too. A core dump would indeed help a lot. |
@SystematicCZ php-amqp/php-amqp#550 should entirely fix the issue. Could you try this patch and confirm if it's the case or not? Thank you! |
Will try today and let you know. |
No more SA_ONSTACK errors, but I still got heap corrupted error. I cannot replicate it on my dev machine. I will get the core dump from prod but since we have managed servers it will take some time. |
If possible, try to compile PHP and php-amqp (the bug is probably in this extension) with debug symbols. |
Fixed by php-amqp/php-amqp#550. |
@dunglas - I just got this today with
The stack trace is huge, I am not sure what to paste from it. L.E:
|
If you are using php-amqp extension, you must install specific commit from master because there was no release since January. Or there is similar bug in another extension
|
@SystematicCZ - Thank you, I was sure I used latest version after I read the comments. But as you say, I see there is no release made to contain the fix yet, so your solution is what ended up working. Thank you again! |
What happened?
Running Symfony app behind reverse proxy (caddy) in non-https mode results in crashes (both on dev and prod).
My Caddyfile
Build Type
Docker (Alpine)
Worker Mode
No
Operating System
macOs
CPU Architecture
Apple Silicon
PHP configuration
Relevant log output
The text was updated successfully, but these errors were encountered: