View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002182 | Xdebug | Stacktraces | public | 2023-06-16 18:12 | 2023-07-14 09:14 |
| Reporter | rstark | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.2.1 | ||||
| Fixed in Version | 3.2.2 | ||||
| Summary | 0002182: Segfault with ArrayObject on stack | ||||
| Description | Segfault occurs when 'develop' mode is enabled with ArrayObject as a parameter on the stack | ||||
| Steps To Reproduce | Run test program: <?php class Z { $obj = new ArrayObject(new Z()); | ||||
| Additional Information | Recreated using xdebug3-3.2.0, 3.2.1, and current dev master. The attached backtrace and valgrind output are for current dev master. $ cat /etc/redhat-release Removing the exception check on the first 'if' in xdebug_objdebug_pp on line 93 of src/lib/var.c seems to fix the issue, but I don't know that it is the right fix. | ||||
| Tags | No tags attached. | ||||
| Operating System | RHEL 8.8 | ||||
| PHP Version | 8.1.10-8.1.19 | ||||
|
|
Fixed for 3.2.2: https://github.com/xdebug/xdebug/pull/892 |