I’m getting a persistent crash on returning to my menu map on iOS, but only in shipping builds. The map was previously used that session. It looks like a bug but I don’t fully understand the issue.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000268
VM Region Info: 0x268 is not in any region. Bytes before following region: 4295736728
This was very, very hard to debug. I ended up using the command-line to re-symbolicate the crashed thread stack from the crash log. This was the result:
> UGameInstance::CreateGameModeForURL(FURL, UWorld*) (in PoppyAndBuddy419-IOS-Shipping.dSYM) + 384
> UGameInstance::CreateGameModeForURL(FURL, UWorld*) (in PoppyAndBuddy419-IOS-Shipping.dSYM) + 272
> UWorld::SetGameMode(FURL const&) (in PoppyAndBuddy419-IOS-Shipping.dSYM) + 136
> UEngine::LoadMap(FWorldContext&, FURL, UPendingNetGame*, FString&) (in PoppyAndBuddy419-IOS-Shipping.dSYM) + 3540
> UEngine::Browse(FWorldContext&, FURL, FString&) (in PoppyAndBuddy419-IOS-Shipping.dSYM) + 2964
> UEngine::TickWorldTravel(FWorldContext&, float) (in PoppyAndBuddy419-IOS-Shipping.dSYM) + 604
> UGameEngine::Tick(float, bool) (in PoppyAndBuddy419-IOS-Shipping.dSYM) + 572
> FEngineLoop::Tick() (in PoppyAndBuddy419-IOS-Shipping.dSYM) + 4736
I’m not able to see what exact line the bad reference is occurring on (I assume it’s a bad reference). Can anyone shed any light on this?