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

Crash : NSInternalInconsistencyException on UIFeedbackHapticOnlyEngine #10170

Closed
ghost opened this issue Sep 18, 2018 · 3 comments
Closed

Crash : NSInternalInconsistencyException on UIFeedbackHapticOnlyEngine #10170

ghost opened this issue Sep 18, 2018 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 18, 2018

Fatal Exception: NSInternalInconsistencyException
ERROR: -[_UIFeedbackHapticOnlyEngine _deactivate] called more times than the feedback engine was activated

We've seen an uptick in crashes related to the preceding, especially since the launch of iOS 12 on the v10.8.1.1 release.

5b39f0b26007d59fcd66f058-fabric

@ghost ghost added the [Type] Crash label Sep 18, 2018
@ghost ghost added this to To Do in Groundskeeping Sep 18, 2018
@ctarda ctarda moved this from To Do to In Progress in Groundskeeping Sep 27, 2018
@ghost
Copy link
Author

ghost commented Nov 7, 2018

According to Fabric, 97% of the occurrences have been on iPhone devices running iOS 11, 3% on iOS 10.

@ghost
Copy link
Author

ghost commented Nov 7, 2018

Researching the issue...

This SO post suggests that the crash can be associated to the "prepare" & "generate" methods being invoked on different threads.

Canvasing the app for UIFeedbackGenerator subclasses, I noted that there are a few places where feedback is generated in a closure, but most of these have been in place for quite some time:

The timing of most of these commits precedes the release of iOS 11.

@ghost ghost moved this from In Progress to To Do in Groundskeeping Nov 7, 2018
@ghost ghost self-assigned this Jan 7, 2019
@ghost
Copy link
Author

ghost commented Jan 7, 2019

According to Fabric, this has not been observed at all within the last 9 days.

Moreover, It has not been observed on any WPiOS version after v10.9.0.1, and of those occurrences, all have iOS 11 or earlier.

Closing this issue.

@ghost ghost closed this as completed Jan 7, 2019
Groundskeeping automation moved this from To Do to Done HACK Week (Jan 7-11, 2018) Jan 7, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Groundskeeping
  
Done HACK Week (Jan 7-11, 2019)
Development

No branches or pull requests

0 participants