Edit report at https://bugs.php.net/bug.php?id=60709&edit=1
ID: 60709 Comment by: bugzilla33 at gmail dot com Reported by: bugzilla33 at gmail dot com Summary: Any php file of size 8192 bytes crashes Apache and PHP Status: Open Type: Bug Package: Reproducible crash Operating System: Win All PHP Version: 5.4.0RC5 Block user comment: N Private report: N New Comment: Apache error.log: [Wed Jan 11 08:39:51 2012] [notice] Parent: child process exited with status 255 -- Restarting. Previous Comments: ------------------------------------------------------------------------ [2012-01-11 07:51:23] bugzilla33 at gmail dot com Description: ------------ 1. use Test script to generate crash.php, size 8192 bytes 2. now let crash php engine crash.php 3. Any php file of size 8192 bytes crashes Apache and PHP! 4. Tested with Apache 2.2.21 V9 apache longue, PHP 5.4.0 RC5 or RC6 dev on three other machines, Win 7 x86 or Win 7 x64. Test script: --------------- testcase php file generator: <?php $out='<?php//'; for($z=0;$z<8192-9;$z++){$out.=mt_rand(0,9);} $out.='?>'; file_put_contents('crash.php',$out); print('1. testcase file generated: crash.php, size '.strlen($out).' bytes<br/>'); print('2. now let crash php engine <a href="crash.php">crash.php</a><br/>'); print('<b style="color:red">3. Any php file of size 8192 bytes crashes Apache and PHP!</b><br/>'); print('4. Tested with Apache 2.2.21 V9 apache longue, PHP 5.4.0 RC5 or RC6 dev on three other machines, Win 7 x86 or Win 7 x64.<br/>'); ?> Expected result: ---------------- NO crash Actual result: -------------- CRASH ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=60709&edit=1