-
-
Notifications
You must be signed in to change notification settings - Fork 269
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
App is crashing when writing posts on iPhone #940
Milestone
Comments
I don't know if it is really a duplicate as it literally crashs instead of just hanging. And it has nothing to do with an amount of chars because it happens at all char amount ranges. |
zeitschlag
added a commit
that referenced
this issue
Feb 19, 2023
This is more of a guess to fix a crash, but it's not guaranteed, that it fixes the bug. When posting a new status, the app crashed occasionally when `try save()` in NSManagedObjectContext.swift. It seemed that the instance of NSManagedObjectContext just ... disappeared? The error-message was: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0) So, instead of async black magic fuckery, just ... wait until it's done?
zeitschlag
added a commit
that referenced
this issue
Feb 20, 2023
Due to some audio-based debugging this could be identified as the place where the managedObjectContext disappeared. The idea is now: when we wait Core Data to finish its job, there's no way that a managedObjectContext in another thread can go south.
This was referenced Feb 20, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
Current Behavior
When you are writing a new update-adding a post in the iOS app, it will crash once you have written approx. 100-150 characters. First the app gets stuck and then it crashes.
Expected Behavior
No response
Steps To Reproduce
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: