View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002019 | Xdebug | Uncategorized | public | 2021-09-16 18:32 | 2021-10-04 09:29 |
| Reporter | patrickallaert | Assigned To | derick | ||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | Docker | OS | Alpine | ||
| Product Version | 3.0.4 | ||||
| Target Version | 3.1dev | Fixed in Version | 3.1.0 | ||
| Summary | 0002019: Xdebug crash because of uninitialized memory | ||||
| Description | On Alpine (using musl), memory is not zeroed when allocated. As of commit 9437d03a496fe11d0da0dbfa94ede3690bcbaace, XG_BASE(stack) is not initialized anymore. It may cause crashes because of invalid | ||||
| Steps To Reproduce | Develop an extension that is using zend_compile_file/zend_compile_string as part of RINIT and load it with xdebug on Alpine with PHP compiled with ZTS. Running PHP with that extension and xdebug will result in: #0 0x00007fbfa37d55ad in memset () from /lib/ld-musl-x86_64.so.1 | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 8.0.0-8.0.4 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-09-16 18:32 | patrickallaert | New Issue | |
| 2021-09-21 07:51 | derick | Fixed in Version | => 3.1dev |
| 2021-09-21 07:51 | derick | Target Version | => 3.1dev |
| 2021-09-21 07:51 | derick | Assigned To | => derick |
| 2021-09-21 07:51 | derick | Status | new => closed |
| 2021-09-21 07:51 | derick | Resolution | open => fixed |
| 2021-09-21 07:51 | derick | Note Added: 0006021 | |
| 2021-10-04 09:29 | derick | Fixed in Version | 3.1dev => 3.1.0 |