Bug #70688 [Asn]: new DateTime object produces Segmentation fault or zend_mm_heap corrupted

From: Date: Sat, 17 Oct 2015 15:59:59 +0000
Subject: Bug #70688 [Asn]: new DateTime object produces Segmentation fault or zend_mm_heap corrupted
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-196663@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70688&edit=1

 ID:                 70688
 User updated by:    jerome at taotesting dot com
 Reported by:        jerome at taotesting dot com
 Summary:            new DateTime object produces Segmentation fault or
                     zend_mm_heap corrupted
 Status:             Assigned
 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:

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.


Previous Comments:
------------------------------------------------------------------------
[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/128
https://github.com/oerdnj/deb.sury.org/issues/129
https://github.com/oerdnj/deb.sury.org/issues/123

------------------------------------------------------------------------
[2015-10-12 11:02:51] jerome at taotesting dot com

Actually, a similar issue was already reported at https://github.com/oerdnj/deb.sury.org/issues/123.
This is the issue tracker of the package maintainer.

------------------------------------------------------------------------
[2015-10-12 10:59:34] jerome at taotesting dot com

The error occurs also with php -n.

I will contact the provider of the package (Ondrej)

Thanks!

------------------------------------------------------------------------
[2015-10-12 10:27:10] dmitry@php.net

I use latest development version.
anyway, the bug (if any) most probably couldn't be fixed after RC4.
This behavior is tested by few tests.

I suspect, something may be wrong with your build or configuration or unsupported extensions.

Can you repeat the problem running php -n (without php.ini)?

------------------------------------------------------------------------


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


Thread (16 messages)

« previous php.bugs (#196663) next »