Bug #69814 [Com]: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash

From: Date: Sat, 13 Jun 2015 19:50:11 +0000
Subject: Bug #69814 [Com]: 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-193420@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 Comment by: theodorejb at outlook dot com Reported by: theodorejb at outlook dot com Summary: Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash Status: Feedback 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: 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 Previous Comments: ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ [2015-06-13 17:39:50] ab@php.net Thanks for the quick check. Please post your nginx config and if possible a php repro snippet. Cheers. ------------------------------------------------------------------------ [2015-06-13 17:19:37] theodorejb at outlook dot com The test build is still crashing for me, unless I disable one of the aforementioned extensions. ------------------------------------------------------------------------ [2015-06-13 16:55:02] ab@php.net @theodorejb, please check whether this build fixes the issue for you http://windows.php.net/downloads/snaps/ostc/69814/ Thanks. ------------------------------------------------------------------------ [2015-06-13 16:45:49] ab@php.net Automatic comment on behalf of ab Revision: http://git.php.net/?p=php-src.git;a=commit;h=6084844fb5b93d3712d5b1376ed99bfa6c51b637 Log: Fix bug #69814 Enabling php_curl, php_mysqli, and php_openssl causes php-cgi to crash ------------------------------------------------------------------------ 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

« previous php.bugs (#193420) next »