FIOSAudioSoundBuffer::CreateNativeBuffer causes crash on iOS

Hey guys,

when starting up one of my levels on iOS the game crashes before the level has the chance to load. The crashes happen at random intervals but the log of the iPad always ends with the following callstack:

[2016.12.01-13.35.16:285][925]LogEngine:Error: FGenericPlatformStackWalk::StackWalkAndDump(char*, unsigned long, int, void*) Address = 0x4f7901 (filename not found) [in RensonExperienceBox] _sigtramp() Address = 0x1ef5026d (filename not found) [in libsystem_platform.dylib] FIOSAudioSoundBuffer::CreateNativeBuffer(FIOSAudioDevice*, USoundWave*) Address = 0x35862a1 (filename not found) [in RensonExperienceBox] FIOSAudioSoundSource::Init(FWaveInstance*) Address = 0x3587afd (filename not found) [in RensonExperienceBox] FAudioDevice::Update(bool) Address = 0xcd4865 (filename not found) [in RensonExperienceBox] UGameEngine::Tick(float, bool) Address = 0xf8e0b3 (filename not found) [in RensonExperienceBox] -[IOSAppDelegate MainAppThread:] Address = 0x5fb7e7 (filename not found) [in RensonExperienceBox] <redacted>() Address = 0x1ef54a17 (filename not found) [in libsystem_pthread.dylib] thread_start() Address = 0x1ef52498 (filename not found) [in libsystem_pthread.dylib]

PasteBin link with some better formatting

Anyone got any idea what might be causing this issue?

Hello tthiecke,

It seems like there may be more information than this that could act as context to this crash. Could you post the entire log file? Also, please post the logs from the project session where the packaging was done, as it may have warnings there that can point to what happened here.

Hi Matthew,

Thank you for your quick reply.

I took another look at both maps looking for anything related to audio considering the log mentioned something going wrong with that system. In both scenes there were two AmbientSound actors which, upon removing them, resulted in my crashes disappearing. Maybe the sound cue’s that they use have some problems with them?

I included both logs below.

CrashLog CookLog

Hello tthiecke,

I apologize for the delay; Are you still experiencing this issue? If so, could you try putting these two AmbientSound actors on their own blank map and see if the crash occurs with just those assets?

Hi Matthew,

no worries about the delay. We are no longer experiencing the issue, but this likely happened due to me temporarily removing the audio system from our project. We had a lot of performance issues that have finally been fixed which might have affected other systems.

Next on my todo list is your suggestion. I’ll keep you posted.