View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000033 | Xdebug | Uncategorized | public | 2003-12-21 09:21 | 2004-03-16 23:36 |
Reporter | zyx | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | open | ||
Summary | 0000033: Apache crashes with static methods | ||||
Description | I've got some static methods in my PHP 5 (today's snapshot) code. I tried to run it with xdebug. It crashed Apache 2, when PHP ended executing first called static method. | ||||
Tags | No tags attached. | ||||
Operating System | Windows XP | ||||
PHP Version | 5.0.0-dev | ||||
|
Can you please provide a sample script so that I can try to reproduce it? And do I understand correctly that you compiled the latest Xdebug (from CVS) for Windows yourself? |
|
I found the reason of the problem - Xdebug crashes, when I try to create an object of class with destructor. I was creating a lot of classes without destructors and they were working without errors. But when I added a destructor ( function __destruct(){ ), PHP and Apache 2 were crashing on line $object = new class_with_destructor; Here is the sample: <?php
?> BTW. I downloaded XDebug binaries from this site. I'd have to download newest PHP 5 sources to compile it myself, because my actual sources are from June or July. |
|
Okay, this is a known problem. Actually it's something buggy in PHP with the shutdown order, and not in Xdebug. I'll keep this bugreport though. |
|
Fixed in latest PHP CVS and Xdebug CVS. |
Date Modified | Username | Field | Change |
---|---|---|---|
2003-12-21 09:21 | zyx | New Issue | |
2003-12-21 12:53 | derick | Note Added: 0000081 | |
2003-12-21 12:53 | derick | Status | new => feedback |
2003-12-23 09:46 | zyx | Note Added: 0000083 | |
2003-12-23 10:40 | derick | Note Added: 0000084 | |
2003-12-23 10:40 | derick | Status | feedback => acknowledged |
2004-01-05 09:20 | derick | Relationship added | has duplicate 0000038 |
2004-03-16 23:36 | derick | Status | acknowledged => closed |
2004-03-16 23:36 | derick | Note Added: 0000108 | |
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 |