betterplayer icon indicating copy to clipboard operation
betterplayer copied to clipboard

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

Open Pinturaj opened this issue 1 year ago • 2 comments

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<T>(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); }

Pinturaj avatar Jan 19 '24 13:01 Pinturaj

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

abhinay12a avatar Jan 19 '24 13:01 abhinay12a

@jhomlala Team please look into this.

Pinturaj avatar Jan 20 '24 09:01 Pinturaj