Bug #69814 [Fbk->Csd]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash
| From: | ab@php.net | Date: | Sun, 14 Jun 2015 17:17:03 +0000 |
| Subject: | Bug #69814 [Fbk->Csd]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193488@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69814&edit=1
ID: 69814
Updated by: ab@php.net
Reported by: theodorejb at outlook dot com
Summary: Enabling php_curl, php_mysqli, and php_openssl
causes php-cgi to crash
-Status: Feedback
+Status: Closed
Type: Bug
Package: CGI/CLI related
Operating System: Windows Server 2012 R2
PHP Version: 5.5+
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Thanks for testing the 7.0.0alpha1!
Btw with the php-cgi bug - it's indeed not reproducable with 5.6.10, but 5.6.9. Seems that
something didn't make it through into 7.0. But that's another story now.
Cheers.
Previous Comments:
------------------------------------------------------------------------
[2015-06-14 16:39:33] theodorejb at outlook dot com
The new build works for me without crashing.
Thank you so much for quickly getting this fixed!
------------------------------------------------------------------------
[2015-06-14 10:39:24] ab@php.net
@theodorejb please recheck the snapshot http://windows.php.net/downloads/snaps/ostc/69814/
again. Made a new build. This issue is most likely related to bug #69823.
Thanks.
------------------------------------------------------------------------
[2015-06-13 20:10:21] ab@php.net
Yeah, by further investigation it seems so. See bug #69820. Strangely here I had completely another
crash when using a screwed up nginx config, and that's what i've fixed ... That's why
i said it's in 5.6, and it is, it was fixed by the patch i've pushed, will have to
backport it. But now there's a clear issue with module loading.
Thanks for the dump.
------------------------------------------------------------------------
[2015-06-13 19:50:10] theodorejb at outlook dot com
I don't think the issue is related to my nginx config. php_cgi is crashing immediately when I
try to run it, even if nginx isn't started.
Here's a thread dump I was able to grab:
Thread report
Entry point php_cgi!mainCRTStartup
Create time 2015-06-13 14:33:03
Time spent in user mode 0 Days 00:00:00.000
Time spent in kernel mode 0 Days 00:00:00.015
Function
Source
php7ts!zend_startup_module_ex+6 [c:\php-sdk\phpmaster\vc14\x64\php-src\zend\zend_api.c @ 1818]
c:\php-sdk\phpmaster\vc14\x64\php-src\zend\zend_api.c @ 1818
php7ts!zend_hash_apply+86 [c:\php-sdk\phpmaster\vc14\x64\php-src\zend\zend_hash.c @ 1434 + 6]
c:\php-sdk\phpmaster\vc14\x64\php-src\zend\zend_hash.c @ 1434 + 6
php7ts!zend_startup_modules+30 [c:\php-sdk\phpmaster\vc14\x64\php-src\zend\zend_api.c @ 1987]
c:\php-sdk\phpmaster\vc14\x64\php-src\zend\zend_api.c @ 1987
php7ts!php_module_startup+a4b [c:\php-sdk\phpmaster\vc14\x64\php-src\main\main.c @ 2201]
c:\php-sdk\phpmaster\vc14\x64\php-src\main\main.c @ 2201
php_cgi!php_cgi_startup+17 [c:\php-sdk\phpmaster\vc14\x64\php-src\sapi\cgi\cgi_main.c @ 915 + 13]
c:\php-sdk\phpmaster\vc14\x64\php-src\sapi\cgi\cgi_main.c @ 915 + 13
php_cgi!main+5ed [c:\php-sdk\phpmaster\vc14\x64\php-src\sapi\cgi\cgi_main.c @ 1894 + d]
c:\php-sdk\phpmaster\vc14\x64\php-src\sapi\cgi\cgi_main.c @ 1894 + d
php_cgi!__scrt_common_main_seh+124 [f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 264 +
22] f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl @ 264 + 22
kernel32!BaseThreadInitThunk+22
ntdll!RtlUserThreadStart+34
------------------------------------------------------------------------
[2015-06-13 17:40:50] ab@php.net
Ah, and if you can get a backtrace, or even a dump, please post as well.
Thanks.
------------------------------------------------------------------------
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=69814
--
Edit this bug report at https://bugs.php.net/bug.php?id=69814&edit=1