Skip to content

[Production][iOS] EXC_BAD_ACCESS UIInputWindowController - Attempted to dereference garbage pointer, -[FlutterViewController updateViewportMetrics] > -[FlutterEngine platformView] #98735

@MichaelTamm

Description

@MichaelTamm

I found a burst of 8 of thoses errors in our Sentry monitoring this morning, all from the same device within 2 minutes.

OS Version: iOS 15.0 (21A559)
Report Version: 104

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: BUS_NOOP at 0x00000000000005e8
Crashed Thread: 0

Application Specific Information:
_setCurrentTraitCollection: > _updateSafeAreaInsets > ,&,N,V_presentInvocation > platformView >
Attempted to dereference garbage pointer 0x5e8.

Thread 0 Crashed:
0   Flutter                         0x10719b3b0         <redacted>
1   Flutter                         0x1071b7b30         <redacted>
2   Flutter                         0x1071b7dec         <redacted>
3   UIKitCore                       0x3533abd5c         -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
4   QuartzCore                      0x3128f00d0         CA::Layer::layout_if_needed
5   QuartzCore                      0x312a32a9c         CA::Context::commit_transaction
6   QuartzCore                      0x3128d2d74         CA::Transaction::commit
7   AppKit                          0x30abb8f8c         __37+[NSDisplayCycle currentDisplayCycle]_block_invoke.25
8   AppKit                          0x30abb9494         ___NSMainRunLoopPerformBlockInModes_block_invoke
...

Device Info

  • Model: iPad Pro (12.9-inch) (3rd generation) (MacBookPro17,1)
  • Memory Size: 8 GiB
  • Free Memory: between 200 to 700 MB
  • Usable Memory: always above 6 GiB (I have no idea, what Sentry is telling me here)
  • Storage Size: 228.3 GiB
  • OS Version: 15.0(21A559)
  • OS Kernel Version: Darwin Kernel Version 21.1.0: Wed Oct 13 17:33:24 PDT 2021; root:xnu-8019.41.5~1/RELEASE_ARM64_T8101

Build Info

$ flutter --version
flutter --version  
Flutter 2.10.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision db747aa133 (8 days ago) • 2022-02-09 13:57:35 -0600
Engine • revision ab46186b24
Tools • Dart 2.16.1 • DevTools 2.9.2

$ xcodebuild -version
Xcode 13.2
Build version 13C90

I noticed that the error always happend, after the app state changed to backgorund.

I have attached some crash logs.

14adc0cafa38426e9ff643eb187e2459-symbolicated.crash.log
d2d164107fcd4b0ca91571269c37d665-symbolicated.crash.log
6dd3e8bcca1b4c3ba36e9d4125b2bae7-symbolicated.crash.log
5d2c69b278fc47a59c59c4e9fdb9107b-symbolicated.crash.log
89e03535590947308dbe3ef4d7fd136b-symbolicated.crash.log

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work lista: productionIssues experienced in live production appsc: crashStack traces logged to the consoleengineflutter/engine related. See also e: labels.platform-iosiOS applications specificallyr: fixedIssue is closed as already fixed in a newer versionteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions