php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8647 php.exe exception: access violation address: 0x1008e6a1 on or after file()
Submitted: 2001-01-10 21:05 UTC Modified: 2001-03-09 21:14 UTC
From: peter at helpnet dot com dot au Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.4 OS: NT 4.0 SP6a
Private report: No CVE-ID: None
 [2001-01-10 21:05 UTC] peter at helpnet dot com dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-11 15:06 UTC] 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-24 19:32 UTC] sniper@php.net
This (XML related) bug should be fixed in CVS already. Please try the binaries
found at http://www.php4win.de/

--Jani
 [2001-03-09 21:14 UTC] sniper@php.net
No feedback.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC