Closed matthewnessworthy closed 1 year ago
Hey @matthewnessworthy,
I assume the fatal errors only happen with ddtrace loaded, but not without? Also, what version of phpseclib and the composer class map generator do you have? So that I can look at the exact code at the given line numbers.
It is weird to me to see that error pop up. Opcode 137 is ZEND_OP_DATA, an opcode which should never be executed. I wonder why this would happen; at least we are not directly interacting with opcodes having ZEND_OP_DATA.
I'd appreciate more information which could help me track this down, thanks!
@bwoebi thanks for following up, the requested version info is below
I upgraded the PHP version from 8.1.11 to 8.1.15 and the problem went away, so for me at least, this is no longer an issue
phpseclib/phpseclib
version from my composer.lock
{
"name": "phpseclib/phpseclib",
"version": "3.0.18",
"source": {
"type": "git",
"url": "https://github.com/phpseclib/phpseclib.git",
"reference": "f28693d38ba21bb0d9f0c411ee5dae2b178201da"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/f28693d38ba21bb0d9f0c411ee5dae2b178201da",
"reference": "f28693d38ba21bb0d9f0c411ee5dae2b178201da",
"shasum": ""
},
composer/class-map-generator
version from my composer.lock
{
"name": "composer/class-map-generator",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/composer/class-map-generator.git",
"reference": "1e1cb2b791facb2dfe32932a7718cf2571187513"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/composer/class-map-generator/zipball/1e1cb2b791facb2dfe32932a7718cf2571187513",
"reference": "1e1cb2b791facb2dfe32932a7718cf2571187513",
"shasum": ""
},
Looking at the changelog for the lastest PHP 8.1 versions, I find https://github.com/php/php-src/commit/4d4a53beee2b815ccd9f2905efd4f7f177c18ec8. (A misoptimization of the opcode which fails for you.)
I suspect this is thus not a problem in ddtrace itself, and we can close this issue again @matthewnessworthy ?
Thanks for the quick reply!
@bwoebi thanks, yes, we can go ahead and close this issue
Bug description
and
PHP version
Output of
php -v
Tracer version
Output of
php -r "echo phpversion('ddtrace').PHP_EOL;"
Installed extensions
Output of
php -m
OS info
Diagnostics and configuration
Output of phpinfo() (ddtrace >= 0.47.0)
Upgrading info
dd-trace 0.82.0