Bug #75761 [Fbk]: CGI / FastCGI has stopped working

From: Date: Sat, 13 Jan 2018 14:17:50 +0000
Subject: Bug #75761 [Fbk]: CGI / FastCGI has stopped working
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-213527@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75761&edit=1

 ID:                 75761
 Updated by:         ab@php.net
 Reported by:        tchepelsky at gmail dot com
 Summary:            CGI / FastCGI has stopped working
 Status:             Feedback
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Windows 10 x64 LTSB
 PHP Version:        7.0Git-2018-01-04 (Git)
 Block user comment: N
 Private report:     N

 New Comment:

A fix was pushed, could you check the latest snapshots, please?

Thanks.


Previous Comments:
------------------------------------------------------------------------
[2018-01-12 16:54:40] ab@php.net

I'm unable to reproduce the crash locally :( Were it possible you to provide a crash dump?
Perhaps that could help.

Thanks.

------------------------------------------------------------------------
[2018-01-12 16:51:10] ab@php.net

Related To: Bug #75794

------------------------------------------------------------------------
[2018-01-05 03:34:55] tchepelsky at gmail dot com

Feedback provided.

Changed from Feedback to Open.

------------------------------------------------------------------------
[2018-01-05 00:11:08] tchepelsky at gmail dot com

I hope I got this right. Let me know if you need anything else. There are a total of 3 Threads.

==========================================================
THREAD 1
==========================================================



3 Threads (60% of all threads) have this same call stack.
Note: Grouping of identical threads can be disabled in the 'Preferences' tab of the
Analysis Options


Thread 1 - System ID 1768



Entry point   ntdll!TppWorkerThread 
Create time   2018-01-04 5:46:24 PM 
Time spent in user mode   0 Days 00:00:00.000 
Time spent in kernel mode   0 Days 00:00:00.000 









  
  
  
  









  
  
  
  









ntdll!NtWaitForWorkViaWorkerFactory+14 
ntdll!TppWorkerThread+76e 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 




Thread 0 - System ID 6308



Entry point   php_cgi+3870 
Create time   2018-01-04 5:39:12 PM 
Time spent in user mode   0 Days 00:00:00.562 
Time spent in kernel mode   0 Days 00:00:00.250 


This thread is not fully resolved and may or may not be a problem. Further analysis of these threads
may be required.








ntdll!RtlReportCriticalFailure+97 
ntdll!RtlpHeapHandleError+12 
ntdll!RtlpLogHeapFailure+96 
ntdll!RtlFreeHeap+143 
ucrtbase!_free_base+1b 
php7ts!libiconv_set_relocation_prefix+4a46c 
php7ts!php_base64_decode+2467 
php7ts!array_init+b93 
php7ts!execute_ex+bf 
php7ts!zend_execute+1c9 
php7ts!zend_execute_scripts+b7 
php7ts!php_execute_script+287 
php_cgi+8455 
php_cgi+3809 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 




Thread 4 - System ID 6524



Entry point   mswsock!SockAsyncThread 
Create time   2018-01-04 5:46:24 PM 
Time spent in user mode   0 Days 00:00:00.000 
Time spent in kernel mode   0 Days 00:00:00.000 









ntdll!NtRemoveIoCompletion+14 
mswsock!SockAsyncThread+79 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 



Exception Information


NTDLL!RTLREPORTCRITICALFAILURE+97In
php-cgi__PID__3448__Date__01_04_2018__Time_05_46_36PM__287__Second_Chance_Exception_C0000374.dmp the
assembly instruction at ntdll!RtlReportCriticalFailure+97 in C:\Windows\System32\ntdll.dll from
Microsoft Corporation has caused a corrupted heap exception (0xC0000374) when trying to perform an
unknown operation on memory location 0xc2d0f800 on thread 0

Heap corruption was detected in
php-cgi__PID__3448__Date__01_04_2018__Time_05_46_36PM__287__Second_Chance_Exception_C0000374.dmp
However pageheap was not enabled in this dump. Please follow the instructions in the recommendation
section for troubleshooting heap corruption issues.

Current NTGlobalFlags value: 0x0



Module Information 

Image Name: C:\Windows\System32\ntdll.dll   Symbol Type:  PDB 
Base address: 0x00000003`00905a4d   Time Stamp:  Wed Sep 06 22:51:10 2017  
Checksum: 0x00000000`00000000   Comments:   
COM DLL: False   Company Name:  Microsoft Corporation 
ISAPIExtension: False   File Description:  NT Layer DLL 
ISAPIFilter: False   File Version:  10.0.14393.1715 (rs1_release_inmarket.170906-1810) 
Managed DLL: False   Internal Name:  ntdll.dll 
VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved. 
Loaded Image Name:  ntdll.dll   Legal Trademarks:   
Mapped Image Name:     Original filename:  ntdll.dll 
Module name:  ntdll   Private Build:   
Single Threaded:  False   Product Name:  Microsoft® Windows® Operating System 
Module Size:  1.82 MBytes   Product Version:  10.0.14393.1715 
Symbol File Name:  c:\symbols\ntdll.pdb\9E47088A32754925B127035E16E949C41\ntdll.pdb   Special Build:
 & 



==========================================================
THREAD 2
==========================================================



3 Threads (60% of all threads) have this same call stack.
Note: Grouping of identical threads can be disabled in the 'Preferences' tab of the
Analysis Options






  
  
  
  





Thread 2 - System ID 2772



Entry point   ntdll!TppWorkerThread 
Create time   2018-01-04 5:46:24 PM 
Time spent in user mode   0 Days 00:00:00.000 
Time spent in kernel mode   0 Days 00:00:00.000 









  
  
  
  









ntdll!NtWaitForWorkViaWorkerFactory+14 
ntdll!TppWorkerThread+76e 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 




Thread 0 - System ID 6308



Entry point   php_cgi+3870 
Create time   2018-01-04 5:39:12 PM 
Time spent in user mode   0 Days 00:00:00.562 
Time spent in kernel mode   0 Days 00:00:00.250 


This thread is not fully resolved and may or may not be a problem. Further analysis of these threads
may be required.








ntdll!RtlReportCriticalFailure+97 
ntdll!RtlpHeapHandleError+12 
ntdll!RtlpLogHeapFailure+96 
ntdll!RtlFreeHeap+143 
ucrtbase!_free_base+1b 
php7ts!libiconv_set_relocation_prefix+4a46c 
php7ts!php_base64_decode+2467 
php7ts!array_init+b93 
php7ts!execute_ex+bf 
php7ts!zend_execute+1c9 
php7ts!zend_execute_scripts+b7 
php7ts!php_execute_script+287 
php_cgi+8455 
php_cgi+3809 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 




Thread 4 - System ID 6524



Entry point   mswsock!SockAsyncThread 
Create time   2018-01-04 5:46:24 PM 
Time spent in user mode   0 Days 00:00:00.000 
Time spent in kernel mode   0 Days 00:00:00.000 









ntdll!NtRemoveIoCompletion+14 
mswsock!SockAsyncThread+79 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 



Exception Information


NTDLL!RTLREPORTCRITICALFAILURE+97In
php-cgi__PID__3448__Date__01_04_2018__Time_05_46_36PM__287__Second_Chance_Exception_C0000374.dmp the
assembly instruction at ntdll!RtlReportCriticalFailure+97 in C:\Windows\System32\ntdll.dll from
Microsoft Corporation has caused a corrupted heap exception (0xC0000374) when trying to perform an
unknown operation on memory location 0xc2d0f800 on thread 0

Heap corruption was detected in
php-cgi__PID__3448__Date__01_04_2018__Time_05_46_36PM__287__Second_Chance_Exception_C0000374.dmp
However pageheap was not enabled in this dump. Please follow the instructions in the recommendation
section for troubleshooting heap corruption issues.

Current NTGlobalFlags value: 0x0



Module Information 

Image Name: C:\Windows\System32\ntdll.dll   Symbol Type:  PDB 
Base address: 0x00000003`00905a4d   Time Stamp:  Wed Sep 06 22:51:10 2017  
Checksum: 0x00000000`00000000   Comments:   
COM DLL: False   Company Name:  Microsoft Corporation 
ISAPIExtension: False   File Description:  NT Layer DLL 
ISAPIFilter: False   File Version:  10.0.14393.1715 (rs1_release_inmarket.170906-1810) 
Managed DLL: False   Internal Name:  ntdll.dll 
VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved. 
Loaded Image Name:  ntdll.dll   Legal Trademarks:   
Mapped Image Name:     Original filename:  ntdll.dll 
Module name:  ntdll   Private Build:   
Single Threaded:  False   Product Name:  Microsoft® Windows® Operating System 
Module Size:  1.82 MBytes   Product Version:  10.0.14393.1715 
Symbol File Name:  c:\symbols\ntdll.pdb\9E47088A32754925B127035E16E949C41\ntdll.pdb   Special Build:
 & 



==========================================================
THREAD 3
==========================================================



3 Threads (60% of all threads) have this same call stack.
Note: Grouping of identical threads can be disabled in the 'Preferences' tab of the
Analysis Options






  
  
  
  









  
  
  
  





Thread 3 - System ID 4108



Entry point   ntdll!TppWorkerThread 
Create time   2018-01-04 5:46:24 PM 
Time spent in user mode   0 Days 00:00:00.000 
Time spent in kernel mode   0 Days 00:00:00.000 









ntdll!NtWaitForWorkViaWorkerFactory+14 
ntdll!TppWorkerThread+76e 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 




Thread 0 - System ID 6308



Entry point   php_cgi+3870 
Create time   2018-01-04 5:39:12 PM 
Time spent in user mode   0 Days 00:00:00.562 
Time spent in kernel mode   0 Days 00:00:00.250 


This thread is not fully resolved and may or may not be a problem. Further analysis of these threads
may be required.








ntdll!RtlReportCriticalFailure+97 
ntdll!RtlpHeapHandleError+12 
ntdll!RtlpLogHeapFailure+96 
ntdll!RtlFreeHeap+143 
ucrtbase!_free_base+1b 
php7ts!libiconv_set_relocation_prefix+4a46c 
php7ts!php_base64_decode+2467 
php7ts!array_init+b93 
php7ts!execute_ex+bf 
php7ts!zend_execute+1c9 
php7ts!zend_execute_scripts+b7 
php7ts!php_execute_script+287 
php_cgi+8455 
php_cgi+3809 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 




Thread 4 - System ID 6524



Entry point   mswsock!SockAsyncThread 
Create time   2018-01-04 5:46:24 PM 
Time spent in user mode   0 Days 00:00:00.000 
Time spent in kernel mode   0 Days 00:00:00.000 









ntdll!NtRemoveIoCompletion+14 
mswsock!SockAsyncThread+79 
kernel32!BaseThreadInitThunk+14 
ntdll!RtlUserThreadStart+21 



Exception Information


NTDLL!RTLREPORTCRITICALFAILURE+97In
php-cgi__PID__3448__Date__01_04_2018__Time_05_46_36PM__287__Second_Chance_Exception_C0000374.dmp the
assembly instruction at ntdll!RtlReportCriticalFailure+97 in C:\Windows\System32\ntdll.dll from
Microsoft Corporation has caused a corrupted heap exception (0xC0000374) when trying to perform an
unknown operation on memory location 0xc2d0f800 on thread 0

Heap corruption was detected in
php-cgi__PID__3448__Date__01_04_2018__Time_05_46_36PM__287__Second_Chance_Exception_C0000374.dmp
However pageheap was not enabled in this dump. Please follow the instructions in the recommendation
section for troubleshooting heap corruption issues.

Current NTGlobalFlags value: 0x0



Module Information 

Image Name: C:\Windows\System32\ntdll.dll   Symbol Type:  PDB 
Base address: 0x00000003`00905a4d   Time Stamp:  Wed Sep 06 22:51:10 2017  
Checksum: 0x00000000`00000000   Comments:   
COM DLL: False   Company Name:  Microsoft Corporation 
ISAPIExtension: False   File Description:  NT Layer DLL 
ISAPIFilter: False   File Version:  10.0.14393.1715 (rs1_release_inmarket.170906-1810) 
Managed DLL: False   Internal Name:  ntdll.dll 
VB DLL: False   Legal Copyright:  © Microsoft Corporation. All rights reserved. 
Loaded Image Name:  ntdll.dll   Legal Trademarks:   
Mapped Image Name:     Original filename:  ntdll.dll 
Module name:  ntdll   Private Build:   
Single Threaded:  False   Product Name:  Microsoft® Windows® Operating System 
Module Size:  1.82 MBytes   Product Version:  10.0.14393.1715 
Symbol File Name:  c:\symbols\ntdll.pdb\9E47088A32754925B127035E16E949C41\ntdll.pdb   Special Build:
 &

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


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=75761


--
Edit this bug report at https://bugs.php.net/bug.php?id=75761&edit=1


Thread (11 messages)

« previous php.bugs (#213527) next »