Edit report at https://bugs.php.net/bug.php?id=69846&edit=1
ID: 69846
User updated by: jan dot slabon at setasign dot com
Reported by: jan dot slabon at setasign dot com
Summary: Segmenation fault (access violation) when iterating
over DOMNodeList
Status: Open
Type: Bug
Package: Reproducible crash
Operating System: Windows 7 Pro (x64)
PHP Version: 7.0.0alpha1
Block user comment: N
Private report: N
New Comment:
While doing further tests I encountered a simliar problem (no segmentation fault) but for me it
looks related as it only happens if I edit the $value ($node) in the foreach-loop. A reproduce case
is available here: http://3v4l.org/MNakn If this is not
releated, feel free to tell me and I am going to open another bug report.
Previous Comments:
------------------------------------------------------------------------
[2015-06-16 12:34:45] jan dot slabon at setasign dot com
I just send a reproduce case to ab@php.net.
------------------------------------------------------------------------
[2015-06-16 10:47:53] jan dot slabon at setasign dot com
While I am trying to reproduce it, its behaviour becomes much more strange: Yesterday evening the
crash was reproducible with a test item no 13. Today it's 10...
I am going to clean-up the whole package so I only left the files which are needed to reproduce this
issue. Anyhow I would please you to confirm that these files are not being used further or made
public, because they are part of proprietary products. I can send it to ab@php.net?
------------------------------------------------------------------------
[2015-06-16 10:03:49] ab@php.net
Thanks for the dump. Maybe it'll help if i say that the crash happens in
SetaPDF_FormFiller_XfaTest, maybe it needs some more stress for a reproduce. But i'll dig
further in the meanwhile.
Thanks.
------------------------------------------------------------------------
[2015-06-16 07:53:34] jan dot slabon at setasign dot com
Here's the log and dump:
https://www.setasign.com/files/php.net/69846/php__PID__8788__Date__06_15_2015__Time_11_06_27PM__48__Log.txthttps://www.setasign.com/files/php.net/69846/php__PID__8788__Date__06_15_2015__Time_11_06_29PM__945__Second_Chance_Exception_C0000005.dmp
I am going to investigate further to see if we have a chance to extract a reproduce case. As it
seems to be a memory problem it simply relies on other (absolutely independent) code. Running the
test alone works. Running two tests in a folder will crash...
------------------------------------------------------------------------
[2015-06-16 07:38:45] ab@php.net
Thanks for the report. Yep, a dump were useful.
Also an idea - if it is only reproduceable with phpunit, maybe it could make sense to create a suite
with just that one unit test as a reproduce case (of course if it does repro then)?
Thanks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69846
--
Edit this bug report at https://bugs.php.net/bug.php?id=69846&edit=1