php4-beta | 200004
Date: 04/14/00
- Next message: John Steele: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Previous message: Hartmut Holzgraefe: "[PHP4BETA] cvs: /php4/dl/imap IMAP_IS_NO_LONGER_HERE README /php4/dl/imap/examples dlimap_ping.php3 simple.php3 /php4/dl/imap/examples/espanol dlimap_ping.php3 dlimapbd2.php3 dlimapbd3.php3 dlimapbd4.php3 dlimapbody.php3"
- Next in thread: John Steele: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Reply: John Steele: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Reply: Andi Gutmans: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
With the latest php4 cvs, I am getting the following in my apache error log:
[Fri Apr 14 22:44:32 2000] Script: '/var/www/horde/imp/test.php'
---------------------------------------
./zend-scanner.l(213) : Block 0x081D21E8 status:
Beginning: OK (allocated on ./zend-scanner.l:544, 16 bytes)
End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84)
1 byte(s) overflown
---------------------------------------
./zend-scanner.l(544) : Freeing 0x081D220C (16 bytes),
script=/var/www/horde/imp/test.php
Here is the simplest test script I have found that reproduces the problem:
<?php use './fishfooder'; ?>done
Here's where it gets tricky: it seems to depend on the number of characters in
the filename. Some longer ones don't generate the error, some do; no shorter
ones that I tried generated it, but I didn't do an exhaustive search. Slashes
('/') indicating directories _do_ count in the number of characters. require()
does not generate the error.
Also, the file must exist, but it does not have to be anything in it -
fishfooder.php is a completely empty file for the purposes of the above script.
Hopefully this is enough detail to track down the problem.
-chuck
-- PHP 4.0 Beta Mailing List <http://www.php.net/version4/> To unsubscribe, e-mail: php4beta-unsubscribe <email protected> For additional commands, e-mail: php4beta-help <email protected> To contact the list administrators, e-mail: php4beta-admin <email protected>
- Next message: John Steele: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Previous message: Hartmut Holzgraefe: "[PHP4BETA] cvs: /php4/dl/imap IMAP_IS_NO_LONGER_HERE README /php4/dl/imap/examples dlimap_ping.php3 simple.php3 /php4/dl/imap/examples/espanol dlimap_ping.php3 dlimapbd2.php3 dlimapbd3.php3 dlimapbd4.php3 dlimapbody.php3"
- Next in thread: John Steele: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Reply: John Steele: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Reply: Andi Gutmans: "Re: [PHP4BETA] _very_ specific memory leak in Zend"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

