GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Leak the global static mutex in CKTextKitContext to avoid static destructor fiasco by ocrickard · Pull Request #906 · meta/componentkit

Conversation

@ocrickard

@ocrickard ocrickard commented Apr 12, 2018

Copy link
Copy Markdown
Contributor

I haven't tested this code, but this is what I would try to resolve #892. Someone should run some smoke tests with something like the above

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@ocrickard
Leak the global static mutex in CKTextKitContext to avoid static dest…
09e43c5
…ructor fiasco

I haven't tested this code, but this is what I would try to resolve meta#892. Someone should run some smoke tests with something like the above
@facebook-github-bot

facebook-github-bot commented Apr 12, 2018

Copy link
Copy Markdown
Contributor

Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours has expired.

Before we can review or merge your code, we need you to email [email protected] with your details so we can update your status.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ocrickard ocrickard mentioned this pull request Apr 12, 2018
Fatal Exception: std::__1::system_error: mutex lock failed: Invalid argument #905
Closed
gkassabli
gkassabli approved these changes Apr 12, 2018
View reviewed changes

@gkassabli gkassabli left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Makes sense to me in general. Let's check if this doesn't break anything

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@facebook-github-bot facebook-github-bot added the CLA Signed label Apr 13, 2018
@facebook-github-bot

facebook-github-bot commented Apr 13, 2018

Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

facebook-github-bot
facebook-github-bot reviewed Apr 13, 2018
View reviewed changes

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@gkassabli has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@facebook-github-bot facebook-github-bot closed this in 37bcfdb May 1, 2018
@chuganzy chuganzy mentioned this pull request Dec 11, 2018
Leak mutex to avoid a crashing issue react/react-native#22607
Closed
chuganzy added a commit to chuganzy/react-native that referenced this pull request Dec 11, 2018
@chuganzy
Leak mutex to avoid a crashing issue
b8e6613
Ref: meta/componentkit#906
facebook-github-bot pushed a commit to react/react-native that referenced this pull request Feb 14, 2019
@chuganzy @facebook-github-bot
Leak mutex to avoid a crashing issue (#22607)
6082431
Summary:
Try to solve #13588
ref: meta/componentkit#906
Pull Request resolved: #22607

Differential Revision: D14084056

Pulled By: shergin

fbshipit-source-id: 585aef758e1a215e825ae12914c5011d790a69b0
facebook-github-bot pushed a commit to react/react-native that referenced this pull request Apr 28, 2021
@appden @facebook-github-bot
Fix crash in RCTCoreModulesClassProvider during quit
2f62c28
Summary:
This intentionally leaks the static map, since it still might be accessed after static destructors are run. This is a common approach to this problem, see #22607 and meta/componentkit#906 as examples. It also sets up an autorelease pool from  `RCTNativeModule::invoke` as a precaution since there's no strict guarantee one exists when it is called.

Changelog:
[iOS][Fixed] - Fix crash in RCTCoreModulesClassProvider during quit

Reviewed By: RSNara

Differential Revision: D27932062

fbshipit-source-id: fa75da4b78290027a762440ac6943c81b8594a57
@zhongwuzw zhongwuzw mentioned this pull request Oct 22, 2021
[iOS] Destroy the engine prior to application termination. flutter-team-archive/engine#29295
Merged
8 tasks done
@zhongwuzw zhongwuzw mentioned this pull request Nov 4, 2021
[macOS] Fixes Crash of cxx destruction when App will terminate flutter-team-archive/engine#29502
Merged
6 of 7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers
@facebook-github-bot facebook-github-bot facebook-github-bot left review comments
@gkassabli gkassabli gkassabli approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CLA Signed

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Fatal Exception: std::__1::system_error mutex lock failed: Invalid argument

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@ocrickard @facebook-github-bot @gkassabli
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.