Re: PHP 4.0 Bug #8647 Updated: php.exe exception: access violation address: 0x1008e6a1 on or after file()

From: Date: Wed, 24 Jan 2001 11:39:20 +0000
Subject: Re: PHP 4.0 Bug #8647 Updated: php.exe exception: access violation address: 0x1008e6a1 on or after file()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-44887@lists.php.net to get a copy of this message
I found this in a Linux log when I tested XML page on Linux: [Wed Jan 24 20:48:39 2001] [notice] child pid 24731 exit signal Segmentation fault (11) The line occured once for each time the script blew up. Bug Database wrote: > > ID: 8647 > Updated by: dbeu > Reported By: peter@helpnet.com.au > Old-Status: Open > Status: Feedback > Bug Type: Reproduceable crash > Assigned To: > Comments: > > can you please append some *short* reproducing code? > > i tested file() with a file greater than 100k and it didn't crash. > > Previous Comments: > --------------------------------------------------------------------------- > > [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

« previous php.dev (#44887) next »