-
Notifications
You must be signed in to change notification settings - Fork 7.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[phpdbg] Segfault with phpunit and codecoverage #13707
Comments
This PR was merged into the 7.1 branch. Discussion ---------- [PhpUnitBridge] Enhance CoverageListenerTests | Q | A | ------------- | --- | Branch? | 7.1 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | - | License | MIT The test were broken on my laptop, so I dig it a bit and: * Add support support for pvoc * Change priority of driver, it's now xdebug > pcov > phpdbg (reflects more real usages) * Update deprecated phpunit.xml.dist configuration * Ensure the $output buffer is empty before running sub-tests * open php bug report because phpdbg segfault, see php/php-src#13707 Commits ------- 4f49fd3 [PhpUnitBridge] Enhance CoverageListenerTests
I can't reproduce this. Try without loading php extensions and please share your phpinfo. |
I found the culprit
|
Okay, thanks for investigating. |
I managed to reproduce it with xdebug too (by running Here is a (not very helpful) stack trace:
This is on PHP 8.1.28: Line 1720 in 9119509
|
Description
I created a very minimal reproducer there
PHP Version
PHP 8.3.3-1+ubuntu22.04.1+deb.sury.org+1 (cli) (built: Feb 15 2024 18:38:52) (NTS)
Operating System
Ubuntu 22.04.4 LTS
The text was updated successfully, but these errors were encountered: