Last active
December 10, 2025 07:57
-
-
Save staabm/3f158e7aaa43469cd07f2f69c4535d27 to your computer and use it in GitHub Desktop.
xdebug 3.5.0-alpha4 segfault
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| - clone phpstan-src | |
| - checkout c08e6587e6 | |
| - composer install | |
| - make test | |
| - time XDEBUG_MODE=coverage tests/vendor/bin/paratest --coverage-xml tmp/coverage | |
| leads to: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ phpstan-src git:(2.1.x) ✗ php -v | |
| PHP 8.3.28 (cli) (built: Nov 18 2025 22:17:16) (NTS) | |
| Copyright (c) The PHP Group | |
| Zend Engine v4.3.28, Copyright (c) Zend Technologies | |
| with Xdebug v3.5.0alpha4-dev, Copyright (c) 2002-2025, by Derick Rethans | |
| ➜ phpstan-src git:(2.1.x) ✗ time XDEBUG_MODE=coverage tests/vendor/bin/paratest --coverage-xml tmp/coverage | |
| ParaTest v7.8.4 upon PHPUnit 11.5.45 by Sebastian Bergmann and contributors. | |
| Warming cache for static analysis ... [00:00.112] | |
| Processes: 14 | |
| Runtime: PHP 8.3.28 with Xdebug 3.5.0alpha4-dev | |
| Configuration: /Users/staabm/workspace/phpstan-src/phpunit.xml | |
| Random Seed: 1765352773 | |
| .......SS.................................................. 59 / 13558 ( 0%) | |
| ........................................................... 118 / 13558 ( 0%) | |
| ...........................S............................... 177 / 13558 ( 1%) | |
| S.............SS.S......................S.................. 236 / 13558 ( 1%) | |
| ....SS...S............................S.................... 295 / 13558 ( 2%) | |
| .......S................................................... 354 / 13558 ( 2%) | |
| .........................S................................. 413 / 13558 ( 3%) | |
| ..................................................SS....... 472 / 13558 ( 3%) | |
| ...................................S....................... 531 / 13558 ( 3%) | |
| ........................................................... 590 / 13558 ( 4%) | |
| ........................................................... 649 / 13558 ( 4%) | |
| ........................................................... 708 / 13558 ( 5%) | |
| S..............S.S..............S.................S........ 767 / 13558 ( 5%) | |
| ........................................................... 826 / 13558 ( 6%) | |
| ........................................................... 885 / 13558 ( 6%) | |
| .................................................S....S.... 944 / 13558 ( 6%) | |
| .S......................................................... 1003 / 13558 ( 7%) | |
| ..............S.................................S.......... 1062 / 13558 ( 7%) | |
| ...SS...................................................... 1121 / 13558 ( 8%) | |
| .......S...S............................................... 1180 / 13558 ( 8%) | |
| .......S.......S.........................................S. 1239 / 13558 ( 9%) | |
| ........................................................... 1298 / 13558 ( 9%) | |
| ........................................................... 1357 / 13558 ( 10%) | |
| .......................S........S.......................... 1416 / 13558 ( 10%) | |
| ....................................................S.S.... 1475 / 13558 ( 10%) | |
| ........................................................... 1534 / 13558 ( 11%) | |
| ........................................................... 1593 / 13558 ( 11%) | |
| .........S................S................................ 1652 / 13558 ( 12%) | |
| ........................................................... 1711 / 13558 ( 12%) | |
| ..............S............................................ 1770 / 13558 ( 13%) | |
| .......................................................S... 1829 / 13558 ( 13%) | |
| ...S..S.................................................... 1888 / 13558 ( 13%) | |
| ........................................................... 1947 / 13558 ( 14%) | |
| ........................................................... 2006 / 13558 ( 14%) | |
| ........................................................... 2065 / 13558 ( 15%) | |
| ........................................................... 2124 / 13558 ( 15%) | |
| .................................................S......... 2183 / 13558 ( 16%) | |
| ........................................................... 2242 / 13558 ( 16%) | |
| ........................................................... 2301 / 13558 ( 16%) | |
| ......................................S.................... 2360 / 13558 ( 17%) | |
| ........................................................... 2419 / 13558 ( 17%) | |
| ........................................................... 2478 / 13558 ( 18%) | |
| ........................................................... 2537 / 13558 ( 18%) | |
| ........................................................... 2596 / 13558 ( 19%) | |
| ........................................................... 2655 / 13558 ( 19%) | |
| ...S.................................... | |
| In WorkerCrashedException.php line 41: | |
| The test "PARATEST='1' TEST_TOKEN='14' UNIQUE_TEST_TOKEN='14_69392558e7f90' tests/PHPStan/Analyser/Generator/GeneratorNodeScopeResolverRuleTest.php" failed. | |
| Exit Code: 139(Segmentation violation) | |
| Working directory: /Users/staabm/workspace/phpstan-src | |
| Output: | |
| ================ | |
| Error Output: | |
| ================ | |
| paratest [--functional] [-m|--max-batch-size MAX-BATCH-SIZE] [--no-test-tokens] [--passthru-php PASSTHRU-PHP] [-p|--processes PROCESSES] [--runner RUNNER] [--tmp-dir TMP-DIR] [-v|--verbose] [--bootstrap BOOTSTRAP] [-c|--configuration CONFIGURATION] [--no-configuration] [--cache-directory CACHE-DIRECTORY] [--testsuite TESTSUITE] [--exclude-testsuite EXCLUDE-TESTSUITE] [--group GROUP] [--exclude-group EXCLUDE-GROUP] [--filter FILTER] [--process-isolation] [--strict-coverage] [--strict-global-state] [--disallow-test-output] [--dont-report-useless-tests] [--stop-on-defect] [--stop-on-error] [--stop-on-failure] [--stop-on-warning] [--stop-on-risky] [--stop-on-skipped] [--stop-on-incomplete] [--fail-on-incomplete] [--fail-on-risky] [--fail-on-skipped] [--fail-on-warning] [--fail-on-deprecation] [--order-by ORDER-BY] [--random-order-seed RANDOM-ORDER-SEED] [--colors [COLORS]] [--no-progress] [--display-incomplete] [--display-skipped] [--display-deprecations] [--display-errors] [--display-notices] [--display-warnings] [--teamcity] [--testdox] [--log-junit LOG-JUNIT] [--log-teamcity LOG-TEAMCITY] [--coverage-clover COVERAGE-CLOVER] [--coverage-cobertura COVERAGE-COBERTURA] [--coverage-crap4j COVERAGE-CRAP4J] [--coverage-html COVERAGE-HTML] [--coverage-php COVERAGE-PHP] [--coverage-text [COVERAGE-TEXT]] [--coverage-xml COVERAGE-XML] [--coverage-filter COVERAGE-FILTER] [--no-coverage] [--] [<path>] | |
| XDEBUG_MODE=coverage tests/vendor/bin/paratest --coverage-xml tmp/coverage 433.80s user 10.29s system 852% cpu 52.109 total |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
running the same test-suite with xdebug 3.5.0 stable does not segfault: