PHP 4.0 Bug #7296: PHP Memory Errors(Access Violations)

From: Date: Tue, 17 Oct 2000 21:35:46 +0000
Subject: PHP 4.0 Bug #7296: PHP Memory Errors(Access Violations)
Groups: php.dev 
Request: Send a blank email to php-dev+get-35331@lists.php.net to get a copy of this message
From: primeevil@thecodevault.net Operating system: Windows 2000 PHP version: 4.0.3pl1 PHP Bug Type: *General Issues Bug description: PHP Memory Errors(Access Violations) 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. -- Edit Bug report at: http://bugs.php.net/?id=7296&edit=1

« previous php.dev (#35331) next »