Edit report at https://bugs.php.net/bug.php?id=70688&edit=1
ID: 70688
Comment by: mihor dot cz at gmail dot com
Reported by: jerome at taotesting dot com
Summary: new DateTime object produces Segmentation fault or
zend_mm_heap corrupted
Status: Closed
Type: Bug
Package: Date/time related
Operating System: 3.19.0-30-generic 14.04 Ubuntu
PHP Version: 7.0.0RC5
Assigned To: dmitry
Block user comment: N
Private report: N
New Comment:
Hello PHP developers,
This bug is hitting me even with PHP 7.0 RC6 (RC5 and RC4 too, RC3 NOT)
I'm using CentOS 6.6 and CentOS 7.1.1503 (with both systems I'm experiencing same bug)
So what should I do?
Setting USE_ZEND_ALLOC=0 on every server does not look like a good solution to me.
Nikic
What does it mean exactly: "This issue has been fixed downstream" ?
Thank you very much
Previous Comments:
------------------------------------------------------------------------
[2015-10-18 15:49:46] nikic@php.net
This issue has been fixed downstream, see https://github.com/oerdnj/deb.sury.org/issues/128.
The next RC5 build should work.
------------------------------------------------------------------------
[2015-10-17 16:03:07] jerome at taotesting dot com
Please find more information on this USE_ZEND_ALLOC=0 clue at
https://github.com/oerdnj/deb.sury.org/issues/128#issuecomment-148925641
------------------------------------------------------------------------
[2015-10-17 15:59:58] jerome at taotesting dot com
Hi guys !
Running the test script (date.php) with USE_ZEND_ALLOC=0 makes the error to disappear!
USE_ZEND_ALLOC=0 php date.php
Output is systematically correct then.
------------------------------------------------------------------------
[2015-10-17 15:12:59] jerome at taotesting dot com
Changed PHP Version from 7.0.0RC4 to 7.0.0RC5.
------------------------------------------------------------------------
[2015-10-17 15:04:13] jerome at taotesting dot com
Hello there,
Still under investigation on Ondrej's issue tracker, as it still happens in PHP7-RC5 in
Unbuntu.
See
https://github.com/oerdnj/deb.sury.org/issues/128https://github.com/oerdnj/deb.sury.org/issues/129https://github.com/oerdnj/deb.sury.org/issues/123
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=70688
--
Edit this bug report at https://bugs.php.net/bug.php?id=70688&edit=1