PHP 4.0 Bug #7296 Updated: PHP Memory Errors(Access Violations)
| From: | sniper@php.net | Date: | Thu, 07 Dec 2000 16:55:12 +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-40453@lists.php.net to get a copy of this message | ||
ID: 7296
Updated by: sniper
Reported By: primeevil@thecodevault.net
Status: Closed
Bug Type: Reproduceable crash
Assigned To:
Comments:
Reopen, if this still happens when using latest snapshot
from http://snaps.php.net/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2000-11-02 15:43:08] dbeu@php.net
can you compile a debug build and paste the call stack here?
---------------------------------------------------------------------------
[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