Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Mar 24, 2024

Fixes flutter/flutter#145528 by checking if the clip coverage stack is empty for restoring. Adds a protective empty check in clip replay.

I have a plan to pull the clip stack into something more testable to make this better, but opening this as a simpler fix first.

Copy link
Member

@bdero bdero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jonahwilliams jonahwilliams added the autosubmit Merge PR when tree becomes green via auto submit App label Mar 25, 2024
@auto-submit auto-submit bot merged commit 04191a1 into flutter:main Mar 25, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Mar 25, 2024
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Mar 25, 2024
…145709)

flutter/engine@ef896e9...04191a1

2024-03-25 [email protected] [Impeller] fix unbalanced restores. (flutter/engine#51648)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC [email protected],[email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
@delfme
Copy link

delfme commented Mar 25, 2024

Might this fix be effective also for this error?

[ERROR:flutter/impeller/base/validation.cc(49)] Break on 'ImpellerValidationBreak' to inspect point of failure: EntityPass (Depth=1) contains one or more clips with an unresolved depth value.

@delfme
Copy link

delfme commented Mar 25, 2024

I just discovered it and couldnt debug. It is printing non-stop when opening a stickers keyboard loading lottie animations. This is also a recent regression, we had no issue with that so far.

@bdero
Copy link
Member

bdero commented Mar 26, 2024

[ERROR:flutter/impeller/base/validation.cc(49)] Break on 'ImpellerValidationBreak' to inspect point of failure: EntityPass (Depth=1) contains one or more clips with an unresolved depth value.

Hey @delfme, I think that's a different issue. It's related to some clip changes we've been making. I didn't make this error message a crasher because it's normally recoverable, but it's a bit concerning that it's possible to hit this path.

If you happen to have repro for this, could you toss it in a new bug and tag me? That would be super helpful. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App e: impeller

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS Crashing Issue after specific Flutter commit throwing shared_ptr<impeller::CaptureElement>

3 participants