Server Crash on invoking Sleep() during a large <suspends> specified function

Reference ID

860126cd-44c6-6e2e-c1ea-c9950b679e14

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Stability

Summary

Server crashes during evaluation of async function and appears to fail on the invocation of a Sleep(0.0) call intended to time slice the operation.

Steps to Reproduce

Play the attached island ID. It will crash during the OnBegin of a device.

Expected Result

The server does not crash (30 second time out).

Observed Result

The server silently crashes (30 second time out.)

Platform(s)

windows

Island Code

7807-6226-1626

Does it happens in large lobbies ?( in public island code?)

I revisited this bug and after further debugging identified it as an issue with a recursive function exceeding some hidden limit. I rewrote said recursive function to be O(N) by splitting an array walk instead of iterating each element which resolved this issue. Would like to see fixes for crash feedback including a callstack and other relevant state dump as these issues are extremely hard to identify without.