PHP 4.0 Bug #7296 Updated: PHP Memory Errors(Access Violations)
| From: | primeevil at thecodevault dot net | Date: | Tue, 17 Oct 2000 21:37:19 +0000 |
| Subject: | PHP 4.0 Bug #7296 Updated: PHP Memory Errors(Access Violations) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-35332@lists.php.net to get a copy of this message | ||
ID: 7296
User Update by: primeevil@thecodevault.net
Status: Open
Old-Bug Type: *General Issues
Bug Type: Reproduceable crash
Description: PHP Memory Errors(Access Violations)
Previous Comments:
---------------------------------------------------------------------------
[2000-10-17 17:35:46] primeevil@thecodevault.net
With my news script, NewsIt, there is a problem with "compiling" the news. For some reason
PHP crashes with memory read errors. MSVC++ Debug reveals that it's an Access Violation. The
error, before debug, is as follows:
php.exe - Application Error
The instruction at "0x77fc999b" referenced memory at "0x00b1d54d". The memory
could not be "read".
When debug is entered it has this error message:
Unhandled exception in php.exe (NTDLL.DLL): 0xC0000005: Access Violation.
These are the five lines of ASM, starting with the problem line:
77FC999B mov cl,byte ptr [eax+5]
77FC999E test cl,1
77FC99A1 je 77FCAFF2
77FC99A7 mov word ptr [eax+2],di
77FC99AB cmp di,80h
This happens before anything is written to the file. E-mail me for the script, because the function
that builds the news is too large.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7296