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 segfault #14102
Comments
I can't reproduce this. I'm using a more modern version of curl however: 8.7.1. Can you please answer the following questions:
It's also possible that I need a specific version of the page to reproduce the error. I can see that the page I'm getting is definitely translated to my locale, so this could influence my results too. |
Thanks for info, i got a stacktrace, and, well, ehm 🙇
So it seems related to blackfire extension :S |
The crash happens inside nghttp2, which is used to perform HTTP2 stuff for libcurl. |
I've submitted a blackfire request. I found no easy way to disable extension on-demand. |
What's stopping your from taking it out of your php.ini temporarily? |
Right! I forgot it worked like that. The image doesnt have vim -.- I did a build from source without blackfire enabled, and it still reproduces:
|
I also forgot to mention; the relevant Dockerfile is at: https://github.com/etrias-nl/php/blob/main/Dockerfile |
I still reproduce with minimal dockerfile:
bundled curl version is 7.88.1 , but im not sure how to update it php 8.1.0 seems stable wich bundles 7.74.0 |
I could reproduce the issue using the minimal Dockerfile.
I then manually built and installed the latest curl version, and the problem disappeared. |
Description
The following code:
Resulted in this output:
But I expected this output instead:
The relevant symfony issue is at symfony/symfony#54796
Last trace is https://github.com/symfony/symfony/blob/c168c2c137acee438463fcde2df1685cf74ff623/src/Symfony/Component/HttpClient/Response/CurlResponse.php#L288
PHP Version
PHP 8.1.28
Operating System
Linux f6e21ecae0c6 6.5.0-28-generic #29~22.04.1-Ubuntu
The text was updated successfully, but these errors were encountered: