[php-src] Issue #8299: phpdbg 8.1 segmentation fault
| From: | croensch | Date: | Mon, 04 Apr 2022 07:14:55 +0000 |
| Subject: | [php-src] Issue #8299: phpdbg 8.1 segmentation fault | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240652@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8299
Author: croensch
### Description
Mid-sized test-suite seems to halt at
phpdbg_end_oplog() - i only installed xdebug to
trace it.
The following code:
```bash
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