Bug #72359 [NoF->Csd]: Child exited with status 4294967295

From: Date: Fri, 09 Dec 2016 19:18:10 +0000
Subject: Bug #72359 [NoF->Csd]: Child exited with status 4294967295
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-205884@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72359&edit=1 ID: 72359 User updated by: oldbucsfan at hotmail dot com Reported by: oldbucsfan at hotmail dot com Summary: Child exited with status 4294967295 -Status: No Feedback +Status: Closed Type: Bug Package: Apache2 related Operating System: Windows Server 2012 R2 PHP Version: 7.0.7 Block user comment: N Private report: N New Comment: Still occurring with 7.0.14. Using abs.exe in apache and simply hitting the wordpress index.php page 1000 times will often lead to one of these errors. Calling stream_get_wrappers() does not trigger it, but I haven't tried calling it 1000s of times. It does seem to be connected to that function though. Previous Comments: ------------------------------------------------------------------------ [2016-08-14 04:22:32] php-bugs at lists dot php dot net No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. ------------------------------------------------------------------------ [2016-08-07 04:08:52] kalle@php.net Interesting, the last two backtraces hint that something is related to stream_get_wrappers(), in particular when populating the return array, which seems to be called from a callback in a method. Does a regular call to stream_get_wrappers() crash PHP? ------------------------------------------------------------------------ [2016-06-21 20:46:48] oldbucsfan at hotmail dot com Found this in the Wordpress debug log. PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method allow_php_in_posts::shortcode_advanced() should not be called statically in C:\Apache24\htdocs\wordpress\wp-includes\plugin.php on line 235 I think this might explain it. Should this lead to a memory leak and crash Apache though? Anyway, I removed the plugin and things are more stable, but I will have to give it more time to know if it solved the problem. ------------------------------------------------------------------------ [2016-06-17 14:08:15] oldbucsfan at hotmail dot com Ran another catch. It seems that increasing the threads per child makes this happen less often for some reason. Anyway, I ran the catch to analyze memory and got more info. Seems to have to do with make_sha1_digest in php5ts.dll PHP7TS!MAKE_SHA1_DIGEST+3AD4WARNING - DebugDiag was not able to locate debug symbols for \php7ts.dll, so the information below may be incomplete. In httpd__PID__8948__Date__06_17_2016__Time_08_41_02AM__419__Second_Chance_Exception_C0000005.dmp the assembly instruction at php7ts!make_sha1_digest+3ad4 in C:\php7.0.7\php7ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0xc6b76fe5 on thread 1 PHP7TS!MAKE_SHA1_DIGEST+3AD4WARNING - DebugDiag was not able to locate debug symbols for \php7ts.dll, so the information below may be incomplete. In httpd__PID__8948__Date__06_17_2016__Time_08_41_02AM__419__Second_Chance_Exception_C0000005.dmp the assembly instruction at php7ts!make_sha1_digest+3ad4 in C:\php7.0.7\php7ts.dll from The PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory location 0xc6b76fe5 on thread 1 Module Information Image Name: C:\php7.0.7\php7ts.dll Symbol Type: Export Base address: 0x00000003`00905a4d Time Stamp: Wed May 25 15:23:16 2016 Checksum: 0x00000000`00000000 Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 7.0.7 Managed DLL: False Internal Name: PHP Script Interpreter VB DLL: False Legal Copyright: Copyright © 1997-2016 The PHP Group Loaded Image Name: php7ts.dll Legal Trademarks: PHP Mapped Image Name: Original filename: php7ts.dll Module name: php7ts Private Build: Single Threaded: False Product Name: PHP Module Size: 8.26 MBytes Product Version: 7.0.7 Symbol File Name: php7ts.dll Special Build: & *********************** * EXCEPTION DETAILS * *********************** DetailID = 1 Count: 1 Exception #: 0XC0000005 Stack: php7ts!zif_stream_get_wrappers+0x64 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\ext\standard\streamsfuncs.c @ 589] php7ts!ZEND_DO_ICALL_SPEC_HANDLER+0x84 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 595] php7ts!execute_ex+0x44 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 417] php7ts!zend_call_function+0x37a0a1 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_execute_api.c @ 867] php7ts!zend_call_method+0x152 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_interfaces.c @ 105] php7ts!zend_std_read_dimension+0x237 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_object_handlers.c @ 760] php7ts!ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER+0x379a49 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 31328] php7ts!execute_ex+0x44 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 417] php7ts!zend_call_function+0x37a0a1 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_execute_api.c @ 867] php7ts!zend_call_method+0x152 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_interfaces.c @ 105] php7ts!zend_std_read_dimension+0x237 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_object_handlers.c @ 760] php7ts!ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER+0x379a49 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 31328] php7ts!execute_ex+0x44 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 417] php7ts!zend_call_function+0x37a0a1 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_execute_api.c @ 867] php7ts!zend_call_method+0x152 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_interfaces.c @ 105] php7ts!zend_std_read_dimension+0x237 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_object_handlers.c @ 760] php7ts!ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER+0x379a49 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 31328] php7ts!execute_ex+0x44 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 417] php7ts!zend_execute+0x1f7 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 459] php7ts!zend_execute_scripts+0x13e [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend.c @ 1428] php7ts!php_execute_script+0x4d9 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\main\main.c @ 2494] php7apache2_4!php_handler+0x59e [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\sapi\apache2handler\sapi_apache2.c @ 679] libhttpd!ap_run_handler+0x35 libhttpd!ap_invoke_handler+0x110 libhttpd!ap_internal_redirect_handler+0x29a libhttpd!ap_process_request+0x17 libhttpd!ap_sys_privileges_handlers+0x394f libhttpd!ap_run_process_connection+0x35 libhttpd!ap_regkey_value_set+0x2374 KERNEL32!BaseThreadInitThunk+0x22 ntdll!RtlUserThreadStart+0x34 DetailID = 2 Count: 1 Exception #: 0XC0000005 Stack: php7ts!zend_string_copy [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_string.h @ 166] php7ts!zif_stream_get_wrappers+0x64 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\ext\standard\streamsfuncs.c @ 589] php7ts!ZEND_DO_ICALL_SPEC_HANDLER+0x84 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 595] php7ts!execute_ex+0x44 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 417] php7ts!zend_call_function+0x37a0a1 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_execute_api.c @ 867] php7ts!zend_call_method+0x152 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_interfaces.c @ 105] php7ts!zend_std_read_dimension+0x237 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_object_handlers.c @ 760] php7ts!ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER+0x379a49 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 31328] php7ts!execute_ex+0x44 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 417] php7ts!zend_call_function+0x37a0a1 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_execute_api.c @ 867] php7ts!zend_call_method+0x152 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_interfaces.c @ 105] php7ts!zend_std_read_dimension+0x237 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_object_handlers.c @ 760] php7ts!ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER+0x379a49 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 31328] php7ts!execute_ex+0x44 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 417] php7ts!zend_call_function+0x37a0a1 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_execute_api.c @ 867] php7ts!zend_call_method+0x152 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_interfaces.c @ 105] php7ts!zend_std_read_dimension+0x237 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_object_handlers.c @ 760] php7ts!ZEND_FETCH_DIM_R_SPEC_CV_CONST_HANDLER+0x379a49 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 31328] php7ts!execute_ex+0x44 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 417] php7ts!zend_execute+0x1f7 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend_vm_execute.h @ 459] php7ts!zend_execute_scripts+0x13e [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\zend\zend.c @ 1428] php7ts!php_execute_script+0x4d9 [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\main\main.c @ 2494] php7apache2_4!php_handler+0x59e [c:\php-sdk\php70dev\vc14\x64\php-7.0.7-ts\sapi\apache2handler\sapi_apache2.c @ 679] libhttpd!ap_run_handler+0x35 libhttpd!ap_invoke_handler+0x110 libhttpd!ap_internal_redirect_handler+0x29a libhttpd!ap_process_request+0x17 libhttpd!ap_sys_privileges_handlers+0x394f libhttpd!ap_run_process_connection+0x35 libhttpd!ap_regkey_value_set+0x2374 KERNEL32!BaseThreadInitThunk+0x22 ntdll!RtlUserThreadStart+0x34 *********************** * EXCEPTION SUMMARY * *********************** |--------------------| | Count | Exception | |--------------------| | 2 | 0XC0000005 | |--------------------| ------------------------------------------------------------------------ [2016-06-08 22:23:31] oldbucsfan at hotmail dot com Sorry, I'm not really sure where it is coming from. I do know that this happens when I run the Windows Debug tool. I was actually trying to catch a different bug, but this one popped up instead. ------------------------------------------------------------------------ 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=72359 -- Edit this bug report at https://bugs.php.net/bug.php?id=72359&edit=1

« previous php.bugs (#205884) next »