mojo VALIDATION_ERROR_DESERIALIZATION_FAILED in FrameSinkManagerClient::OnSurfaceCreated during shutdown |
||||||||
Issue descriptionOn samus, 60.0.3082.0 test image with Chrome ToT r467463 release build with symbols. While debugging issue 692227 I was running autotest cheets_CTSHelper. I noticed this log line in /var/log/ui/ui.LATEST: [9787:9787:0426/181703.369930:ERROR:validation_errors.cc(87)] Invalid message: VALIDATION_ERROR_DESERIALIZATION_FAILED Adding more logging shows it coming from: "FrameSinkManagerClient::OnSurfaceCreated deserializer" This seems wrong/odd. Why wouldn't it deserialize? Is this expected behavior?
,
May 1 2017
Oh boy, this is confusing. I'm assuming this is cc::mojom::FrameSinkManagerClient not the newly added cc::FrameSinkManagerClient? The second one has an identical method but is used for something totally different than the first. The second one shouldn't be involved in any deserialization though.
Anyways, this means that someone is submitting a malformed CompositorFrame which produced an invalid SurfaceInfo. The StructTraits for SurfaceInfo calls SurfaceInfo::IsValid(), which checks three things:
bool is_valid() const {
return id_.is_valid() && device_scale_factor_ != 0 &&
!size_in_pixels_.IsEmpty();
}
It could be any of those. Do we know what the test is checking for? It looks like the test does invoke ARC, so it might be that I fixed it already when I fixed device_scale_factor with exo, but it could also be an invalid SurfaceId or an empty CompositorFrameMetadata::output_rect.
,
May 1 2017
Reading through the test invokes arc, so I think this should be fixed at ToT with this https://codereview.chromium.org/2843723003/. https://chromium.googlesource.com/chromiumos/third_party/autotest/+/HEAD/client/site_tests/cheets_CTSHelper/cheets_CTSHelper.py
,
May 3 2017
Can we mark this as FIXED then?
,
May 3 2017
,
May 8 2017
I'll mark this as FIXED. Please reopen if this is still an issue.
,
May 8 2017
Yep, I think it should be fixed but haven't had a chance to test on a device that supports exo.
,
Jun 13 2017
,
Aug 1 2017
,
Jan 22 2018
,
Feb 26 2018
,
Jun 21 2018
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by fsam...@chromium.org
, Apr 30 2017Cc: kylec...@chromium.org
Components: Internals>MUS Internals>Compositing
Labels: displaycompositor