Bug #64906 [Com]: occassional crashes in accel_startup

From: Date: Wed, 04 Jun 2014 02:47:49 +0000
Subject: Bug #64906 [Com]: occassional crashes in accel_startup
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-186044@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64906&edit=1 ID: 64906 Comment by: pvasilevich at parallels dot com Reported by: mattficken@php.net Summary: occassional crashes in accel_startup Status: Open Type: Bug Package: opcache Operating System: Windows PHP Version: 5.5Git-2013-05-23 (snap) Block user comment: N Private report: N New Comment: Similar problem in PHP 5.5.13. no exact steps to reproduce, just occasional crash dump gnerated. here is output from windbg: This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (c8c.b68): Access violation - code c0000005 (first/second chance not available) eax=00000000 ebx=001cef20 ecx=73673ce0 edx=00000064 esi=001cee90 edi=00000000 eip=777f1318 esp=001ced68 ebp=001ceee8 iopl=0 nv up ei pl nz na po nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00200202 ntdll!ZwWaitForMultipleObjects+0xc: 777f1318 c21400 ret 14h 0:000> !analyze -v ******************************************************************************* * * * Exception Analysis * * * ******************************************************************************* FAULTING_IP: php_opcache!accel_startup+1d6 [c:\php-sdk\php55\vc11\x86\php-5.5.13\ext\opcache\zendaccelerator.c @ 2586] 74005016 8b4068 mov eax,dword ptr [eax+68h] EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff) ExceptionAddress: 74005016 (php_opcache!accel_startup+0x000001d6) ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 00000000 Parameter[1]: 0161a188 Attempt to read from address 0161a188 DEFAULT_BUCKET_ID: INVALID_POINTER_READ PROCESS_NAME: php-cgi.exe ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s. EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s. EXCEPTION_PARAMETER1: 00000000 EXCEPTION_PARAMETER2: 0161a188 READ_ADDRESS: 0161a188 FOLLOWUP_IP: php_opcache!accel_startup+1d6 [c:\php-sdk\php55\vc11\x86\php-5.5.13\ext\opcache\zendaccelerator.c @ 2586] 74005016 8b4068 mov eax,dword ptr [eax+68h] MOD_LIST: <ANALYSIS/> NTGLOBALFLAG: 0 APPLICATION_VERIFIER_FLAGS: 0 FAULTING_THREAD: 00000b68 PRIMARY_PROBLEM_CLASS: INVALID_POINTER_READ BUGCHECK_STR: APPLICATION_FAULT_INVALID_POINTER_READ LAST_CONTROL_TRANSFER: from 72f2ab5f to 74005016 STACK_TEXT: 001cf4cc 72f2ab5f 0047a120 0047a118 72f4435a php_opcache!accel_startup+0x1d6 [c:\php-sdk\php55\vc11\x86\php-5.5.13\ext\opcache\zendaccelerator.c @ 2586] 001cf4d8 72f4435a 0047a120 001cf590 0108b0a0 php5!zend_extension_startup+0xf [c:\jenkins\pfw-plesk-engine\windows\build\components\plesk-engine\work\php-sdk\phpdev\vc11\x86\php-5.5.13\zend\zend_extensions.c @ 154] 001cf4f0 72f2a83f 73673940 72f2ab50 72f5ccd5 php5!zend_llist_apply_with_del+0x1a [c:\jenkins\pfw-plesk-engine\windows\build\components\plesk-engine\work\php-sdk\phpdev\vc11\x86\php-5.5.13\zend\zend_llist.c @ 178] 001cf4fc 72f5ccd5 00000000 00000000 73d48694 php5!zend_startup_extensions+0xf [c:\jenkins\pfw-plesk-engine\windows\build\components\plesk-engine\work\php-sdk\phpdev\vc11\x86\php-5.5.13\zend\zend_extensions.c @ 175] 001cf7cc 01082061 0108b000 0108b0a0 00000001 php5!php_module_startup+0x6f5 [c:\jenkins\pfw-plesk-engine\windows\build\components\plesk-engine\work\php-sdk\phpdev\vc11\x86\php-5.5.13\main\main.c @ 2232] 001cf7dc 010838cc 0108b000 00000000 00000001 php_cgi!php_cgi_startup+0x11 [c:\jenkins\pfw-plesk-engine\windows\build\components\plesk-engine\work\php-sdk\phpdev\vc11\x86\php-5.5.13\sapi\cgi\cgi_main.c @ 936] 001cf970 01087823 00000002 0043d450 0043dea8 php_cgi!main+0x4cc [c:\jenkins\pfw-plesk-engine\windows\build\components\plesk-engine\work\php-sdk\phpdev\vc11\x86\php-5.5.13\sapi\cgi\cgi_main.c @ 1910] 001cf9b0 77338543 7f09d000 001cfa00 7780ac69 php_cgi!__tmainCRTStartup+0xfd [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 536] 001cf9bc 7780ac69 7f09d000 9e3c5a0e 00000000 kernel32!BaseThreadInitThunk+0xe 001cfa00 7780ac3c 0108788b 7f09d000 ffffffff ntdll!__RtlUserThreadStart+0x72 001cfa18 00000000 0108788b 7f09d000 00000000 ntdll!_RtlUserThreadStart+0x1b STACK_COMMAND: ~0s; .ecxr ; kb SYMBOL_STACK_INDEX: 0 SYMBOL_NAME: php_opcache!accel_startup+1d6 FOLLOWUP_NAME: MachineOwner MODULE_NAME: php_opcache IMAGE_NAME: php_opcache.dll DEBUG_FLR_IMAGE_TIMESTAMP: 538dd757 FAILURE_BUCKET_ID: INVALID_POINTER_READ_c0000005_php_opcache.dll!accel_startup BUCKET_ID: APPLICATION_FAULT_INVALID_POINTER_READ_php_opcache!accel_startup+1d6 Followup: MachineOwner --------- Previous Comments: ------------------------------------------------------------------------ [2013-05-23 06:11:29] mattficken@php.net Description: ------------ Running multiple PHPT tests on CLI I occassionally get these crashes (see below). I do this using PFTT, which for this is equivalent to run-test.php except that it runs multiple php processes at a time, instead of just one. This is an updated copy of this issue: https://github.com/zendtech/ZendOptimizerPlus/issues/59 Expected result: ---------------- PHPT tests pass Actual result: -------------- 009df904 6f5fc2ef php_opcache!accel_startup+0x119 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\ext\opcache\zendaccelerator.c @ 2565] (issue 59?) 009df910 6f73ab0a php5!zend_extension_startup+0xf [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\zend\zend_extensions.c @ 154] 009df928 6f4ab016 php5!zend_llist_apply_with_del+0x28f3aa [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\zend\zend_llist.c @ 178] 009dfc0c 000f14be php5!php_module_startup+0x646 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\main\main.c @ 2207] 009dfc1c 000f2cb8 php!php_cli_startup+0xe [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\sapi\cli\php_cli.c @ 417] 009dfcb4 000f9a0e php!main+0x418 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\sapi\cli\php_cli.c @ 1357] 009dfcf4 767d3677 php!__tmainCRTStartup+0xfd [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 536] 009dfd00 77a69d72 kernel32!BaseThreadInitThunk+0x12 009dfd40 77a69d45 ntdll!RtlInitializeExceptionChain+0x63 009dfd58 00000000 ntdll!RtlInitializeExceptionChain+0x36 00adf7d4 6f5fc2ef php_opcache!accel_startup+0x5705 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\ext\opcache\zendaccelerator.c @ 2525] 00adf7e0 6f73ab0a php5!zend_extension_startup+0xf [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\zend\zend_extensions.c @ 154] 00adf7f8 6f4ab016 php5!zend_llist_apply_with_del+0x28f3aa [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\zend\zend_llist.c @ 178] 00adfadc 000f14be php5!php_module_startup+0x646 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\main\main.c @ 2207] 00adfaec 000f2cb8 php!php_cli_startup+0xe [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\sapi\cli\php_cli.c @ 417] 00adfb84 000f9a0e php!main+0x418 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\sapi\cli\php_cli.c @ 1357] 00adfbc4 767d3677 php!__tmainCRTStartup+0xfd [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 536] 00adfbd0 77a69d72 kernel32!BaseThreadInitThunk+0x12 00adfc10 77a69d45 ntdll!RtlInitializeExceptionChain+0x63 00adfc28 00000000 ntdll!RtlInitializeExceptionChain+0x36 00abfb28 744a9a55 php_opcache!accel_new_interned_string+0x130 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\ext\opcache\zendaccelerator.c @ 325] 00abfb38 744b0cfe php_opcache!accel_use_shm_interned_strings+0x25 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\ext\opcache\zendaccelerator.c @ 394] 00abfb54 6f5fc2ef php_opcache!accel_startup+0x572e [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\ext\opcache\zendaccelerator.c @ 2535] 00abfb60 6f73ab0a php5!zend_extension_startup+0xf [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\zend\zend_extensions.c @ 154] 00abfb78 6f4ab016 php5!zend_llist_apply_with_del+0x28f3aa [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\zend\zend_llist.c @ 178] 00abfe5c 000f14be php5!php_module_startup+0x646 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\main\main.c @ 2207] 00abfe6c 000f2cb8 php!php_cli_startup+0xe [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\sapi\cli\php_cli.c @ 417] 00abff04 000f9a0e php!main+0x418 [c:\php-sdk\snap_5_5\vc11\x86\nts-windows-vc11-x86\sapi\cli\php_cli.c @ 1357] 00abff44 767d3677 php!__tmainCRTStartup+0xfd [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 536] WARNING: Stack unwind information not available. Following frames may be wrong. 00abff50 77a69d72 kernel32!BaseThreadInitThunk+0x12 00abff90 77a69d45 ntdll!RtlInitializeExceptionChain+0x63 00abffa8 00000000 ntdll!RtlInitializeExceptionChain+0x36 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64906&edit=1

« previous php.bugs (#186044) next »