Bug #80443 [Fbk]: sysvsem segfault

From: Date: Mon, 30 Nov 2020 13:58:13 +0000
Subject: Bug #80443 [Fbk]: sysvsem segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230731@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80443&edit=1 ID: 80443 Updated by: nikic@php.net Reported by: video dot ice dot power at seznam dot cz Summary: sysvsem segfault Status: Feedback Type: Bug Package: Semaphore related Operating System: Linux/docker-alpine PHP Version: 8.0.0 Block user comment: N Private report: N New Comment: I was able to reproduce *a* segfault with JIT enabled on an older build, but no longer on current 8.0 HEAD. So most likely this issue is already resolved, though of course it could be another unrelated segfault. Previous Comments: ------------------------------------------------------------------------ [2020-11-29 15:30:39] video dot ice dot power at seznam dot cz This is from CI and I have no access to provide segfault dump for this. Only reporting this one. ------------------------------------------------------------------------ [2020-11-29 15:03:19] requinix@php.net Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Not sure which version of PHP 8 "RC4" is, but please try with the 8.0.0 GA that was released a few days ago. ------------------------------------------------------------------------ [2020-11-29 13:44:39] video dot ice dot power at seznam dot cz Description: ------------ when sysvsem ext is not installed (and excluded from dev dependency from composer.json), there is no segfault, thus I am strongly belive there is an issue in "sysvsem" on php 7.4, there is no issue Test script: --------------- docker-php-ext-install pcntl sysvsem composer remove --no-update ext-memcached --dev composer remove --no-update ext-sysvsem --dev git clone https://github.com/php-lock/lock && cd lock && composer update vendor/bin/phpunit --no-coverage -v Expected result: ---------------- phpunit finishes Actual result: -------------- PHPUnit 9.4.3 by Sebastian Bergmann and contributors. Runtime: PHP 8.0.0RC4 Configuration: /builds/mahalux/php-lock-cust/phpunit.xml.dist ................SS...F...F./bin/bash: line 137: 4467 Segmentation fault (core dumped) vendor/bin/phpunit ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80443&edit=1

« previous php.bugs (#230731) next »