Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Dave Reisner (falconindy)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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)
   test.php (0.1 KiB)
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
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

Loading...