cc::ResourcePool::TryAcquireResourceForPartialRaster crash
Reported by
zljj0...@gmail.com,
Dec 11 2017
|
||||
Issue description
Chrome Version : 61.0.3163.91
OS Version: android 7.0
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL after other browsers where you have tested this issue:
Safari:
Firefox:
IE/Edge:
What steps will reproduce the problem?
No stable steps
What is the expected result?
android webview do not crash
What happens instead of that?
Crash in cc::ResourcePool::TryAcquireResourceForPartialRaster:
when run in this code:
resource->invalidated_rect().size().GetArea();
Seem that tile's invalidated content rect's area is out of Integer scope, and cause abort by self.
For tile's invalid_content_rect is set by Tile::SetInvalidated,
there are two position call this:
1. PictureLayerTiling::CreateMissingTilesInLiveTilesRect
2. PictureLayerTiling::RemoveTilesInRegion
In case 1, invalid_content_rect will intersect with tile content rect, this mean that invalidate content rect must in tile content rect;
But in case 2, invalidate content rect do not intersect with tile content rect, perhaps it set invalid value, and cause this issue;
Please confirm this.
,
Dec 11 2017
,
Dec 12 2017
,
May 18 2018
As there is no response/Feedback from the reporter for comment#1 from long duration, hence closing this issue and marking it as Won't fix. @Reporter: Please feel free to raise a new one if the issue is still seen. Thanks! |
||||
►
Sign in to add a comment |
||||
Comment 1 by viswatej...@techmahindra.com
, Dec 11 2017