php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #69173 Access violation in php7.dll!zend_leave_helper_SPEC
Submitted: 2015-03-03 18:00 UTC Modified: 2015-03-05 07:55 UTC
From: mberchtold at gmail dot com Assigned: ab (profile)
Status: Closed Package: *General Issues
PHP Version: master-Git-2015-03-03 (snap) OS: Windows Server 2012 R2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mberchtold at gmail dot com
New email:
PHP Version: OS:

 

 [2015-03-03 18:00 UTC] mberchtold at gmail dot com
Description:
------------
stack trace:

>	php7.dll!zend_leave_helper_SPEC(_zend_execute_data * execute_data) Line 400	C
 	php7.dll!execute_ex(_zend_execute_data * execute_data) Line 352	C
 	php7.dll!zend_call_function(_zend_fcall_info * fci, _zend_fcall_info_cache * fci_cache) Line 847	C
 	php7.dll!zif_call_user_func(_zend_execute_data * execute_data, _zval_struct * return_value) Line 4729	C
 	php7.dll!ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER(_zend_execute_data * execute_data) Line 648	C
 	php7.dll!execute_ex(_zend_execute_data * execute_data) Line 352	C
 	php7.dll!zend_call_function(_zend_fcall_info * fci, _zend_fcall_info_cache * fci_cache) Line 847	C
 	php7.dll!zif_call_user_func(_zend_execute_data * execute_data, _zval_struct * return_value) Line 4729	C
 	php7.dll!ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER(_zend_execute_data * execute_data) Line 648	C
 	php7.dll!execute_ex(_zend_execute_data * execute_data) Line 352	C
 	php7.dll!zend_execute(_zend_op_array * op_array, _zval_struct * return_value) Line 381	C
 	php7.dll!zend_execute_scripts(int type, _zval_struct * retval, int file_count, ...) Line 1310	C
 	php7.dll!php_execute_script(_zend_file_handle * primary_file) Line 2542	C
 	php-cgi.exe!main(int argc, char * * argv) Line 2439	C
 	php-cgi.exe!__tmainCRTStartup() Line 536	C
 	kernel32.dll!@BaseThreadInitThunk@12()	Unknown
 	ntdll.dll!__RtlUserThreadStart()	Unknown
 	ntdll.dll!__RtlUserThreadStart@8()	Unknown

I can provide the full crash dump by email.


Test script:
---------------
n/a

Expected result:
----------------
no crash

Actual result:
--------------
Unhandled exception at 0x73D9738E (php7.dll) in php-cgi.exe.8244.dmp: 0xC0000005: Access violation writing location 0x00000000.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-03-03 20:01 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-03-03 20:01 UTC] ab@php.net
@mbrechtold, yeah, please share the dump. From the BT it seems to be a similar subtle issue you've reported last time. Is opcache involved here?

Thanks.
 [2015-03-03 20:27 UTC] mberchtold at gmail dot com
-Status: Feedback +Status: Open
 [2015-03-03 20:27 UTC] mberchtold at gmail dot com
crash dump sent.

opcache is enabled
 [2015-03-04 08:33 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2015-03-04 08:33 UTC] ab@php.net
Hi,

thanks for sharing the dump again. Unfortunately digging into it didn't bring much, seems more debugging is required. From what I can tell now, the crash happens somewhere around Application\Controller\SublicenseController, but many useful infos are optimized away. It would rock if you could play with this so we maybe could come to a deeper location.

Thanks.
 [2015-03-04 09:27 UTC] ab@php.net
btw this could just have been fixed with c16dcd3a, maybe you could check this.

Thanks.
 [2015-03-04 13:11 UTC] mberchtold at gmail dot com
-Status: Feedback +Status: Open
 [2015-03-04 13:11 UTC] mberchtold at gmail dot com
I'm not longer able to reproduce the same crash the latest snapshot :-) Thank you.
 [2015-03-05 07:55 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2015-03-05 07:55 UTC] ab@php.net
Yeah, closing then.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 07:01:27 2024 UTC