php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75003 Access violation error
Submitted: 2017-07-28 10:37 UTC Modified: 2017-07-31 11:42 UTC
From: jan dot slabon at setasign dot com Assigned: ab (profile)
Status: Closed Package: *General Issues
PHP Version: 7.2.0beta1 OS: Windows 10 Pro
Private report: No CVE-ID: None
 [2017-07-28 10:37 UTC] jan dot slabon at setasign dot com
Description:
------------
We're not able to run all our unit tests on PHP 7.2beta1 because it ends with:

Process finished with exit code -1073741819 (0xC0000005)

I just create a package with a minimum of involved files, so that you have a reproduceable test case.

Just run the test.cmd file: Sometimes the tests run through but sometimes it crashes.

When running this in the whole suite sometimes the tests simply fail (without a crash) but the result is invalid/faulty.

Test script:
---------------
https://customers.setasign.com/php.net/php7.2beta1-bug.zip

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

Actual result:
--------------
crash

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-07-28 11:02 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2017-07-28 11:02 UTC] ab@php.net
Thanks for the report. Somehow I don't reproduce the crash on the latest code base anymore. We've no 7.2 snapshots running yet, but perhaps you could check a latest master one? It's almost same yet.

Thanks.
 [2017-07-28 20:52 UTC] jan dot slabon at setasign dot com
-Status: Feedback +Status: Open
 [2017-07-28 20:52 UTC] jan dot slabon at setasign dot com
Anatol, I must admit that I never build PHP from the sources if this is what you mean when you write "check a latest master one"?

I forgot to mention the version I am using (I didn't verified if there are any different behaviours between n/ts and 32/64 yet): http://windows.php.net/downloads/qa/php-7.2.0beta1-nts-Win32-VC15-x64.zip

And again this issue occurs not all the time but e.g. 3 runs work, while the next 3 don't.
 [2017-07-29 04:39 UTC] ab@php.net
-Status: Open +Status: Feedback
 [2017-07-29 04:39 UTC] ab@php.net
Jan,

there is a snapshot service there http://windows.php.net/snapshots/ . You don't have to compile yourself. Locally i tested with the current dev from 7.2 and master, where i didn't repro. With alpha3 the reproducer is reliable.

Thanks.
 [2017-07-31 07:16 UTC] jan dot slabon at setasign dot com
-Status: Feedback +Status: Open
 [2017-07-31 07:16 UTC] jan dot slabon at setasign dot com
Ok, I can confirm this: With the current master I cannot reproduce this and all tests went through.
 [2017-07-31 11:42 UTC] ab@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: ab
 [2017-07-31 11:42 UTC] ab@php.net
Thanks for checking. Thus looks like it is fixed, next beta should be fine.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 07:01:29 2024 UTC