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

From: Date: Fri, 03 Nov 2000 00:56:59 +0000
Subject: Re: PHP 4.0 Bug #7296 Updated: PHP Memory Errors(Access Violations)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-36888@lists.php.net to get a copy of this message
NTDLL! 77fc999b() MSVCRT! 78001089() MSVCRT! 78001026() ----- Original Message ----- From: "Bug Database" <php-dev@lists.php.net> To: <primeevil@thecodevault.net> Sent: Thursday, November 02, 2000 2:43 PM Subject: PHP 4.0 Bug #7296 Updated: PHP Memory Errors(Access Violations) > ID: 7296 > Updated by: dbeu > Reported By: primeevil@thecodevault.net > Status: Feedback > Bug Type: Reproduceable crash > Assigned To: > Comments: > > can you compile a debug build and paste the call stack here? > > 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 >

« previous php.dev (#36888) next »