ID: 27342
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Closed
Bug Type: Zend Engine 2 problem
Operating System: win32 only
-PHP Version: 5CVS-2004-02-23 (dev)
+PHP Version: 5CVS-2004-03-10 (dev)
New Comment:
Hi sniper,
It doesn't crash apache and windows doesn't display an error box, but
GDB still complain.
Take a look:
[EMAIL PROTECTED] /cygdrive/c/nuno/testing
$ php bug-tidy.php
[EMAIL PROTECTED] /cygdrive/c/nuno/testing
$ gdb php
(...)
(gdb) run bug-tidy.php
Starting program: /cygdrive/c/php/php.exe bug-tidy.php
---Type <return> to continue, or q <return> to quit---
Program received signal SIGSEGV, Segmentation fault.
0x1000a8a4 in zend_fetch_debug_backtrace () from
/cygdrive/c/php/php5ts.dll
(gdb) run bug-tidy2.php
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /cygdrive/c/php/php.exe bug-tidy2.php
---Type <return> to continue, or q <return> to quit---
Program received signal SIGSEGV, Segmentation fault.
0x1000a8a4 in zend_fetch_debug_backtrace () from
/cygdrive/c/php/php5ts.dll
(gdb)
Strange...
Previous Comments:
------------------------------------------------------------------------
[2004-03-09 19:30:46] [EMAIL PROTECTED]
Does not crash using latest CVS snapshot.
(neither the first script or the non-existing file test)
------------------------------------------------------------------------
[2004-02-26 10:46:25] [EMAIL PROTECTED]
This code also segfaults:
<?php
$tidy = tidy_parse_file('bogus.htm');
?>
where bogus.htm file doesn't exist
------------------------------------------------------------------------
[2004-02-24 13:01:40] [EMAIL PROTECTED]
I've compiled with Cygwin/gcc.
Maybe the problem is in the microsoft VC compiler...
------------------------------------------------------------------------
[2004-02-24 12:05:05] [EMAIL PROTECTED]
well..then there's surely something wrong with the snaps since those
won't work but self-compiled one works? :)
------------------------------------------------------------------------
[2004-02-24 10:00:01] [EMAIL PROTECTED]
Just FYI, snaps box is not for debug purposes. Its "if we were
releasing PHP today you would get this".
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/27342
--
Edit this bug report at http://bugs.php.net/?id=27342&edit=1