It says uninstalled since I installed it and then got the error. So I uninstalled it and compiled the master branch and that fixes the issue.
Running test php file gets a segfault:
root@hv101:/var/www/html# php -f test.php
PHP Fatal error: Uncaught GearmanException: Failed to set exception option in /var/www/html/test.php:3
Stack trace:
#0 /var/www/html/test.php(3): GearmanClient->addServer()
#1 {main}
thrown in /var/www/html/test.php on line 3
Segmentation fault (core dumped)
# lsb_release -rd
Description: Ubuntu 20.04.2 LTS
Release: 20.04
# apt-cache policy php-gearman 0.6+1.1. 2-7build1 500 archive. ubuntu. com/ubuntu focal/universe amd64 Packages dpkg/status
php-gearman:
Installed: (none)
Candidate: 2.0.6+1.1.2-7build1
Version table:
2.
500 http://
100 /var/lib/
It says uninstalled since I installed it and then got the error. So I uninstalled it and compiled the master branch and that fixes the issue.
Running test php file gets a segfault: /var/www/ html# php -f test.php html/test. php:3 html/test. php(3): GearmanClient- >addServer( ) html/test. php on line 3
root@hv101:
PHP Fatal error: Uncaught GearmanException: Failed to set exception option in /var/www/
Stack trace:
#0 /var/www/
#1 {main}
thrown in /var/www/
Segmentation fault (core dumped)
It appears the issue is fixed in the latest version of the gearman extension (https:/ /github. com/php/ pecl-networking -gearman). Unfortunately this was fixed after the 2.0.6 release.
https:/ /github. com/php/ pecl-networking -gearman/ commit/ afd2ed880c67455 fbf28097dfde7bd 3e368c183e