Closed
Bug 1550513
Opened 6 years ago
Closed 6 years ago
RenderBackend panic in project_rect due to NaN
Categories
(Core :: Graphics: WebRender, defect, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
DUPLICATE
of bug 1550725
People
(Reporter: nical, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: crash)
Ran into this a couple of times while trying to reproduce another bug, by constantly refreshing the impots.gouv.fr website.
"called Option::unwrap()
on a None
value"
871│ ))
872│ } else {
873│ // we just checked for all the points to be in positive hemisphere, so `unwrap` is valid
874│ Some(TypedRect::from_points(&[
875├> homogens[0].to_point2d().unwrap(),
876│ homogens[1].to_point2d().unwrap(),
877│ homogens[2].to_point2d().unwrap(),
878│ homogens[3].to_point2d().unwrap(),
879│ ]))
880│ }
881│ }
The coordinates in homogens are all NaN
and so are all members of the rect parameter (the transform looks fine).
up the stack in PrimitiveStore::update_visibility the rectangle comes out of the first get_snapped_rect call with an input visible_rect that looks reasonable, a device pixel scale of 1 and map_local_to_raster equal to:
SpaceMapper {
kind: CoordinateSpaceMapping<webrender_api::units::LayoutPixel, webrender_api::units::RasterPixel>,
ref_spatial_node_index: SpatialNodeIndex (0),
current_target_spatial_node_index: SpatialNodeIndex (15),
bounds: {
origin: { x: -1e+09, y: -1e+09, }
size: { width: 2e+09, height: 2e+09, }
},
visible_face: VisibleFace::Front
}
Reporter | ||
Updated•6 years ago
|
Priority: -- → P3
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Whoops, I would have put my patch this if I noticed it was filed :).
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•