View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000279 | Xdebug | Uncategorized | public | 2007-05-31 23:32 | 2007-07-15 19:39 |
| Reporter | nlgordon | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | open | ||
| Summary | 0000279: PHP segfault on use of virtual() function | ||||
| Description | When using the virtual function to include a file, approximately 8000 characters later php segfaults in xdebug.c at line:2894 | ||||
| Additional Information | Backtrace: (gdb) bt Upon investigating that line references a return from EG that appears to be NULL. Checking for null and instead setting the lineno variable to 0 fixes the problem. I'm not going to claim that it is a real fix, but that is where it is segfaulting. <xdebug.c: 2893> Reproducing was a little difficult in that there had to be over 8000 characters output after the end of the php block containing the virtual() function. For example: <?php I've listed the php version as 5.2-dev, but it is actually 5.2.2. Interestingly enough having the suhosin extension enabled prevents the segfault from happening. | ||||
| Tags | No tags attached. | ||||
| Operating System | Redhat Enterprise 4 | ||||
| PHP Version | 5.2-dev | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2007-05-31 23:32 | nlgordon | New Issue | |
| 2007-07-15 19:39 | derick | Status | new => closed |
| 2007-07-15 19:39 | derick | Note Added: 0000697 | |
| 2016-07-31 12:36 | derick | Category | Usage problems => Usage problems (Crashes) |
| 2016-07-31 12:38 | derick | Category | Usage problems (Crashes) => Usage problems (Wrong Results) |
| 2020-03-12 16:35 | derick | Category | Usage problems (Wrong Results) => Variable Display |
| 2020-03-12 16:38 | derick | Category | Variable Display => Uncategorized |