[2.0.60] Crash on certain tick

Bugs that we were not able to reproduce, and/or are waiting for more detailed info.
Natha
Filter Inserter
Filter Inserter
Posts: 270
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

[2.0.60] Crash on certain tick

Post by Natha »

I updated a mod to 2.0, and the game crashes on my save when it reaches a certain tick:

Code: Select all

44.708 Error CrashHandler.cpp:503: Exception Code: c0000005, Address: 0x00007ff752dde491
ModuleBase: 0x00007ff752a30000, ImageSize: 029be000, RelativeAddress: 003ae491
  44.708 Error CrashHandler.cpp:509: Access Violation: Read at address 0000000000000000
  44.708 Error CrashHandler.cpp:523: Exception Context:
rax=0000000000000000, rbx=00000288d053abc8, rcx=000002885c92ca00,
rdx=000002885895ed10, rsi=000002885895ed10, rdi=00000288ef686a28,
rip=00007ff752dde491, rsp=0000008f4651e2e0, rbp=000002885c92ca00,
 r8=0000000000000000,  r9=0000000000000006, r10=00000288a915c7f0,
r11=00000288d059b000, r12=0000008f4651e430, r13=0000000000000002,
r14=0000000000000064, r15=00000288d0557b40
  44.708 Crashed in E:\Spiele\Factorio SE\bin\x64\factorio.exe (0x00007ff752a30000 - 0x00007ff7553ee000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF75430C8DF)
00007FF75430C8DF (factorio): (filename not available): luaL_openlibs
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF753981857)
00007FF753981857 (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF753981C44)
00007FF753981C44 (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF75396DBDB)
00007FF75396DBDB (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF75396F367)
00007FF75396F367 (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB48D9C2D7)
00007FFB48D9C2D7 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4B075818)
00007FFB4B075818 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4B05CE46)
00007FFB4B05CE46 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4B0728BF)
00007FFB4B0728BF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4B022554)
00007FFB4B022554 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4B0713CE)
00007FFB4B0713CE (ntdll): (filename not available): KiUserExceptionDispatcher
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752DDE491)
00007FF752DDE491 (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752E3A262)
00007FF752E3A262 (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752E3A1FE)
00007FF752E3A1FE (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752E5E3BE)
00007FF752E5E3BE (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752E5E826)
00007FF752E5E826 (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752E6050B)
00007FF752E6050B (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF753A665AE)
00007FF753A665AE (factorio): (filename not available): lua_pushnil
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF7538CB65A)
00007FF7538CB65A (factorio): (filename not available): lua_gethook
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF75357C3B5)
00007FF75357C3B5 (factorio): (filename not available): lua_gethook
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF752AFF2DC)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752AFF2DC)
00007FF752AFF2DC (factorio): (filename not available): (function-name not available)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF75368FDF3)
00007FF75368FDF3 (factorio): (filename not available): lua_gethook
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF752B7CF0C)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752B7CF0C)
00007FF752B7CF0C (factorio): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF752B7BE98)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF752B7BE98)
00007FF752B7BE98 (factorio): (filename not available): (function-name not available)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF753F9B7A1)
00007FF753F9B7A1 (factorio): (filename not available): lua_pushinteger
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF7539E0190)
00007FF7539E0190 (factorio): (filename not available): lua_pushnil
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF753FFD29F)
00007FF753FFD29F (factorio): (filename not available): lua_pushinteger
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF7543F5680)
00007FF7543F5680 (factorio): (filename not available): luaL_openlibs
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4A157374)
00007FFB4A157374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFB4B01CC91)
00007FFB4B01CC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  45.017 Include minidump in crash report.
  45.017 Error CrashHandler.cpp:190: Map tick at moment of crash: 63414666
  45.098 Info CrashHandler.cpp:318: Executable CRC: 1438059565
  45.098 Error Util.cpp:95: 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.
  48.224 Uploading log file
  48.276 Error CrashHandler.cpp:270: Heap validation: success.
  48.276 Creating crash dump.
  48.468 CrashDump success
Save and mod attached. I saved the map using --until-tick just one tick before the crash happens.
Attachments
_autosave1.zip
(50.12 MiB) Downloaded 5 times
bztungsten_0.7.13.zip
(21.59 MiB) Downloaded 5 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 15881
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.60] Crash on certain tick

Post by Rseding91 »

When I try to load the game with that mod I get this error:
07-22-2025, 16-18-15.png
07-22-2025, 16-18-15.png (34.84 KiB) Viewed 149 times
Additionally, several of the mods in the save are not available on the mod portal meaning even if it didn't error on that mod, I wouldn't be able to load the save to test it without skipping the missing mods.

Please provide a self contained set of mods and save file I can load to reproduce the issue otherwise there's nothing I can do.
If you want to get ahold of me I'm almost always on Discord.
Natha
Filter Inserter
Filter Inserter
Posts: 270
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

Re: [2.0.60] Crash on certain tick

Post by Natha »

Interesting, I don't get that error. There is still a noise.lua in my installations data/core.

Don't care the missing mods. The error also occurs when only bztungsten is active. Just load the save without syncing. Luckily the error does not occur because of mods interferring each other.

Without bztungsten, but all other mods from the save, there is no crash.
Attachments
bztungsten_0.7.13.zip
(21.6 MiB) Downloaded 9 times
Natha
Filter Inserter
Filter Inserter
Posts: 270
Joined: Sun Mar 15, 2015 1:48 pm
Contact:

Re: [2.0.60] Crash on certain tick

Post by Natha »

There are more hints now and the savefile does only contain one mod

Code: Select all

47.841 Error CrashHandler.cpp:503: Exception Code: c0000005, Address: 0x00007ff60b88e491
ModuleBase: 0x00007ff60b4e0000, ImageSize: 029be000, RelativeAddress: 003ae491
  47.841 Error CrashHandler.cpp:509: Access Violation: Read at address 0000000000000000
  47.841 Error CrashHandler.cpp:523: Exception Context:
rax=0000000000000000, rbx=0000020bcb0d82f8, rcx=0000020ba1f8d1a0,
rdx=0000020b0fde83d0, rsi=0000020b0fde83d0, rdi=0000020bd2cdcdb8,
rip=00007ff60b88e491, rsp=000000b48b5de440, rbp=0000020ba1f8d1a0,
 r8=0000000000000000,  r9=0000000000000006, r10=0000020b248b73e0,
r11=0000020bcb101b80, r12=000000b48b5de590, r13=0000000000000002,
r14=0000000000000064, r15=0000020bcb12d830
  47.841 Crashed in E:\Spiele\Factorio SE\bin\x64\factorio.exe (0x00007ff60b4e0000 - 0x00007ff60de9e000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\libraries\StackWalker\StackWalker.cpp(924): StackWalker::ShowCallstack
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Util\Logger.cpp(337): Logger::writeStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Util\Logger.cpp(379): Logger::logStacktrace
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Util\CrashHandler.cpp(183): CrashHandler::writeStackTrace
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Util\CrashHandler.cpp(552): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8B985C2D7)
00007FF8B985C2D7 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8BC015818)
00007FF8BC015818 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8BBFFCE46)
00007FF8BBFFCE46 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8BC0128BF)
00007FF8BC0128BF (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8BBFC2554)
00007FF8BBFC2554 (ntdll): (filename not available): RtlRaiseException
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8BC0113CE)
00007FF8BC0113CE (ntdll): (filename not available): KiUserExceptionDispatcher
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Entity\CraftingMachine.cpp(2181): CraftingMachine::getIngredientStackLimit
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Entity\Furnace.cpp(291): Furnace::hasItemInputOverload
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Entity\Furnace.cpp(277): Furnace::canInsert
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Entity\Inserter.cpp(952): Inserter::selectBeltItem
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Entity\Inserter.cpp(1013): Inserter::getPickupTarget
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Entity\Inserter.cpp(1689): Inserter::update
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Surface\ActiveEntitiesOrder.hpp(146): EntityOrderHelpers::EntityOrderList<LogisticRobot,ConstructionRobot,Inserter,Roboport,Loader,AssemblingMachine,AgriculturalTower,OldAgriculturalTower,Furnace,MiningDrill,FluidWagon,ArtilleryWagon,InfinityCargoWagon,CargoWagon,Locomotive,Character,Boiler,Generator,BurnerGenerator,Reactor,Lab,LandMine,ArtilleryFlare,ArtilleryProjectile,ArtilleryTurret,Beam,Car,SpiderVehicle,TemporaryContainer,CharacterCorpse,CombatRobot,CaptureRobot,Corpse,ElectricEnergyInterface,EnemySpawner,Explosion,FlameThrowerExplosion,FluidStream,FluidTurret,FlyingTextEntity,FusionGenerator,FusionReactor,Gate,HeatInterface,HighlightBoxEntity,InfinityContainer,InfinityPipe,ItemRequestProxy,OffshorePump,ParticleSource,PowerSwitch,Projectile,Pump,Valve,Radar,ProgrammableSpeaker,RocketSilo,RocketSiloRocket,CargoPod,SmokeWithTrigger,SpeechBubble,Sticker,Turret,AsteroidCollector,Asteroid,Thruster,SpiderUnit,Unit>::update
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Surface\Surface.cpp(2487): Surface::update
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Map\Map.cpp(1305): Map::updateEntities
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Game.cpp(182): Game::update
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Scenario\Scenario.cpp(1133): Scenario::updateStep
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\MainLoop.cpp(1478): MainLoop::gameUpdateStep
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\MainLoop.cpp(1273): MainLoop::gameUpdateLoop
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\functional(823): std::_Func_impl_no_alloc<`MainLoop::mainLoopStep'::`2'::<lambda_1>,void>::_Do_call
C:\Users\build\AppData\Local\Temp\factorio-build-Yo4G8o\src\Util\WorkerThread.cpp(71): WorkerThread::loop
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include\thread(56): std::thread::_Invoke<std::tuple<void (__cdecl*)(ParallelDesyncReportCreator *),ParallelDesyncReportCreator *>,0,1>
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp(97): thread_start<unsigned int (__cdecl*)(void *),1>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8BA617374)
00007FF8BA617374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8BBFBCC91)
00007FF8BBFBCC91 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  50.753 Error CrashHandler.cpp:190: Map tick at moment of crash: 63414666
  50.836 Info CrashHandler.cpp:318: Executable CRC: 1438059565
  50.836 Error Util.cpp:95: 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.
  51.696 Uploading log file
  51.745 Error CrashHandler.cpp:270: Heap validation: success.
  51.746 Creating crash dump.
  51.933 CrashDump success
Attachments
segdx.zip
(25.6 MiB) Downloaded 7 times
Post Reply

Return to “Pending”