View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001471 | Xdebug | Uncategorized | public | 2017-09-16 04:08 | 2017-12-02 18:36 |
| Reporter | yangrokety | Assigned To | derick | ||
| Priority | high | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | linux | OS | ubuntu 17.04 | ||
| Product Version | 2.5.5 | ||||
| Target Version | 2.6.0 | Fixed in Version | 2.6.0alpha1 | ||
| Summary | 0001471: Tracing crashes with return_assignments and ternairy operator | ||||
| Description | If I use function trace to trace this code : $ff = "bb"; I will always encounter core dump. My ini config: | ||||
| Additional Information | In xdebug_find_var_name: When opcode is ZEND_QM_ASSIGN('?:'handler), there doesn't has variable name. The core dump: Program terminated with signal SIGSEGV, Segmentation fault. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 5.6.30-5.6.35 | ||||
|
|
This also crashes for PHP 7.0 and 7.1. |
|
|
Hi, derick I try to reproduce 0001414, but I found normal variable assignment always use ZEND_ASSIGN(both php7.0.22 and php7.1.9 with opcache enable). In php7.1.9 with opcache, there are not ZEND_QM_ASSIGN: and the opcache log: In php7.0.22 with opcache: and the opcache log: |
|
|
test.php <?php t.php <?php |
|
|
Fixed for 2.5.6, and 2.6.0dev. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-09-16 04:08 | yangrokety | New Issue | |
| 2017-09-21 10:16 | derick | Note Added: 0004417 | |
| 2017-09-21 10:16 | derick | Assigned To | => derick |
| 2017-09-21 10:16 | derick | Status | new => confirmed |
| 2017-09-21 10:17 | derick | Target Version | => 2.5.6 |
| 2017-09-27 09:39 | yangrokety | Note Added: 0004430 | |
| 2017-09-27 09:40 | yangrokety | Note Added: 0004431 | |
| 2017-10-07 09:44 | derick | Summary | core dump when use function trace => Tracing crashes with return_assignments and ternairy operator |
| 2017-10-07 09:57 | derick | Note Added: 0004437 | |
| 2017-10-07 09:57 | derick | Status | confirmed => closed |
| 2017-10-07 09:57 | derick | Resolution | open => fixed |
| 2017-10-07 09:57 | derick | Fixed in Version | => 2.5.6 |
| 2017-11-05 14:11 | derick | Fixed in Version | 2.5.6 => 2.6.0dev |
| 2017-11-05 14:12 | derick | Target Version | 2.5.6 => 2.6.0dev |
| 2017-12-02 15:57 | derick | Fixed in Version | 2.6.0dev => 2.6.0alpha1 |
| 2017-12-02 18:34 | derick | Target Version | 2.6.0dev => 2.6.0alpha1 |
| 2017-12-02 18:36 | derick | Target Version | 2.6.0alpha1 => 2.6.0 |
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |