Edit report at https://bugs.php.net/bug.php?id=77468&edit=1
ID: 77468
User updated by: thomas dot wiedmann at laek-bw dot de
Reported by: thomas dot wiedmann at laek-bw dot de
Summary: zend_mm_heap corrupted
-Status: Feedback
+Status: Open
Type: Bug
Package: Apache2 related
Operating System: Windows 7 (Win64)
PHP Version: 7.3.1
Block user comment: N
Private report: N
New Comment:
Microsoft DebugDiag Analysis tools are different now
- need .NET 4.0 Framework
- Analyse is a separated tool
I get a .dump (145 MB) , but the analyse tool show:
---[Error]---
Please follow up with the vendor The PHP Group for [...]\php-7.3.1-Win32-VC15-x64\php7ts.dll
WARNING - DebugDiag was not able to locate debug symbols for \php7ts.dll, so the information below
may be incomplete.
In httpd__PID__4240__Date__01_18_2019__Time_11_58_27AM__375__Second_Chance_Exception_C0000005.dmp
the assembly instruction at php7ts!efree+61 in [...]\php-7.3.1-Win32-VC15-x64\php7ts.dll from The
PHP Group has caused an access violation exception (0xC0000005) when trying to read from memory
location 0x04000838 on thread 6
Thread 6 - System ID 4180
Entry point libhttpd!ap_run_generate_log_id+3b10
Create time 18.01.2019 11:57:39
Time spent in user mode 0 Days 00:00:00.218
Time spent in kernel mode 0 Days 00:00:00.140
This thread is not fully resolved and may or may not be a problem. Further analysis of these threads
may be required.
php7ts!efree+61
php_pdo_oci+30cf
php7ts!php_pdo_free_statement+d8c
php7ts!php_pdo_free_statement+1731
php7ts!zend_cleanup_unfinished_execution+50b
php7ts!execute_ex+5f
php7ts!zend_execute+1a8
php7ts!zend_execute_scripts+b9
php7ts!php_execute_script+261
php7apache2_4+3df1
libhttpd!ap_run_handler+35
libhttpd!ap_invoke_handler+10f
libhttpd!ap_internal_redirect_handler+29a
libhttpd!ap_process_request+f
libhttpd!ap_byterange_filter+1581
libhttpd!ap_run_process_connection+35
libhttpd!ap_process_connection+45
libhttpd!ap_run_generate_log_id+3da0
kernel32!BaseThreadInitThunk+d
ntdll!RtlUserThreadStart+1d
-------------
Previous Comments:
------------------------------------------------------------------------
[2019-01-16 14:20:34] ab@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2019-01-16 13:38:33] thomas dot wiedmann at laek-bw dot de
Description:
------------
Apache 2 Errorlog shows: zend_mm_heap corrupted and restart. Maybe PDO_OCI related. Try to move from
project from 5.6.x to 7.3.1
Test script:
---------------
[...]
[Wed Jan 16 14:24:28.175823 2019] [authz_core:debug] [pid 3520:tid 796] mod_authz_core.c(817):
[client x.x.x.x:55680] AH01626: authorization result of Require all granted: granted, referer: http://x.x.x.x/start/wellcome?SID=7686e02d7a8928b02b448f1e5998781c
[Wed Jan 16 14:24:28.175823 2019] [authz_core:debug] [pid 3520:tid 796] mod_authz_core.c(817):
[client x.x.x.x:55680] AH01626: authorization result of <RequireAny>: granted, referer: http://x.x.x.x/start/wellcome?SID=7686e02d7a8928b02b448f1e5998781c
zend_mm_heap corrupted
[Wed Jan 16 14:24:28.339839 2019] [mpm_winnt:notice] [pid 1496:tid 368] AH00428: Parent: child
process 3520 exited with status 1 -- Restarting.
[Wed Jan 16 14:24:28.372843 2019] [mpm_winnt:notice] [pid 1496:tid 368] AH00455: Apache/2.4.37
(Win64) PHP/7.3.1 configured -- resuming normal operations
[Wed Jan 16 14:24:28.372843 2019] [mpm_winnt:notice] [pid 1496:tid 368] AH00456: Apache Lounge VC15
Server built: Nov 21 2018 11:51:35
[Wed Jan 16 14:24:28.372843 2019] [core:notice] [pid 1496:tid 368] AH00094: Command line:
'C:\\Program Files\\Apache24\\bin\\httpd.exe -d C:/Program Files/Apache24'
[Wed Jan 16 14:24:28.372843 2019] [core:debug] [pid 1496:tid 368] log.c(1568): AH02639: Using
SO_REUSEPORT: no (0)
[Wed Jan 16 14:24:28.373843 2019] [mpm_winnt:notice] [pid 1496:tid 368] AH00418: Parent: Created
child process 3372
[Wed Jan 16 14:24:28.373843 2019] [mpm_winnt:debug] [pid 1496:tid 368] mpm_winnt.c(430): AH00402:
Parent: Sent the scoreboard to the child
[Wed Jan 16 14:24:28.603866 2019] [mpm_winnt:debug] [pid 3372:tid 244] mpm_winnt.c(1719): AH00453:
Child process is running
[Wed Jan 16 14:24:28.604866 2019] [mpm_winnt:debug] [pid 3372:tid 244] mpm_winnt.c(344): AH00391:
Child: Retrieved our scoreboard from the parent.
[Wed Jan 16 14:24:28.604866 2019] [mpm_winnt:debug] [pid 3372:tid 244] mpm_winnt.c(466): AH00403:
Child: Waiting for data for listening socket 127.0.0.1:8080
[Wed Jan 16 14:24:28.604866 2019] [mpm_winnt:debug] [pid 1496:tid 368] mpm_winnt.c(513): AH00408:
Parent: Duplicating socket 324 (127.0.0.1:8080) and sending it to child process 3372
[Wed Jan 16 14:24:28.604866 2019] [mpm_winnt:debug] [pid 1496:tid 368] mpm_winnt.c(513): AH00408:
Parent: Duplicating socket 268 (x.x.x.x:80) and sending it to child process 3372
[Wed Jan 16 14:24:28.604866 2019] [mpm_winnt:debug] [pid 1496:tid 368] mpm_winnt.c(532): AH00411:
Parent: Sent 2 listeners to child 3372
[Wed Jan 16 14:24:28.605866 2019] [mpm_winnt:debug] [pid 3372:tid 244] mpm_winnt.c(466): AH00403:
Child: Waiting for data for listening socket x.x.x.x:80
[Wed Jan 16 14:24:28.605866 2019] [mpm_winnt:debug] [pid 3372:tid 244] mpm_winnt.c(491): AH00407:
Child: retrieved 2 listeners from parent
[Wed Jan 16 14:24:28.605866 2019] [mpm_winnt:debug] [pid 3372:tid 244] child.c(969): AH00352: Child:
Acquired the start mutex.
[Wed Jan 16 14:24:28.605866 2019] [mpm_winnt:notice] [pid 3372:tid 244] AH00354: Child: Starting 64
worker threads.
[...]
Expected result:
----------------
No zend_mm_heap related Apache restart
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77468&edit=1