Closed MrMeshok closed 6 months ago
maybe php8.3-swoole
needs an update.
current: Version: 5.1.1-1+0~20240213.15+debian12\~1.gbpb0e467
from v5.1.2 changelog https://github.com/swoole/swoole-src/releases
Fixed native-curl crash on PHP 8.3 @NathanFreeman
It's missing the upload to the PECL.
Ubuntu PPA has the same 5.1.1-1 version, but no issue there
Still nothing, see the upstream issue: https://github.com/swoole/swoole-src/issues/5242
as an alternative maybe disable curl option for now?
Hello, Swoole 5.1.2 was released in PECL today: https://pecl.php.net/package-changelog.php?amp=&package=swoole&release=4.5.5 @oerdnj can you trigger build extension in your repository?
looks like upstream closed the issue - https://github.com/swoole/swoole-src/issues/5242
this is now fixed! @MrMeshok
$ apt info php8.3-swoole
Package: php8.3-swoole
Version: 5.1.2-1+0~20240513.22+debian12~1.gbp9cce87
Everything works now. Thanks everyone!
Frequently asked questions
Describe the bug I got error "Segmentation fault (core dumped)" when running composer commands on Debian 12 VM. After disabling swoole extension error disappeared. After that i tried to reproduce it in docker on Debian 12 and Ubuntu 22.04. Error happens only on packages from packages.sury.org, Ubuntu PPA not affected. I even try to use packages.sury.org on Ubuntu(pretending to be bookworm)
I did some digging through composer source code and found out error happens when using curl_init. And it's happening only on php8.3, php8.2 work as expected
To Reproduce Run this commands on clean Debian 12:
OR through docker
What steps did you take to resolve issue yourself before reporting it here Tried different distributions and packages
Expected behavior php -r 'curl_init();' executes without error
Distribution: