View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0000142 | Xdebug | public | 2005-08-02 12:35 | 2005-09-23 09:23 | |
| Reporter | e-novative | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always | 
| Status | closed | Resolution | open | ||
| Summary | 0000142: xdebug crashes in PHP-CLI | ||||
| Description | I am running PHPUnit2 tests at the command line. I'm testing a Collection class implementing the Iterator interface. The script runs, but xdebug seems to crash on shutdown. When I disable xdebug in php.ini, everything works fine (naturally). I'm not sure which additional information I can provide, so please give instructions. | ||||
| Additional Information | AppName: php.exe     AppVer: 5.0.4.4     ModName: php_xdebug.dll | ||||
| Tags | No tags attached. | ||||
| Operating System | Windows XP | ||||
| PHP Version | 5.0.4 | ||||
|  | Please provide a short reproducable script that causes this crash - without this I can not debug Xdebug, unless you manage to run this on linux and use valgrind and gdb to create specific crash information, including a backtrace. | 
|  | Here is a minimal example that crashes on my system. If I comment out the destructor of Object, the example works fine. <?php class eno_Exception extends Exception {} require_once 'PHPUnit2/Framework/TestCase.php'; class CollectionTest extends PHPUnit2_Framework_TestCase class Collection } class Object ?> | 
|  | Although that wasn't a very short script, I did confirm it. It seems like some structure in PHP isn't set correctly though. I'll have a look there. | 
|  | Fixed in CVS, thanks for the report. | 
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2005-08-02 12:35 | e-novative | New Issue | |
| 2005-08-02 12:40 | derick | Note Added: 0000271 | |
| 2005-08-02 12:40 | derick | Status | new => feedback | 
| 2005-08-02 13:47 | e-novative | Note Added: 0000272 | |
| 2005-09-22 20:49 | derick | Note Added: 0000291 | |
| 2005-09-22 20:49 | derick | Status | feedback => confirmed | 
| 2005-09-23 09:23 | derick | Status | confirmed => closed | 
| 2005-09-23 09:23 | derick | Note Added: 0000293 | |
| 2016-07-31 12:35 | derick | Category | Debug client (console) => debugclient (debugging tool) | 
| 2016-07-31 12:35 | derick | Category | debugclient (debugging tool) => (No Category) | 
