View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0001950 | Xdebug | Tracing | public | 2021-02-24 11:16 | 2021-03-15 16:33 | 
| Reporter | derick | Assigned To | derick | ||
| Priority | urgent | Severity | crash | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Product Version | 3.0.3 | ||||
| Target Version | 3.0dev | Fixed in Version | 3.0.4 | ||
| Summary | 0001950: Assignment trace with ASSIGN_OBJ_REF crashes | ||||
| Description | When tracing with xdebug.collect_assignments, running through code that has a ASSIGN_OBJ_REF crashes. That happens with the following code: 
 | ||||
| Steps To Reproduce | Save script to disk, run it with: XDEBUG_TRIGGER=yes gdb --args php -n -dzend_extension=xdebug -dxdebug.collect_assignments=1 -dxdebug.mode=trace /tmp/test-class.php You then get: 
 Which is due to xdebug_find_referenced_opline in src/tracing/tracing.c:587 doing the wrong thing, and not getting the right opcode. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 8.0.0-8.0.4 | ||||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2021-02-24 11:16 | derick | New Issue | |
| 2021-02-24 11:16 | derick | Status | new => assigned | 
| 2021-02-24 11:16 | derick | Assigned To | => derick | 
| 2021-02-24 11:17 | derick | Target Version | => 3.0dev | 
| 2021-03-14 16:44 | derick | Status | assigned => closed | 
| 2021-03-14 16:44 | derick | Resolution | open => fixed | 
| 2021-03-14 16:44 | derick | Fixed in Version | => 3.0dev | 
| 2021-03-15 16:33 | derick | Fixed in Version | 3.0dev => 3.0.4 | 
