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

Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Corrupted standard message' #1288

Open
Pinturaj opened this issue Jan 19, 2024 · 2 comments

Comments

@Pinturaj
Copy link

Pinturaj commented Jan 19, 2024

Hi, am facing the issue in iOS only, When we exit from better player full screen, the application crash(only on iOS) but working fine in Android.
I getting the below logs:-
*** Assertion failure in -[FlutterStandardReader readValueOfType:], FlutterStandardCodec.mm:478
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Corrupted standard message'
*** First throw call stack:
(0x18f33e69c 0x1875f3c80 0x18e89cdd8 0x10d51d654 0x10d51d7ec 0x10d51e1ac 0x10d51b3bc 0x10cfc9554 0x10a9a8f50 0x10a9aab34 0x10a9bafec 0x10a9baba0 0x18f28901c 0x18f285d28 0x18f285478 0x1d28064f8 0x1916a962c 0x1916a8c68 0x104e9a930 0x1b1fbedcc)
<VdoFramework.CrashInfo: 0x28017d8c0>
libc++abi: terminating due to uncaught exception of type NSException

below is the methods that cause of crash:-
@optionalTypeArgs
void pop<T extends Object?>([ T? result ]) {
assert(!_debugLocked);
assert(() {
_debugLocked = true;
return true;
}());
final _RouteEntry entry = _history.lastWhere(_RouteEntry.isPresentPredicate);
if (entry.pageBased) {
if (widget.onPopPage!(entry.route, result) && entry.currentState == _RouteLifecycle.idle) {
// The entry may have been disposed if the pop finishes synchronously.
assert(entry.route._popCompleter.isCompleted);
entry.currentState = _RouteLifecycle.pop;
}
} else {
entry.pop(result);
assert (entry.currentState == _RouteLifecycle.pop);
}
if (entry.currentState == _RouteLifecycle.pop) {
_flushHistoryUpdates(rearrangeOverlay: false);
}
assert(entry.currentState == _RouteLifecycle.idle || entry.route._popCompleter.isCompleted);
assert(() {
_debugLocked = false;
return true;
}());
_afterNavigation(entry.route);
}

@abhinay12a
Copy link

I am also facing the same issue... provide any solution asap @jhomlala

@Pinturaj
Copy link
Author

Pinturaj commented Jan 20, 2024

@jhomlala Team please look into this.

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

No branches or pull requests

2 participants