Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[core] Band-aid to prevent GeometryTile::redoLayout race condition from causing a crash - #6322

Merged
jfirebaugh merged 1 commit into
masterfrom
android-CI-crasher
Sep 13, 2016
Merged

jfirebaugh merged 1 commit into
masterfrom
android-CI-crasher

Conversation

@jfirebaugh

@jfirebaugh jfirebaugh commented Sep 13, 2016 •

Copy link
Copy Markdown
Contributor

This provides temporary prevention for crashing due to #6263, which will hopefully help stabilize our Android builds prior to stuff like #1471 landing.

Instead of a crash, the race condition will produce a blank tile. Note that the race is run only if a layout property or filter is modified. I don't see any way for it to be triggered in other scenarios. So it won't become a possible cause of "blank tiles" in general.

@mention-bot

Copy link
Copy Markdown

@jfirebaugh, thanks for your PR! By analyzing this pull request, we identified @ansis, @mikemorris and @tmpsantos to be potential reviewers.

@tmpsantos

Copy link
Copy Markdown
Contributor

👍

@mikemorris

Copy link
Copy Markdown
Contributor

Could this potentially return blank tiles instead of errors in MapMode::Still as well? No immediate plans for a new Node.js bindings release and not too concerned given limited scope, just want to be aware.

@jfirebaugh

Copy link
Copy Markdown
Contributor Author

@mikemorris Only if you use map.setLayoutProperty or map.setFilter.

@jfirebaugh
jfirebaugh merged commit 8f3736f into master Sep 13, 2016
@jfirebaugh
jfirebaugh deleted the android-CI-crasher branch September 13, 2016 22:40
jfirebaugh added a commit that referenced this pull request Sep 14, 2016
jfirebaugh added a commit that referenced this pull request Sep 14, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants