Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid re-entrant call to self.view when applying initial pending state #510

Merged
merged 2 commits into from
Aug 15, 2017

Conversation

Adlai-Holler
Copy link
Member

We are seeing a crash in Pinterest like the one attached below.

I don't know why the re-entrant call to self.view would not return immediately (since _view is not nil as guaranteed by the _loadViewOrLayer method), and I don't know why we're getting a KERN_PROTECTION_FAILURE, but either way, I believe this is the correct code for the _locked_ method.

screen shot 2017-08-14 at 11 00 19 am

@Adlai-Holler Adlai-Holler changed the title Avoid re-entrant call to self.view when applying pending state Avoid re-entrant call to self.view when applying initial pending state Aug 14, 2017
Copy link
Member

@nguyenhuy nguyenhuy left a comment

Choose a reason for hiding this comment

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

Yeah, super weird that the re-entrant wouldn't bail early. Accepting since the change looks correct even outside of this crash.

Copy link
Contributor

@maicki maicki left a comment

Choose a reason for hiding this comment

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

Let's get that in than.

@maicki maicki merged commit 42b5633 into master Aug 15, 2017
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
TextureGroup#510)

* Avoid re-entrant call to .view

* Increment the changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants