php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #68439 Various crashes, mostly accel_startup and interned strings
Submitted: 2014-11-17 20:41 UTC Modified: 2021-07-18 04:22 UTC
Votes:3
Avg. Score:5.0 ± 0.0
Reproduced:3 of 3 (100.0%)
Same Version:3 (100.0%)
Same OS:3 (100.0%)
From: mattficken@php.net Assigned: cmb (profile)
Status: No Feedback Package: opcache
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mattficken@php.net
New email:
PHP Version: OS:

 

 [2014-11-17 20:41 UTC] mattficken@php.net
Description:
------------
Many crashes in Opcache (on Windows) have been reported to Microsoft's Watson service by the Windows Error Reporting feature on Windows.

I am filing a bug report containing all those crashes so that we have it recorded and public.

Many reports use a different version of Opcache and PHP together due to some user misconfiguration (fe, opcache version 5.5.10 and php 5.5.15). Some crash reports do not include stack traces or have symbol misalignment. Many crashes are only reported for x64 builds, which are experimental. None of those reported crashes are included here.

All these crashes are valid stack traces, real crashes with matching opcache x86 and x86 php builds.


Most of the crashes are in php_opcache!accel_startup and php_opcache!accel_new_interned_string in 5.5 and 5.6 (where we see most other crashes in opcache), all from Fast-CGI

Actual result:
--------------
Crash #1  (Watson #-557903867)
exit code: INVALID_POINTER_READ 0xc0000005 in php_opcache.dll
PHP: 5.5.1  FastCGI (php-cgi)
00aef524 6e54ce4f php_opcache!accel_startup+0xa605 [c:\php-sdk\php55\vc11\x86\php-5.5.1\ext\opcache\zendaccelerator.c @ 2536]
00aef530 6e68b85d php5!zend_extension_startup+0xf [c:\php-sdk\php55\vc11\x86\php-5.5.1\zend\zend_extensions.c @ 154]
00c57008 0133067c php5!zend_llist_apply_with_del+0x2ad3fd [c:\php-sdk\php55\vc11\x86\php-5.5.1\zend\zend_llist.c @ 178]
WARNING: Frame IP not in any known module. Following frames may be wrong.
00c5700c 00000000 0x133067c

Crash #2  (Watson #-548254818)
exit code: NULL_POINTER_READ 0xc0000005 in php_opcache.dll
PHP: 5.5.1  FastCGI (php-cgi)
017cf68c 6f6b9d75 php_opcache!accel_new_interned_string+0x130 [c:\php-sdk\php55\vc11\x86\php-5.5.1\ext\opcache\zendaccelerator.c @ 325]
017cf69c 6f6c0e1e php_opcache!accel_use_shm_interned_strings+0x25 [c:\php-sdk\php55\vc11\x86\php-5.5.1\ext\opcache\zendaccelerator.c @ 394]
017cf6b8 6e72ce4f php_opcache!accel_startup+0xa62e [c:\php-sdk\php55\vc11\x86\php-5.5.1\ext\opcache\zendaccelerator.c @ 2546]
017cf6c4 6e86b85d php5!zend_extension_startup+0xf [c:\php-sdk\php55\vc11\x86\php-5.5.1\zend\zend_extensions.c @ 154]
017cf6dc 6e5bfc46 php5!zend_llist_apply_with_del+0x2ad3fd [c:\php-sdk\php55\vc11\x86\php-5.5.1\zend\zend_llist.c @ 178]
017cf9c0 00fc27e1 php5!php_module_startup+0x646 [c:\php-sdk\php55\vc11\x86\php-5.5.1\main\main.c @ 2210]
017cf9d0 00fc1202 php_cgi!php_cgi_startup+0x11 [c:\php-sdk\php55\vc11\x86\php-5.5.1\sapi\cgi\cgi_main.c @ 936]
017cfb64 00fc421c php_cgi!main+0x202 [c:\php-sdk\php55\vc11\x86\php-5.5.1\sapi\cgi\cgi_main.c @ 1910]
017cfba4 76992f64 php_cgi!__tmainCRTStartup+0xfd [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 536]
017cfbb8 7789083c kernel32+0x12f64
017cfc00 77890807 ntdll+0x6083c
017cfc10 00000000 ntdll+0x60807


Crash #3  (Watson #73411173415)
exit code: INVALID_POINTER_READ 0xc0000005 in php_opcache.dll
PHP: 5.5.15  FastCGI (php-cgi)
017ff2a8 6e282af6 php_opcache!accel_new_interned_string+0x13b [c:\php-sdk\php55\vc11\x86\php-5.5.15\ext\opcache\zendaccelerator.c @ 325]
017ff2c0 6e285058 php_opcache!accel_use_shm_interned_strings+0x26 [c:\php-sdk\php55\vc11\x86\php-5.5.15\ext\opcache\zendaccelerator.c @ 395]
017ff2dc 100684bb php_opcache!accel_startup+0x218 [c:\php-sdk\php55\vc11\x86\php-5.5.15\ext\opcache\zendaccelerator.c @ 2596]
01adaf50 6e2993f8 php_ioncube_loader+0x684bb
01adaf54 6e299404 php_opcache!`string'
01adaf58 6e299418 php_opcache!`string'
01adaf5c 6e299430 php_opcache!`string'
01adaf60 100684b0 php_opcache!`string'
01adaf64 00000000 php_ioncube_loader+0x684b0


Crash #4  (Watson #73254001400)
exit code: NULL_CLASS_PTR_READ 0xc0000005 in php_opcache.dll
PHP: 5.5.12  FastCGI (php-cgi)
0112f790 100684bb php_opcache!accel_startup+0x1d6 [c:\php-sdk\php55\vc11\x86\php-5.5.12\ext\opcache\zendaccelerator.c @ 2586]
0112f79c 6e1fb92f php_ioncube_loader+0x684bb
0112f7a8 6e259c9a php5!zend_extension_startup+0xf [c:\php-sdk\php55\vc11\x86\php-5.5.12\zend\zend_extensions.c @ 154]
0112f7c0 6def0953 php5!zend_llist_apply_with_del+0x31aa1a [c:\php-sdk\php55\vc11\x86\php-5.5.12\zend\zend_llist.c @ 178]
0112fa98 001427e1 php5!php_module_startup+0x643 [c:\php-sdk\php55\vc11\x86\php-5.5.12\main\main.c @ 2232]
0112faa8 00141202 php_cgi!php_cgi_startup+0x11 [c:\php-sdk\php55\vc11\x86\php-5.5.12\sapi\cgi\cgi_main.c @ 936]
0112fc3c 0014420c php_cgi!main+0x202 [c:\php-sdk\php55\vc11\x86\php-5.5.12\sapi\cgi\cgi_main.c @ 1910]
0112fc7c 763b919f php_cgi!__tmainCRTStartup+0xfd [f:\dd\vctools\crt_bld\self_x86\crt\src\crtexe.c @ 536]
0112fc88 7735a8cb kernel32+0x1919f
0112fccc 7735a8a1 ntdll+0x4a8cb
0112fcdc 00000000 ntdll+0x4a8a1


Crash #5  (Watson #73630829128)
exit code: NULL_POINTER_READ 0xc0000005 in php_opcache.dll
PHP: 5.6.0 FastCGI (php-cgi)
00a9f570 73a78694 php_opcache+0x234b
00a9f590 73a78694 msvcr110!getenv
00000000 00000000 msvcr110!getenv


Crash #6  (Watson #73491825369)
exit code: INVALID_POINTER_READ 0xc0000005 in php_opcache.dll
PHP: 5.6.0 FastCGI (php-cgi)
0091f548 6a55140f php_opcache!accel_startup+0x1d4 [c:\php-sdk\php56\vc11\x86\php-5.6.0\ext\opcache\zendaccelerator.c @ 2601]
00ccf920 6aecb37c php5!scan+0x155f [c:\php-sdk\php56\vc11\x86\php-5.6.0\ext\date\lib\parse_iso_intervals.c @ 947]
00ccf928 6aecb39c php_opcache!__xi_z+0x3c
00ccf92c 6aecb3b4 php_opcache!jit_auto_globals_info+0x8
00ccf930 6aeb4e2f php_opcache!`string'
00ccf934 00000000 php_opcache!accel_globals_dtor+0x1f


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-11-17 21:58 UTC] mattficken@php.net
-Summary: Various crashes, mostly accel_startup and internet strings +Summary: Various crashes, mostly accel_startup and interned strings
 [2021-07-08 11:19 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-07-08 11:19 UTC] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?

[1] <https://www.php.net/supported-versions.php>
 [2021-07-18 04:22 UTC] 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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 04:01:29 2024 UTC