`_PyThread_CurrentFrames` does not properly handles `malloc` failure in `_PyFrame_GetFrameObject` as it is lazily allocated when requested.