View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001612 | Xdebug | Uncategorized | public | 2019-01-17 11:49 | 2019-01-17 11:56 |
Reporter | theis | Assigned To | derick | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | duplicate | ||
Product Version | 2.7.0beta1 | ||||
Summary | 0001612: Wrong default parameter when using xdebug | ||||
Description | I'm using Debian Buster with PHP 7.3 and xdebug from the distribution. I noticed the bug in the following code (Stram.php from zend-dactiros):
$whence is a default parameter and should be SEEK_SET when not explicitly passed. But sometimes $whence becomes null instead of 0 and fseek fails. With sometimes I mean the first call(s) are OK, but then the error happens. This happens even if I'm only enabling xdebug but not debugging at all. My xdebug.ini is pretty straightforward: | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 7.3.0 | ||||
|
This is very likely the same problem as 0001583, which has a workaround: https://bugs.xdebug.org/view.php?id=1583#c4774 |
|
Maybe this is related to 0001607: As the result I see similar error messages. I haven't tried to disable opcode yet. |
|
Yes, that worked! |
Date Modified | Username | Field | Change |
---|---|---|---|
2019-01-17 11:49 | theis | New Issue | |
2019-01-17 11:51 | derick | Note Added: 0004813 | |
2019-01-17 11:51 | derick | Relationship added | duplicate of 0001583 |
2019-01-17 11:51 | derick | Status | new => resolved |
2019-01-17 11:51 | derick | Resolution | open => duplicate |
2019-01-17 11:51 | derick | Assigned To | => derick |
2019-01-17 11:51 | theis | Note Added: 0004814 | |
2019-01-17 11:56 | theis | Note Added: 0004815 | |
2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |