Bug #69846 [Asn->Csd]: Segmenation fault (access violation) when iterating over DOMNodeList
| From: | ab@php.net | Date: | Fri, 19 Jun 2015 09:24:45 +0000 |
| Subject: | Bug #69846 [Asn->Csd]: Segmenation fault (access violation) when iterating over DOMNodeList | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-193681@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69846&edit=1
ID: 69846
Updated by: ab@php.net
Reported by: jan dot slabon at setasign dot com
Summary: Segmenation fault (access violation) when iterating
over DOMNodeList
-Status: Assigned
+Status: Closed
Type: Bug
Package: Reproducible crash
Operating System: Windows 7 Pro (x64)
PHP Version: 7.0.0alpha1
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of ab
Revision: http://git.php.net/?p=php-src.git;a=commit;h=d079a1c9ea16ff2c5f40f82bd558355f78f103cf
Log: better approach to fix bug #69846
Previous Comments:
------------------------------------------------------------------------
[2015-06-19 06:24:52] jan dot slabon at setasign dot com
Hi Anatol,
Thanks! But the test case I send you still ends in a segmentation fault.
Cheers,
Jan
------------------------------------------------------------------------
[2015-06-19 04:59:04] ab@php.net
Jan,
I was able to issue a partial fix, the crash should be gone now. Please check any snapshot starting
with http://windows.php.net/downloads/snaps/master/rbb4454b/
. I think the case with reassigning in the loop should become a separate ticket. But please check
first.
Thanks
------------------------------------------------------------------------
[2015-06-16 21:35:56] jan dot slabon at setasign dot com
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.
------------------------------------------------------------------------
[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?
------------------------------------------------------------------------
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