Detect modifications to children_ vector
Crash analysis suggests that items are being removed from the children_ vector while we are iterating over it. This can easily turn into an infinite loop as the iter == end condition is never met, and calling destructors on bad objects leads to confusing crashes. This checks for that condition in order to validate the theory and get closer to understanding these crashes. Bug: 1152152 Change-Id: If30d7943e3f6d69ec000a82b656b5086e21bb7b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576034 Auto-Submit: Bruce Dawson <brucedawson@chromium.org> Reviewed-by:Allen Bauer <kylixrd@chromium.org> Reviewed-by:
Robert Liao <robliao@chromium.org> Commit-Queue: Allen Bauer <kylixrd@chromium.org> Cr-Commit-Position: refs/heads/master@{#834264}
Showing
Please register or sign in to comment