Bug #74833 [Asn]: Random crashes, seemingly related to DateTimeImmutable and mod_php
| From: | ab@php.net | Date: | Fri, 07 Jul 2017 13:28:23 +0000 |
| Subject: | Bug #74833 [Asn]: Random crashes, seemingly related to DateTimeImmutable and mod_php | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-209901@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=74833&edit=1
ID: 74833
Updated by: ab@php.net
Reported by: mike dot fellows at shaw dot ca
Summary: Random crashes, seemingly related to
DateTimeImmutable and mod_php
Status: Assigned
Type: Bug
Package: Apache2 related
Operating System: Windows 7 64 bit, MacOs, Linux
PHP Version: 7.0.1 to 7.1.6
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Thanks for that. So there might be still some leftover. Did your system generate a minidump? Or,
maybe you've found some better way to repro?
On your side, i would try to make some stress test while using get_defined_constants(). Like use ab
with high concurrency. With or without your app, with core only and with full set of the exts you
use. While the last backtrace is different, it could be still some leftover not fixed, or something
completely different. Lets see for further info.
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2017-07-06 17:15:07] mike dot fellows at shaw dot ca
@ab I've been testing php7.2.0 alpha2 for the last two days. I was not able to test it as much
as I'd like because I've been fixing application bugs due to 7.2 changes. There were no
crashes for the last two days. But this morning I did have a crash.
Here is the error output from Visual Studio:
The thread 0x28d8 has exited with code 0 (0x0).
The thread 0xa50 has exited with code 0 (0x0).
The thread 0x1668 has exited with code 0 (0x0).
Unhandled exception at 0x000007FED85F2A44 (php7ts.dll) in httpd.exe: 0xC0000005: Access violation
reading location 0x0000000000000000.
And here is the Call Stack:
php7ts.dll!zif_get_defined_constants(_zend_execute_data * execute_data, _zval_struct * return_value)
Line 2103 C
php7ts.dll!ZEND_DO_FCALL_BY_NAME_SPEC_RETVAL_USED_HANDLER(_zend_execute_data * execute_data) Line
827 C
php7ts.dll!execute_ex(_zend_execute_data * ex) Line 59218 C
php7ts.dll!zend_execute(_zend_op_array * op_array, _zval_struct * return_value) Line 63244 C
php7ts.dll!zend_execute_scripts(int type, _zval_struct * retval, int file_count, ...) Line 1538 C
php7ts.dll!php_execute_script(_zend_file_handle * primary_file) Line 2548 C
php7apache2_4.dll!php_handler(request_rec * r) Line 702 C
libhttpd.dll!000000007422e9e5() Unknown
libhttpd.dll!000000007422d7e0() Unknown
libhttpd.dll!000000007422a1e6() Unknown
mod_rewrite.so!0000000073ed53c8() Unknown
libhttpd.dll!000000007422e9e5() Unknown
libhttpd.dll!000000007422d7e0() Unknown
libhttpd.dll!000000007422a49a() Unknown
libhttpd.dll!000000007422a527() Unknown
libhttpd.dll!0000000074223b73() Unknown
libhttpd.dll!0000000074231885() Unknown
libhttpd.dll!0000000074231675() Unknown
libhttpd.dll!0000000074241734() Unknown
[External Code]
I notice that alpha 3 was released today. I will upgrade to that release and continue with my
testing.
------------------------------------------------------------------------
[2017-07-04 17:17:14] mike dot fellows at shaw dot ca
Got it, thanks. I will let you know how the testing goes in the next few days.
------------------------------------------------------------------------
[2017-07-04 17:13:01] ab@php.net
Oh, or the zip. I think I was just able to fix the permissions.
Thanks.
------------------------------------------------------------------------
[2017-07-04 17:11:37] ab@php.net
I've just unpacked it here http://windows.php.net/downloads/snaps/ostc/74833/pdo_sqlsrv/ts/vc15/x64/
, could you please check? Seems that's the server config that doesn't like it for some
reason.
Thanks.
------------------------------------------------------------------------
[2017-07-04 17:04:24] mike dot fellows at shaw dot ca
@ab thanks for build the MS SQL server extension. Unfortunately I get a 401 error when I try to
download it (Access is denied due to invalid credentials). Not sure how to get around that one.
------------------------------------------------------------------------
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=74833
--
Edit this bug report at https://bugs.php.net/bug.php?id=74833&edit=1