Waited for a few months before asking this, and now is the time, because I found nothing
I have a relatively complex game on love 11.2 (or 11.3 no difference for that aspect).
I am running it through SublimeText Ctrl+B that executes love.exe with folder parameter.
It runs correctly in approximately 49 from 50 runs (with no change in code (or sublime settings or whatever) between runs).
And in 1 run from 50 I have this:
- game 'loads' correctly as I see with my custom console output, no warnings no errors
- then I see a pure white window for a few seconds
- then game crashes, sometimes with no output, sometimes with following output:
Code: Select all
Loaded 'current' in 0.18 seconds Detected refreshrate 60 Hz Loaded in 1.36 seconds [Finished in 5.0s with exit code 3221225477] [cmd ['D_repoMegaFactorycode_buildlove-win64love.exe', 'D_repoMegaFactorycode']] [dir D_repoMegaFactorycodejournal] [path CProgram Files (x86)Common FilesOracleJavajavapath;CProgram Files (x86)Common FilesIntelShared FilescppbinIntel64;CProgram Files (x86)Razer Chroma SDKbin;CProgram FilesRazer Chroma SDKbin;CWINDOWSsystem32;CWINDOWS;CWINDOWSSystem32Wbem;CWINDOWSSystem32WindowsPowerShellv1.0;CProgram FilesGitcmd;CProgram FilesMicrosoft Windows Performance Toolkit;CProgram FilesMicrosoft SQL Server120ToolsBinn;CProgram FilesMicrosoft SQL Server130ToolsBinn;CProgram Files (x86)Lua5.1;CProgram Files (x86)Lua5.1clibs;CProgram Files (x86)NVIDIA CorporationPhysXCommon;CProgram FilesLua;CProgram Files (x86)Lua5.1;CUsersUserAppDataLocalMicrosoftWindowsApps;CProgram Files (x86)GtkSharp2.12bin;CWINDOWSsystem32;CWINDOWS;CWINDOWSSystem32Wbem;CWINDOWSSystem32WindowsPowerShellv1.0;CWINDOWSSystem32OpenSSH;CProgram FilesMicrosoft VS Codebin;CProgram FilesNVIDIA CorporationNVIDIA NvDLISR;CProgram FilesLua;CProgram Files (x86)Lua5.1;CUsersUserAppDataLocalMicrosoftWindowsApps;CProgram FilesMicrosoft VS Codebin;CUsersUserAppDataLocalGitHubDesktopbin;%USERPROFILE%AppDataLocalMicrosoftWindowsApps;]
Code: Select all
3221225477 converted to hex is 0xC0000005, which stands for STATUS_ACCESS_VIOLATION, which means you tried to access (read, write or execute) invalid memory.
And when I concatenate love.exe with zipped folder to obtain mygame.exe and then run it, I have not noticed that behaviour, but maybe I just did not do this enough times.
I have no clue how to find the source of that error?