we use Wwise in our game and receive crashes in Wwise plugin where it uses TLockFreePointerListFIFO. Its usage in Wwise looks completely legit, it’s only Pushes and Pops so I suspect the issue may be in engine code. The crashes happen on iOS only, on various devices and OS versions. We don’t have reproduction steps and only see it in crash reports. Any idea why it could happen and how can it be fixed?
unfortunately this is not something we’ve seen at all internally.
Neither in our project nor in callstacks collected from Fortnite/UEFN/UE.
So it looks like this is most likely an issue in the code using that structure rather than a bug in the pointer itself.
It’s possible that memory corruption can cause such issues in unrelated code at a later point in time.
There could also be certain constraints or requirements for the atomics that differ on IOS, but that would likely be a platform specific bug.
Memory corruption seems the likeliest, so you could maybe try running your game on Windows with -stompmalloc to see if you can trigger anything obvious, but it’s quite possible there will be a lot false positives.