Page 1 of 1

[0.17.75] Engine crash messing about with prototypes

Posted: Tue Nov 05, 2019 10:15 pm
by PyroFire
I'm currently messing about with the prototypes and have managed to create this error every time i hit the restart button (repetitive error messages & testing stuff), so this is probably related to something not just failing to load correctly and horribly breaking when the data stage throws a validation error, but also failing to clean up after itself on the next load.

https://mods.factorio.com/mod/nanotorio

Please note the version posted doesn't crash on load, and is more posted so you can see what the mod is doing.

Code: Select all

   1.190 Mods to disable:Failed to load mods: Error while loading entity prototype "boiler" (boiler): Invalid pipe connections specification for offset {0.0000000000, -1.5000000000}. The offset must be outside of the entity bounding-box
Modifications: Base mod › Nanotorio

Mods to be disabled:
• nanotorio
  68.001 Info AppManager.cpp:1214: Restarting Factorio
  68.006 Quitting: restart.
  68.036 Steam API shutdown.
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-n1monn\src\globalcontext.cpp (856): GlobalContext::clearResources
c:\cygwin64\tmp\factorio-build-n1monn\src\globalcontext.cpp (862): GlobalContext::~GlobalContext
c:\cygwin64\tmp\factorio-build-n1monn\src\mainloop.cpp (477): MainLoop::run
c:\cygwin64\tmp\factorio-build-n1monn\src\main.cpp (1366): wmain
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (288): __scrt_common_main_seh
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000770259CD)
00000000770259CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007725A561)
000000007725A561 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  71.108 Error Sprite.cpp:48: Attempting to sweep SubSpritePool while sub sprites are still being used (4).
Logger::writeStacktrace skipped.
  71.108 Error Util.cpp:97: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
  73.520 Error CrashHandler.cpp:245: Heap validation: success.
  73.521 Creating crash dump.
  73.971 CrashDump success

Re: [0.17.75] Engine crash messing about with prototypes

Posted: Tue Nov 05, 2019 10:53 pm
by Rseding91
Can you post the broken version of the mod?

Re: [0.17.75] Engine crash messing about with prototypes

Posted: Wed Nov 06, 2019 4:57 am
by PyroFire
I have "updated" nanotorio to throw the engine error. (v0.0.2)

Seems easy/reliable to replicate.
No other mods installed.

Only changes between this version and the previous version is to lines 102 and 103 which is related to calculating fluidbox resizing ratios.

Re: [0.17.75] Engine crash messing about with prototypes

Posted: Wed Nov 06, 2019 2:11 pm
by Rseding91
Thanks for the mod and steps to reproduce. It's now fixed for the next version of 0.17.