#26665 [Fbk->Opn]: php crashes with large files and array work (2MB Script File). win32 works.

From: Date: Fri, 19 Dec 2003 12:40:09 +0000
Subject: #26665 [Fbk->Opn]: php crashes with large files and array work (2MB Script File). win32 works.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52303@lists.php.net to get a copy of this message
 ID:               26665
 User updated by:  fschaper at intux dot org
 Reported By:      fschaper at intux dot org
-Status:           Feedback
+Status:           Open
 Bug Type:         Reproducible crash
 Operating System: Linux only / Apache 1.3.28
 PHP Version:      4.3.3
 New Comment:

Coredump: http://www.intux.org/tmp/coredump.tar.gz


Previous Comments:
------------------------------------------------------------------------

[2003-12-19 04:41:26] eru@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

And please provide a _short_ (10-20 lines) script, that reproduces the
problem.


------------------------------------------------------------------------

[2003-12-19 04:36:10] fschaper at intux dot org

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 this bug report at http://bugs.php.net/?id=26665&edit=1


Thread (13 messages)

« previous php.bugs (#52303) next »