#26665 [NEW]: php crashes with large files and array work (2MB Script File). win32 works.
From: fschaper at intux dot org
Operating system: Linux only / Apache 1.3.28
PHP version: 4.3.3
PHP Bug Type: Reproducible crash
Bug description: php crashes with large files and array work (2MB Script File). win32 works.
Description:
------------
While working with "many" array's (around 2MB of code) we encountered a
crash on linux-systems while everything works fine under windows. PHP
silently fails - only error log is the apache segfault.
Apache 1.3.28
PHP 4.3.3
Reproduce code:
---------------
http://www.intux.org/tmp/php_segf_test.tar.gz
100 Lines of code works
Around 103 lines and more and it starts to break down
Expected result:
----------------
The last PHP command should write an "done" on the page.
Actual result:
--------------
An empty document should be returned since apache simply crashes
--
Edit bug report at http://bugs.php.net/?id=26665&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26665&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26665&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26665&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26665&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26665&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26665&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26665&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26665&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26665&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26665&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26665&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26665&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26665&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26665&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26665&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26665&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26665&r=float
Thread (13 messages)
- fschaper at intux dot org
- eru@php.net#26665 [Opn->Fbk]: php crashes with large files and array work (2MB Script File). win32 works.
- fschaper at intux dot org#26665 [Fbk->Opn]: php crashes with large files and array work (2MB Script File). win32 works.
- fschaper at intux dot org#26665 [Opn]: php crashes with large files and array work (2MB Script File). win32 works.
- sniper@php.net#26665 [Opn->Fbk]: php crashes with large files and array work (2MB Script File). win32 works.
- fschaper at intux dot org#26665 [Fbk->Opn]: php crashes with large files and array work (2MB Script File). win32 works.
- fschaper at intux dot org#26665 [Opn]: php crashes with large files and array work (2MB Script File). win32 works.
- iliaa@php.net#26665 [Opn->Ver]: php crashes with large files and array work (2MB Script File). win32 works.
- sniper@php.net#26665 [Ver->Bgs]: php crashes with large files and array work (2MB Script File). win32 works.
- brianlmoon@php.net#26665 [Bgs->Opn]: php crashes with large files and array work (2MB Script File). win32 works.
- pajoye@php.net#26665 [Opn]: php crashes with large files and array work (2MB Script File). win32 works.
- sniper@php.net#26665 [Opn->WFx]: php crashes with large files and array work (2MB Script File). win32 works.
- fschaper at intux dot org#26665 [WFx]: php crashes with large files and array work (2MB Script File). win32 works.