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

From: Date: Mon, 12 Oct 2015 11:02:51 +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-196551@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.0RC4
 Assigned To:        dmitry
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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)?

------------------------------------------------------------------------
[2015-10-12 09:54:16] jerome at taotesting dot com

Hello there!

Did you test in RC4? This is where it fails.

Actually, in Travis-CI worker, this does not break. It seems they use "PHP 7.0.0-dev (cli)
(built: Oct 10 2015 22:48:00) ( ZTS )"

Does that mean this is already solved on the current development branch ;) ?

Jérôme Bogaerts

------------------------------------------------------------------------
[2015-10-12 09:43:15] dmitry@php.net

I can't reproduce the crash or see any related issues using valgrind.

------------------------------------------------------------------------
[2015-10-12 09:23:46] derick@php.net

Dmitry, I think this is related to your memory management macros.

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


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 (#196551) next »