View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001736 | Xdebug | Step Debugging | public | 2020-01-21 18:26 | 2020-01-22 16:02 |
Reporter | SammyK | Assigned To | derick | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 2.9.1 | ||||
Target Version | 2.9.2 | Fixed in Version | 2.9.2 | ||
Summary | 0001736: Segmentation fault when other extensions run PHP in RINIT | ||||
Description | Starting in Xdebug 2.9.1, when In the case of the Datadog PHP tracer extension, when ddtrace's RINIT is run before Xdebug's RINIT, XG_DBG(breakable_lines_map) is not yet allocated so the segmentation fault occurs when trying to execute a PHP file set via the ddtrace.request_init_hook INI setting: https://github.com/DataDog/dd-trace-php/blob/2025ef3aa38c0ba490b2379ac9dcc214549d1876/src/ext/request_hooks.c#L179 A possible fix PR can be found here: https://github.com/xdebug/xdebug/pull/544 | ||||
Steps To Reproduce | Set | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.4.0-7.4.4 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-21 18:26 | SammyK | New Issue | |
2020-01-22 16:00 | derick | Target Version | => 2.9.2 |
2020-01-22 16:01 | derick | Assigned To | => derick |
2020-01-22 16:01 | derick | Status | new => closed |
2020-01-22 16:01 | derick | Resolution | open => fixed |
2020-01-22 16:01 | derick | Fixed in Version | => 2.9dev |
2020-01-22 16:01 | derick | Note Added: 0005222 | |
2020-01-22 16:02 | derick | Fixed in Version | 2.9dev => 2.9.2 |
2020-03-12 16:33 | derick | Category | Remote Debugging => Step Debugging |