Public bug reported:

root@server:/var/www/html# lsb_release -rd
Description:    Ubuntu 20.04.2 LTS
Release:        20.04

root@server:/var/www/html# apt-cache policy php-gearman
php-gearman:
  Installed: (none)
  Candidate: 2.0.6+1.1.2-7build1
  Version table:
     2.0.6+1.1.2-7build1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status

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.

root@server:/var/www/html# php -v
PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies

Running test php file gets a segfault:
root@server:/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)

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/afd2ed880c67455fbf28097dfde7bd3e368c183e

** Affects: php-gearman (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- # lsb_release -rd
+ root@server:/var/www/html# lsb_release -rd
  Description:    Ubuntu 20.04.2 LTS
  Release:        20.04
  
- # apt-cache policy php-gearman
+ root@server:/var/www/html# apt-cache policy php-gearman
  php-gearman:
-   Installed: (none)
-   Candidate: 2.0.6+1.1.2-7build1
-   Version table:
-      2.0.6+1.1.2-7build1 500
-         500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
-         100 /var/lib/dpkg/status
+   Installed: (none)
+   Candidate: 2.0.6+1.1.2-7build1
+   Version table:
+      2.0.6+1.1.2-7build1 500
+         500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
+         100 /var/lib/dpkg/status
  
  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
+ root@server:/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
+   thrown in /var/www/html/test.php on line 3
  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/afd2ed880c67455fbf28097dfde7bd3e368c183e

** Description changed:

  root@server:/var/www/html# lsb_release -rd
  Description:    Ubuntu 20.04.2 LTS
  Release:        20.04
  
  root@server:/var/www/html# apt-cache policy php-gearman
  php-gearman:
    Installed: (none)
    Candidate: 2.0.6+1.1.2-7build1
    Version table:
       2.0.6+1.1.2-7build1 500
          500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
          100 /var/lib/dpkg/status
  
  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.
  
+ root@server:/home/aiso# php -v
+ PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )
+ Copyright (c) The PHP Group
+ Zend Engine v3.4.0, Copyright (c) Zend Technologies
+     with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
+ 
  Running test php file gets a segfault:
  root@server:/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)
  
  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/afd2ed880c67455fbf28097dfde7bd3e368c183e

** Description changed:

  root@server:/var/www/html# lsb_release -rd
  Description:    Ubuntu 20.04.2 LTS
  Release:        20.04
  
  root@server:/var/www/html# apt-cache policy php-gearman
  php-gearman:
    Installed: (none)
    Candidate: 2.0.6+1.1.2-7build1
    Version table:
       2.0.6+1.1.2-7build1 500
          500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
          100 /var/lib/dpkg/status
  
  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.
  
- root@server:/home/aiso# php -v
+ root@server:/var/www/html# php -v
  PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS )
  Copyright (c) The PHP Group
  Zend Engine v3.4.0, Copyright (c) Zend Technologies
-     with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
+     with Zend OPcache v7.4.3, Copyright (c), by Zend Technologies
  
  Running test php file gets a segfault:
  root@server:/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)
  
  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/afd2ed880c67455fbf28097dfde7bd3e368c183e

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1921599

Title:
   PHP 7.4 segfaults on addserver

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-gearman/+bug/1921599/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to