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 | |||
| 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 | ||||