ID: 32422
User updated by: rob at wildlime dot com
Reported By: rob at wildlime dot com
Status: Open
Bug Type: Reproducible crash
Operating System: Windows XP SP2
PHP Version: 4.3.10
New Comment:
having said that, it's just borked in php4ts.zend_strndup
Previous Comments:
------------------------------------------------------------------------
[2005-03-23 05:01:09] rob at wildlime dot com
I *think* the fault is happening in function php4ts.virtual_getcwd_ex
------------------------------------------------------------------------
[2005-03-23 04:07:10] rob at wildlime dot com
Description:
------------
Experiencing an intermittent (once every 5-10 requests) access
violation.
btw, I have posted this to the PHP bug list rather than the PEAR one as
it is a crash, not just a script error.
Here's the info I can glean from the debugger. I'm afraid I don't have
the debug builds.
Windows XP pro SP2
Apache/1.3.33 (Win32)
PHP/4.3.10
stack trace:
7C910C27 C:\WINDOWS\system32\ntdll.dll
7C910D5C C:\WINDOWS\system32\ntdll.dll
77C2C2DE C:\WINDOWS\system32\msvcrt.dll
77C39AE9 C:\WINDOWS\system32\msvcrt.dll
77C35F5D C:\WINDOWS\system32\msvcrt.dll
77C35FEC C:\WINDOWS\system32\msvcrt.dll
10047D4E c:\php4\php4ts.dll
or sometimes:
77C46137 C:\WINDOWS\system32\msvcrt.dll
100CA6AE c:\php4\php4ts.dll
60002E50 c:\php4\php4apache.dll
6000186F c:\php4\php4apache.dll
dll base addresses:
0x60000000 php4apache.dll
0x10000000 php4ts.dll
Reproduce code:
---------------
<?php
require_once 'Date.php';
$now =& new Date();
$year = 2005;
$month = 3;
$day = 24;
$time = '09:00';
$s = sprintf("%04d-%02d-%02dT%s:00", $year, $month, $day, $time);
$date = new Date($s);
$date->before($now);
?>
Expected result:
----------------
nothing - no output, so blank browser window
Actual result:
--------------
Access violation every 5-10 requests.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=32422&edit=1