Hello Team,
We are facing a critical crash issue in the iOS version of DTLive app which needs immediate attention.
Problem Summary
The app crashes on iOS 26.1 (23B85) devices shortly after launch or during UI layout updates.
Crash Details
- Crash Type: EXC_BAD_ACCESS (SIGSEGV)
- Reason: Thread stack size exceeded due to excessive recursion
- Faulting Thread: Main thread
- Crash Location:
- UIKit enters an infinite recursion while recalculating SafeAreaInsets:
-[UIView _recursiveEagerlyUpdateSafeAreaInsetsUntilViewController]
- This leads to a stack overflow and segmentation fault.
Root Cause (Based on Crash Log Analysis)
The crash is caused by infinite layout recursion, likely due to:
- Improper or nested usage of SafeArea, MediaQuery, or layout rebuilds in Flutter
- Status bar / orientation handling conflicts on iOS
- iOS 26 changes in UIKit SafeArea recalculation behavior
- Possible interaction with fullscreen video / ads / overlays (Google IMA, OneSignal, etc.)
This is not a random crash and is reproducible on iOS 26 devices.
Impact
- App becomes unusable on latest iOS versions
- High crash rate risk on TestFlight / App Store
- Potential App Store rejection or poor user ratings
Required Fixes
Please review and implement the following:
- Ensure only one SafeArea per screen (no nested SafeArea widgets)
- Prevent infinite MediaQuery or layout rebuild loops
- Stabilize status bar and orientation handling
- Apply iOS 26 SafeArea compatibility fixes
- Update Flutter SDK and iOS pods to latest stable versions
- Verify fullscreen video / ads do not repeatedly toggle system UI or layout
Expectation
This issue should be treated as high priority, as it directly affects production stability on the latest iOS version.
Please share:
- Root cause confirmation
- Code-level fix
- Estimated timeline for resolution
Crash logs can be shared again if needed.
we are checking in ios 26.01
give me some time , will update soon
Regards,
Mr. Chirag