Edit report at https://bugs.php.net/bug.php?id=65312&edit=1
ID: 65312 Updated by: a...@php.net Reported by: bee8192 at gmail dot com Summary: Segmentation fault with filesize=4096 -Status: Open +Status: Feedback Type: Bug Package: *General Issues Operating System: Win7x64+Cygwin PHP Version: 5.5.1 Block user comment: N Private report: N New Comment: 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 for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 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. Why would one use cygwin if there is a native build? Besides that, a backtrace is needed. Previous Comments: ------------------------------------------------------------------------ [2013-07-23 00:00:16] bee8192 at gmail dot com Description: ------------ php fails to parse any file with size 4096 with "Segmentation fault (core dumped)" message on Cygwin. Adding or deleting any character from the file fixes the problem. Test script: --------------- /home/Eugene/test>php -r 'echo str_repeat("\n", 4096);' > test.php /home/Eugene/test>ls -l total 4 -rw-r--r--+ 1 Eugene 4096 Jul 23 00:42 test.php /home/Eugene/test>php -f test.php Segmentation fault (core dumped) Expected result: ---------------- 4096 new lines. Actual result: -------------- Segmentation fault (core dumped) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=65312&edit=1