View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001590 | Xdebug | Uncategorized | public | 2018-11-29 20:56 | 2019-01-22 21:57 |
Reporter | dwilks | Assigned To | derick | ||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Platform | N/A | OS | * | ||
Product Version | 2.7.0beta1 | ||||
Summary | 0001590: Xdebug segfaults | ||||
Description | Run the attached main.php through Apache (standard config not PFM). It does not reproduce as a script. With xdebug enabled I reliably get a segfault without xdebug enabled everything works. | ||||
Steps To Reproduce | Extract the attached tar file In a fuller version of the test case with too much IP to post a second execution would cause an opcache assertion error Assertion failed: (op_array->opcodes[def].result_type & ((1<<1)|(1<<2))), function dce_live_ranges, file /Users/dwilks/src/php-src-PHP-7.3.0/ext/opcache/Optimizer/dce.c, line 515. | ||||
Additional Information | PHP 7.3.0RC6 (cli) (built: Nov 21 2018 11:50:03) ( NTS DEBUG ) Back trace
| ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | |||||
PHP Version | 7.3-dev | ||||
|
I can reproduce this without Apache, and just running it just like a script and using ZEND_DONT_UNLOAD_MODULES=1 USE_ZEND_ALLOC=0. Valgrind gives me the same (or very similar) trace when running just "ZEND_DONT_UNLOAD_MODULES=1 USE_ZEND_ALLOC=0 php main.php":
|
|
Just FYI... here's the opcache assertion that I mentioned distilled into a case simpler than this one. https://bugs.php.net/bug.php?id=77266 this fails w/o xdebug. |
|
This looks the same as 0001592. |
|
This is a duplicate of 0001583. |
Date Modified | Username | Field | Change |
---|---|---|---|
2018-11-29 20:56 | dwilks | New Issue | |
2018-11-29 20:56 | dwilks | File Added: php73segfault.tgz | |
2018-11-30 11:48 | derick | Summary | segfault running script first time in restarted apache => Xdebug segfaults |
2018-11-30 11:48 | derick | Additional Information Updated | |
2018-11-30 11:49 | derick | Note Added: 0004730 | |
2018-11-30 11:49 | derick | Assigned To | => derick |
2018-11-30 11:49 | derick | Status | new => acknowledged |
2018-11-30 11:49 | derick | Note Edited: 0004730 | |
2018-11-30 11:50 | derick | Note Edited: 0004730 | |
2018-11-30 11:50 | derick | Status | acknowledged => confirmed |
2018-11-30 11:50 | derick | Priority | normal => high |
2018-11-30 11:50 | derick | Category | Feature/Change request => Usage problems (Wrong Results) |
2018-11-30 11:50 | derick | OS | OS X => * |
2018-11-30 11:50 | derick | OS Version | 10.14.1 => |
2018-11-30 11:50 | derick | Platform | Mac => N/A |
2018-11-30 11:50 | derick | Target Version | => 2.7.0dev |
2018-12-08 00:24 | dwilks | Note Added: 0004754 | |
2018-12-11 11:07 | derick | Note Added: 0004762 | |
2019-01-22 21:24 | derick | Note Added: 0004821 | |
2019-01-22 21:24 | derick | Relationship added | duplicate of 0001583 |
2019-01-22 21:24 | derick | Status | confirmed => resolved |
2019-01-22 21:24 | derick | Resolution | open => duplicate |
2019-01-22 21:57 | derick | Target Version | 2.7.0dev => |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |