php-src icon indicating copy to clipboard operation
php-src copied to clipboard

phpdbg 8.1 segmentation fault

Open croensch opened this issue 4 years ago • 2 comments

Description

Mid-sized test-suite seems to halt at phpdbg_end_oplog() - i only installed xdebug to trace it.

The following code:

phpdbg -qrr -dmemory_limit="-1" -dxdebug.mode=trace -dxdebug.start_with_request=yes ./vendor/bin/phpunit --coverage-clover=build/logs/clover.xml

Resulted in this output:

   60.0203  118233448     -> floor($num = 0.0044781782547222) /application/vendor/phpunit/php-timer/src/Duration.php:59
   60.0203  118233448     -> floor($num = 0.26869069528333) /application/vendor/phpunit/php-timer/src/Duration.php:61
   60.0204  118233448     -> floor($num = 16.121441717) /application/vendor/phpunit/php-timer/src/Duration.php:63
   60.0204  118234168     -> array_unique($array = []) /application/vendor/phpunit/phpunit/src/Util/Test.php:636
   60.0205  118234168     -> array_keys($array = []) /application/vendor/sebastian/code-unit/src/Mapper.php:50
   60.0205  118234200     -> ksort($array = []) /application/vendor/sebastian/code-unit/src/Mapper.php:56
   60.0205  118233848     -> array_unique($array = []) /application/vendor/phpunit/phpunit/src/Util/Test.php:636
   60.0205  118233848     -> array_keys($array = []) /application/vendor/sebastian/code-unit/src/Mapper.php:50
   60.0205  118233880     -> ksort($array = []) /application/vendor/sebastian/code-unit/src/Mapper.php:56
   60.0205  118233432     -> phpdbg_end_oplog() /application/vendor/phpunit/php-code-coverage/src/Driver/PhpdbgDriver.php:47

But I expected this output instead:

?

Also happens in PHP 8.0.x, could not test 7.4 yet.

PHP Version

PHP 8.1.4

Operating System

Debian

croensch avatar Apr 04 '22 07:04 croensch

Can you please provide a stack backtrace (ideally with Xdebug disabled)?

cmb69 avatar Apr 04 '22 10:04 cmb69

No feedback was provided. The issue is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so. Thank you.

github-actions[bot] avatar Apr 19 '22 00:04 github-actions[bot]