PHP 4.0 Bug #8647 Updated: php.exe exception: access violation address: 0x1008e6a1 on or after file()
| From: | sniper@php.net | Date: | Thu, 25 Jan 2001 00:32:06 +0000 |
| Subject: | PHP 4.0 Bug #8647 Updated: php.exe exception: access violation address: 0x1008e6a1 on or after file() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44940@lists.php.net to get a copy of this message | ||
ID: 8647
Updated by: sniper
Reported By: peter@helpnet.com.au
Status: Feedback
Bug Type: Reproduceable crash
Assigned To:
Comments:
This (XML related) bug should be fixed in CVS already. Please try the binaries
found at http://www.php4win.de/
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-11 15:06:51] dbeu@php.net
can you please append some *short* reproducing code?
i tested file() with a file greater than 100k and it didn't crash.
---------------------------------------------------------------------------
[2001-01-10 21:05:56] peter@helpnet.com.au
Loading array via file(). File is 4Mb of text. Bang, PHP died.
I increased PHP memory from 8 MB to 20 Mb but did not fix it. I cut the file down to about 10Kb but
that did not fix it. When I comment out the line containing file(), that removes the problem.
I thought it might not be file(), it might be any part of the code that uses the array so I
commented out file() and inserted statements that manually load the array with data. The script ran
to completion using the manual array.
gdb backtrace is gobbledygook to me. I am reading your documentation page to see if any of it is
relevant to Windows environment. If your page helps me change my php setup to produce additional
diagnostics, I will add them to this report.
Apache is the latest Apache 1.14 or something from about 3 weeks ago. PHP is PHP 4.0.4 from the
large download file. NT 4.0 SP6a running without a hitch for 6 months. The code I am working on was
working in the middle of last year on a PHP3 downloaded in the middle of last year.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8647