00007FFAF162E70E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-ocil06\src\entity\inserter.cpp (974): Inserter::dropHeldItem
c:\cygwin64\tmp\factorio-build-ocil06\src\entity\inserter.cpp (1100): Inserter::update
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\chunk.cpp (555): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\chunk.cpp (604): Chunk::updateEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\surface.cpp (1362): Surface::update
c:\cygwin64\tmp\factorio-build-ocil06\src\map\map.cpp (1435): Map::updateEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\game.cpp (189): Game::update
Save file is attached.
Context: I'm replacing my existing copper drop-off at the top-right of the main base. There's a train there that has no path but has some copper ore left in it because the conditions to leave the station have been met. On setting the train to manual to force the existing copper ore to unload, then marking the train and the unloader assembly for deconstruction, I get a crash to desktop. Replicated this twice.
At a guess I'd say that the inserter is getting removed then the dropHeldItem event fired the next tick, causing a null reference exception.
[0.17.4] - Crash when deconstructing stack inserter
[0.17.4] - Crash when deconstructing stack inserter
- Attachments
-
- screenshot.png (3.12 MiB) Viewed 2024 times
-
- factorio-previous.log
- (8.69 KiB) Downloaded 114 times
-
- factorio-dump-previous.dmp
- (617.06 KiB) Downloaded 119 times
-
- _autosave3.zip
- (8.95 MiB) Downloaded 129 times
Re: [0.17.4] - Crash when deconstructing stack inserter
confirm. Can recreate crash from this autosave.
Same stack trace:
Also i have managed to prepare save with described actions, save it (rockyb_autosave3_prep) and it reproduces crash all the times.
Steps to reproduce:
1/ Load rockyb_autosave3_prep.zip
2/ Wait 10 seconds
3/ Crash (100% crash rate, tested 3 times)
-- edit1:
rockyb_autosave3_prep.zip still crashes in [0.17.5]
Same stack trace:
Code: Select all
00007FFB7358E70E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-ocil06\src\entity\inserter.cpp (974): Inserter::dropHeldItem
c:\cygwin64\tmp\factorio-build-ocil06\src\entity\inserter.cpp (1100): Inserter::update
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\chunk.cpp (555): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\chunk.cpp (604): Chunk::updateEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\surface\surface.cpp (1362): Surface::update
c:\cygwin64\tmp\factorio-build-ocil06\src\map\map.cpp (1435): Map::updateEntities
c:\cygwin64\tmp\factorio-build-ocil06\src\game.cpp (189): Game::update
c:\cygwin64\tmp\factorio-build-ocil06\src\scenario\scenario.cpp (1077): Scenario::update
c:\cygwin64\tmp\factorio-build-ocil06\src\mainloop.cpp (1064): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-ocil06\src\mainloop.cpp (931): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-ocil06\src\util\workerthread.cpp (42): WorkerThread::loop
Steps to reproduce:
1/ Load rockyb_autosave3_prep.zip
2/ Wait 10 seconds
3/ Crash (100% crash rate, tested 3 times)
-- edit1:
rockyb_autosave3_prep.zip still crashes in [0.17.5]
- Attachments
-
- 0_17_5_factorio-dump-current.dmp
- (762.04 KiB) Downloaded 119 times
-
- 0_17_5_factorio-current.log
- (22.44 KiB) Downloaded 129 times
-
- rockyb_autosave3_prep.zip
- (9.14 MiB) Downloaded 125 times
-
- factorio-dump-current.dmp
- (813.38 KiB) Downloaded 121 times
-
- factorio-current.log
- (94.98 KiB) Downloaded 123 times
Re: [0.17.4] - Crash when deconstructing stack inserter
Thanks for the report and the save file(s). It's now fixed for the next version of 0.17.
If you want to get ahold of me I'm almost always on Discord.