I'm seeing a memory overrun under PHP 4.3.0pre2 (debug) running under
Windows 2000 ISAPI.  Using these two scripts:

test.php
--------
<html>
<head>
<link rel="stylesheet" href="stylesheet.php" type="text/css"> 
</head>
<body>
<span class="text">styled!</span>
</body>
</html>

stylesheet.php
--------------
<?php
        // only reload this version of the stylesheet ever hour
        header("Cache-Control: max-age=3600");
?>

.text {
        font-size: 12px;
        color: red;
        font-family: Arial, Helvetica, Verdana, sans-serif
}

If in a browser window I refresh this page repeatedly within about ten
seconds I get an access violation and this debug output:

---------------------------------------
C:\Work\php-source\php-4.3.0pre2\ext\bcmath\libbcmath\src\init.c(72) : 
Freeing 0x01B85050 (1 bytes), script=c:\inetpub\wwwroot\test.php
Last leak repeated 2 times
C:\Work\php-source\php-4.3.0pre2\ext\bcmath\libbcmath\src\init.c(57) : 
Freeing 0x01B84FF8 (29 bytes), script=c:\inetpub\wwwroot\test.php
Last leak repeated 2 times
---------------------------------------
c:\work\php-source\php-4.3.0pre2\zend\zend_ptr_stack.c(77) : Block
0x01B80650 status:
Beginning:   
Overrun (magic=0x01B80178, expected=0x7312F8DC)
      End: 
Unknown
---------------------------------------
c:\work\php-source\php-4.3.0pre2\zend\zend_hash.c(534) : ht=0x018f3484
is already destroyed

c:\work\php-source\php-4.3.0pre2\zend\zend_hash.c(660) : ht=0x018f3548
is already destroyed

---------------------------------------
c:\work\php-source\php-4.3.0pre2\zend\zend_ptr_stack.c(77) : Block
0x01B00650 status:
Beginning:   
Overrun (magic=0x01B00178, expected=0x7312F8DC)
      End: 
Unknown
---------------------------------------
c:\work\php-source\php-4.3.0pre2\zend\zend_hash.c(534) : ht=0x01894df4
is already destroyed

c:\work\php-source\php-4.3.0pre2\zend\zend_hash.c(660) : ht=0x01894eb8
is already destroyed
---------------------------------------

Any tips on how to track down what's going on here?

Michael Sisolak
[EMAIL PROTECTED]

__________________________________________________
Do you Yahoo!?
HotJobs - Search new jobs daily now
http://hotjobs.yahoo.com/

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to