I launched Minecraft Forge 1.19.4 45.0.22 in fullscreen and OBS Studio and opened a minecraft world. Then in OBS Studio I selected Game Capture as source and selected Capture specific window as mode and clicked on javaw.exe which was running Minecraft. Then the game crashed without creating a crash report with error code -1. All I've got is this file in .minecraft folder. This crash didn't occur in vanilla minecraft.