View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001676 | Xdebug | Uncategorized | public | 2019-06-18 12:46 | 2019-08-26 12:37 |
| Reporter | cyrus.and | Assigned To | derick | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| OS | Linux | OS Version | Debian GNU/Linux | ||
| Target Version | 2.8.0dev | Fixed in Version | 2.8.0beta2 | ||
| Summary | 0001676: xdebugtrace* deinit and write_footer not called for shutdown functions | ||||
| Description | Trace files footers are sometimes missing when PHP shutdown functions are being traced. It seems that the above callbacks are just fired once, while the *_init callback, for example, is called multiple times (one per registered shutdown function?). Side question: is having multiple trace files in this case even the expected behavior? | ||||
| Steps To Reproduce | index.php:
Relevant php.ini bits:
If I request the page (once) I obtain:
As you can see, TRACE END does not appear in the first trace file. Further investigation led me to understand that _deinit and _write_footer functions are simply not called in that case. | ||||
| Tags | No tags attached. | ||||
| Operating System | |||||
| PHP Version | 7.3.2-7.3.4 | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-06-18 12:46 | cyrus.and | New Issue | |
| 2019-06-28 11:49 | derick | Target Version | => 2.8.0dev |
| 2019-07-26 14:31 | derick | Assigned To | => derick |
| 2019-07-26 14:31 | derick | Status | new => closed |
| 2019-07-26 14:31 | derick | Resolution | open => fixed |
| 2019-07-26 14:31 | derick | Fixed in Version | => 2.8.0dev |
| 2019-08-26 12:37 | derick | Fixed in Version | 2.8.0dev => 2.8.0beta2 |
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |