This is the mail archive of the
cygwin
mailing list for the Cygwin project.
PHP 7.1.12 still crashes on cygwin when parsing files that are multiple of 4096 bytes in size
- From: "Ing. Viliam Kubis" <viliam dot kubis at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Sun, 7 Jan 2018 16:39:00 +0100
- Subject: PHP 7.1.12 still crashes on cygwin when parsing files that are multiple of 4096 bytes in size
- Authentication-results: sourceware.org; auth=none
Hello,
I have been using cygwin as my local PHP development suite, and for some
time now, PHP has been crashing on files that are a multiple of 4k in
size. Just run this in your terminal to observe the crash:
kbs1@DESKTOP-QR0EO0L /cygdrive/c/Users/kbs1/Desktop
$ if [ -f test.php ]; then rm test.php; fi; for i in `seq 4096`; do echo
-n ' ' >> test.php; done; php -v; php test.php; rm test.php
PHP 7.1.12 (cli) (built: Dec 7 2017 02:53:41) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.12, Copyright (c) 1999-2017, by Zend Technologies
Segmentation fault (core dumped)
php.exe.stackdump will be left behind.
For some time, a proper patch is posted here:
https://cygwin.com/ml/cygwin/2017-05/msg00350.html
But I really don't want to recompile PHP every time I run setup.exe and
PHP updates, when will the patch be adopted in the cygport it self
please? Or are we waiting for something else, is the patch improper or
similar?
Thank you,
Ing. Viliam Kubis
--
Sent using SeaMonkey mail
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple