I'm playing Warptorio2, with some QOL mods, and end of level and loading the game are very slow. In the log file I see this many times:
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl*)(MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,NamedBool<EnableReplayTag>),MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,enum NamedBool<EnableReplayTag>::Enum>,std::default_delete<std::tuple<void (__cdecl*)(MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,NamedBool<EnableReplayTag>),MapInterface,ParallelScenarioLoader *,MapDeserialiser *,enum InputType,InputHandler *,MultiplayerManagerBase *,enum NamedBool<EnableReplayTag>::Enum> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8D697034)
00007FFA8D697034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFA8DE82651)
00007FFA8DE82651 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
56.889 Error RuntimeError.cpp:24: LuaEntity doesn't contain key index.
Factorio crashed. Generating symbolized stacktrace, please wait ...
It does eventually load, but this goes on for ten or so minutes on a mod designed to change levels every 10-15 minutes.
Log file saved here:
https://www.dropbox.com/s/b5lpw50pgcpnx ... l.log?dl=0
Help Please !
<edit> I just saw the release notes, and background (experimental) saves are on. I'll turn that off and retest.<edit>
[1.1.57] Slow loading due to "Factorio crashed"
[1.1.57] Slow loading due to "Factorio crashed"
Last edited by JustGoFly on Tue Apr 05, 2022 5:42 am, edited 1 time in total.
Re: [1.1.57] Slow loading due to "Factorio crashed"
Did you enable "log-stack-trace-on-non-critical-exception" in the config file?
If you want to get ahold of me I'm almost always on Discord.
Re: [1.1.57] Slow loading due to "Factorio crashed"
Yes - it was on for the saved config.
log-stack-trace-on-non-critical-exception=true
so this is likely why it's so slow - it's saving a stack trace with every non critical exception - I'll disable and test more.
Re: [1.1.57] Slow loading due to "Factorio crashed"
"saved config"? The option is disabled by default and some player has to enable it for it to ever be on.
If you want to get ahold of me I'm almost always on Discord.
Re: [1.1.57] Slow loading due to "Factorio crashed"
Thanks, I turned this off (false setting), and the delays all disappeared. Previously changing maps took ten minutes, are now less than a second.
Also this impacted playing Factorio, just putting down a steel box would cause a few second delay, and when research completed, causing a change to the Warp platform was 20 seconds. The delay kicked any other players and caused huge lag for them, and some for me hosting.
Can you tell me where the stack traces are saved? There must be thousands of them, unless one is constantly overwritten. I'd like to remove them.
Also this impacted playing Factorio, just putting down a steel box would cause a few second delay, and when research completed, causing a change to the Warp platform was 20 seconds. The delay kicked any other players and caused huge lag for them, and some for me hosting.
Can you tell me where the stack traces are saved? There must be thousands of them, unless one is constantly overwritten. I'd like to remove them.
Re: [1.1.57] Slow loading due to "Factorio crashed"
In the log file. The log file is cycled out every other time the game starts so if you've restarted the game more than once it's gone.JustGoFly wrote: ↑Wed Apr 06, 2022 4:17 pmThanks, I turned this off (false setting), and the delays all disappeared. Previously changing maps took ten minutes, are now less than a second.
Also this impacted playing Factorio, just putting down a steel box would cause a few second delay, and when research completed, causing a change to the Warp platform was 20 seconds. The delay kicked any other players and caused huge lag for them, and some for me hosting.
Can you tell me where the stack traces are saved? There must be thousands of them, unless one is constantly overwritten. I'd like to remove them.
If you want to get ahold of me I'm almost always on Discord.