View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000095 | Xdebug | Uncategorized | public | 2004-10-20 07:50 | 2005-12-30 16:39 |
| Reporter | su1d | Assigned To | |||
| Priority | normal | Severity | crash | Reproducibility | always |
| Status | closed | Resolution | reopened | ||
| Summary | 0000095: Crashes in PHP-CLI and PHP-Apache | ||||
| Description | as I already stated on php.pecl.dev, Apache -- the last 1.3.x version | ||||
| Tags | No tags attached. | ||||
| Operating System | Windows XP SP2 | ||||
| PHP Version | 5.1.0-dev | ||||
|
|
Should be fixed in CVS by now. |
|
|
negative. PHP-bin: latest snapshost (Built On: Nov 04, 2004 19:30 GMT) starting PHP-CLI: /CLI has encountered a problem and needs to close.../ |
|
|
Then I really need more information, as it works fine on Linux for me (and i can't test on Windows). Perhaps you can try the latest snapshots of both PHP 5.1 and Xdebug one more time? http://snaps.php.net/win32/php5-win32-latest.zip |
|
|
PHP 5.1.0-dev (cli) (built: Jan 29 2005 08:28:31) php.exe crashes after a script is finished executing. I suppose I have to try it with the latest snapshot, but neither of two today's snapshots were able to run on my box without crashes. Either something's wrong with my box (although I doubt about that, since my currently installed snapshot works well), or there are some bugs in PHP5.1 snapshots and we have to wait untill they fix them. I think we should ask someone else who got WinXP installed to test the module. |
|
|
I get the same problem under php 5.0 and apache 2. Run TestMain.php to repo the problem. ---- TestMain.php ----- require_once 'TestClasses.php'; $silly = new SillyClass(); $silly->sayHi(); try ?> ------ TestClasses.php ------- class MyException extends Exception class SillyClass Hello World ";}
} ?> |
|
|
I should note that this is under Windows (using Komoto). Exceptions are definitely the cause. |
|
|
Confirmed using latest PHP 5.1 and Xdebug snapshots. Can't debug here but will try to get some more information. |
|
|
No crash using PHP 5.0.3 (as released) and Xdebug snapshot. |
|
|
Should be fixed in CVS now - please reopen if problems keep occuring, but provide a sample script then. |
|
|
Still getting crashes with the latest PHP-5.1 snapshot (Built On: Mar 15, 2005 19:30 GMT) and XDebug-2.0.0beta3-dev. I've tried that with:
Also tried to play with options in my php.ini file with no result. I suppose, the crash appears in RSHUTDOWN or MSHUTDOWN functions, because everything's executed OK, and when PHP is being terminated, it segfaults with a common Windows crash-dialog. This is applied to only php-cli and php-win interfaces. Am I the only one who has the bug? |
|
|
Fixed by bugreporter himself, thanks! |
|
|
Actually, the segfault occurs in TSRM/TSRM.c:164 in the line: Paying attention to http://cvs.php.net/diff.php/TSRM/TSRM.c?r1=1.57&r2=1.58&ty=u So, the final code in TSRM.c, that doesn't cause any crash is like this: |
|
|
This bug seems to be fixed in xdebug cvs. |
|
|
Seems to be fixed following "Profic"'s report. Please reopen if this is not the case. |