FS#65739 - [curl][php] Curl 7.69 segfaults on curl_pause()
Attached to Project:
Arch Linux
Opened by Pierre Schmitz (Pierre) - Sunday, 08 March 2020, 09:40 GMT
Last edited by Christian Hesse (eworm) - Sunday, 08 March 2020, 19:33 GMT
Opened by Pierre Schmitz (Pierre) - Sunday, 08 March 2020, 09:40 GMT
Last edited by Christian Hesse (eworm) - Sunday, 08 March 2020, 19:33 GMT
|
Details
Calling curl_pause() results in a segmentation fault since
Curl 7.69; version 7.68 works fine.
I have also tested curl-7.69.0-3 from [testing] which includes related patches but that crashes as well. Run the attached file to reproduce. (On CLI php ./test.php) Known related issues: * This breaks libraries like symfony/http-client and probably others. * Composer (with esp. flex) runs at 100% CPU usage and does not seem to terminate. (CI was killed after 6 hours) |
This task depends upon
Closed by Christian Hesse (eworm)
Sunday, 08 March 2020, 19:33 GMT
Reason for closing: Fixed
Additional comments about closing: curl 7.69.0-4
Sunday, 08 March 2020, 19:33 GMT
Reason for closing: Fixed
Additional comments about closing: curl 7.69.0-4
Comment by Pierre Schmitz (Pierre) -
Sunday, 08 March 2020, 09:47 GMT
I know this is an upstream bug, but I'll also track it here as I
am not sure if only the PHP module is affected or if it is curl
bug.
Comment by Pierre Schmitz (Pierre) -
Sunday, 08 March 2020, 12:06 GMT
Good news: I build the curl git master and that did not crash.
Comment by Pierre Schmitz (Pierre) -
Sunday, 08 March 2020, 12:42 GMT
And another hint: Adding commit
64258bd0aa6ad23195f6be32e6febf7439ab7984 to our patchset fixes the
issue:
https://github.com/curl/curl/commit/64258bd0aa6ad23195f6be32e6febf7439ab7984
test.php