View Issue Details

IDProjectCategoryView StatusLast Update
0001759XdebugCode Coveragepublic2020-03-10 11:33
Reporterderick Assigned Toderick  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Version2.9.2 
Target Version2.9.3Fixed in Version2.9.3 
Summary0001759: User registered opcode handlers should call ones already set by other extensions
Description

Xdebug registers opcode handlers for code coverage, exit, and tracing. These currently return the ZEND_USER_OPCODE_DISPATCH value which means that the Zend engine users its internal implementation to further handle that opcode. If however another extension (such as https://github.com/nikic/scalar_objects) has also overridden the opcode, its handler will not be called.

Make sure to remember already set handlers, and then call these if they're not NULL, and otherwise continue returning ZEND_USER_OPCODE_DISPATCH.

Steps To Reproduce

Also reported for https://github.com/nikic/scalar_objects at https://github.com/nikic/scalar_objects/issues/40

TagsNo tags attached.
Operating System
PHP Version7.4.0-7.4.4

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-03-07 10:53 derick New Issue
2020-03-07 10:53 derick Status new => assigned
2020-03-07 10:53 derick Assigned To => derick
2020-03-07 10:55 derick Description Updated
2020-03-07 10:55 derick Steps to Reproduce Updated
2020-03-10 11:33 derick Status assigned => closed
2020-03-10 11:33 derick Resolution open => fixed
2020-03-10 11:33 derick Fixed in Version => 2.9.3