Bad Access in application:didFinishLaunchingWithOptions:
Unsolved
Mobile and Embedded
-
I'm having trouble tracking down a bug. Every so often a customer on an iOS 15+ device experiences a crash which is reported through Sentry error tracking. I am using Qt 5 with a custom AppDelegate. The exception is:
EXC_BAD_ACCESS: __cxa_guard_release > _setInvalidatesViewsOnAppearanceChange: > application:didFinishLaunchingWithOptions: > KERN_INVALID_ADDRESS at 0x10.
When looking at the stacktrace, it never intersects with user-space code. How can I identify the line that caused it? What is __cxa_guard_release? Is it a known bug with Qt 5?
Here is the stacktrace reported by Sentry: