public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* PHP 7.1.12 still crashes on cygwin when parsing files that are multiple of 4096 bytes in size
@ 2018-01-07 15:48 Ing. Viliam Kubis
  0 siblings, 0 replies; only message in thread
From: Ing. Viliam Kubis @ 2018-01-07 15:48 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-07 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-07 15:48 PHP 7.1.12 still crashes on cygwin when parsing files that are multiple of 4096 bytes in size Ing. Viliam Kubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).