#Crash through Mod - Need help finding it

1 messages · Page 1 of 1 (latest)

dry holly
#

*The crash is due to one of the mods you're using. Specifically: one of the mods is listening for the "script_created_entity" event and in that event is creating another entity which also raises "script_created_entity" it keeps going and going creating more entities which raise more events and eventually stack overflows and crashes.

This is something the mod(s) have to fix on their end since there is no solution to it except "don't do that".*

Any Ideas which one? Or ways to find the mod? Which part of the f4 menu that may be helpful?

inland fern
#

You have far too many mods for most technical people to be able to make a reliable guess.

Have you checked your log files? Maybe it reports a trace at the time of the crash that could indicate the mod.

Try binary searching for the mod. Disable half the mods and see which half is the cause, then repeat disabling half of that half, e.t.c. until you limit it down to a few or even a single mod.

dry holly
#

ERROR: Factorio crashed due to Stack overflow.
Generating symbolized stacktrace, please wait ...
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0EEE25F4)
00007FFC0EEE25F4 (ntdll): (filename not available): NtDelayExecution
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0EE5AEB4)
00007FFC0EE5AEB4 (ntdll): (filename not available): RtlDelayExecution
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0C0CA481)
00007FFC0C0CA481 (KERNELBASE): (filename not available): SleepEx
D:\a_work\1\s\src\vctools\crt\github\stl\src\cthread.cpp(77): _Thrd_sleep
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\thread(206): std::this_thread::sleep_for<__int64,std::ratio<1,1000> >
C:\Users\build\AppData\Local\Temp\factorio-build-HWVEqU\src\Util\CrashHandler.cpp(484): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0C16A393)
00007FFC0C16A393 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0EEEAB7B)
00007FFC0EEEAB7B (ntdll): (filename not available): strncpy
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0EEA71A3)
00007FFC0EEA71A3 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0EEE66AF)
00007FFC0EEE66AF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0EE09CD7)
00007FFC0EE09CD7 (ntdll): (filename not available): RtlWow64GetCurrentCpuArea
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFC0EEE5FEE)
00007FFC0EEE5FEE (ntdll): (filename not available): KiUserExceptionDispatcher

inland fern
#

Cannot gleam anything useful from that. Will likely need to binary bisect.

pastel root
#

The best first step would be to find a way to reproduce the crash. From there you can start looking at which mods might be involved and remove all the rest, then see if it still happens. If it doesn't, re-enable half and repeat. If it does, disable more mods.

The one thing complicating this is that it may be multiple mods interacting with each other causing this.

dry holly
#

Yes, seems like this is the only way

dry holly
#

Found it! it was the mod: Entrenched Enemies.

After further looking, it seems nauvis was having an expansion party trying to build a nest what caused that loop

#

or the mod itself, when trying to readd it, save crashed instant

inland fern
#

Can be the mod is not fully 2.0 compatible, or this was a hidden bug the developer did not fix yet. Or even that the mod really does not like another mod you are using.