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

From: Date: Sun, 14 Jun 2015 10:39:24 +0000
Subject: Bug #69814 [Fbk]: 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-193465@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
 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:

@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.


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

------------------------------------------------------------------------
[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.

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


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


Thread (15 messages)

« previous php.bugs (#193465) next »