ID:               32422
 User updated by:  rob at wildlime dot com
 Reported By:      rob at wildlime dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Windows XP SP2
 PHP Version:      4.3.10
 New Comment:

Installed php 4.3.11 RC1 (windows) to c:\php, but PEAR wont't install. 
The error on running go-pear.bat, accepting the defaults, is: "failed to
write c:\php\pear\data\PEAR\.tmppackage.dtd" 

There is plenty of disk space and I'm using an admin account.


Previous Comments:
------------------------------------------------------------------------

[2005-03-23 08:20:48] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip



------------------------------------------------------------------------

[2005-03-23 05:06:20] rob at wildlime dot com

having said that, it's just borked in php4ts.zend_strndup

------------------------------------------------------------------------

[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

Reply via email to