[16.8] Crash on: "FlatMap<ID<ItemPrototype..."

This subforum contains all the issues which we already resolved.
Post Reply
Blacky007
Fast Inserter
Fast Inserter
Posts: 177
Joined: Fri Dec 29, 2017 8:05 pm
Contact:

[16.8] Crash on: "FlatMap<ID<ItemPrototype..."

Post by Blacky007 »

when one train enters the station the games crashes
Attachments
factorio-current.log
(798.26 KiB) Downloaded 76 times
My color birthday was May 2nd 2020 - Thank you Enchroma

Loewchen
Global Moderator
Global Moderator
Posts: 8319
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Crash in 0.16.8 Train enter station

Post by Loewchen »

End of log:

Code: Select all

143.597 Loading script.dat: 175 bytes.
 143.601 Checksum for script C:/Users/Joker/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2309010108
 161.309 Info AppManager.cpp:259: Saving to _autosave2 (blocking).
 164.081 Info AppManagerStates.cpp:1527: Saving finished
 380.565 Info AppManager.cpp:259: Saving to _autosave3 (blocking).
 383.428 Info AppManagerStates.cpp:1527: Saving finished
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-vcofuz\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-vcofuz\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-vcofuz\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-vcofuz\src\util\logging.cpp (78): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-vcofuz\src\util\logging.cpp (73): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-vcofuz\src\util\container\flatmap.hpp (57): FlatMap<ID<ItemPrototype,unsigned short>,LogisticNetwork::RequestsForItem,1>::at
c:\cygwin64\tmp\factorio-vcofuz\src\logistics\logisticpoint.cpp (933): LogisticPoint::onFilterToBeCleared
c:\cygwin64\tmp\factorio-vcofuz\src\logistics\logisticpointfilters.cpp (229): LogisticPointFilters::setLogisticFiltersFromSignalMapping
c:\cygwin64\tmp\factorio-vcofuz\src\circuitnetwork\behaviors\logisticcontainercontrolbehavior.cpp (78): LogisticContainerControlBehavior::update
c:\cygwin64\tmp\factorio-vcofuz\src\map\map.cpp (1244): Map::update
c:\cygwin64\tmp\factorio-vcofuz\src\game.cpp (153): Game::update
c:\cygwin64\tmp\factorio-vcofuz\src\scenario\scenario.cpp (822): Scenario::update
c:\cygwin64\tmp\factorio-vcofuz\src\mainloop.cpp (985): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-vcofuz\src\mainloop.cpp (852): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-vcofuz\src\util\workerthread.cpp (36): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (232): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ClientRouter * __ptr64>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ClientRouter * __ptr64> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (211): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9248C1FE4)
00007FF9248C1FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF92538EF91)
00007FF92538EF91 (ntdll): (filename not available): RtlUserThreadStart
 439.401 Error FlatMap.hpp:57: Key not present.
Logger::writeStacktrace skipped.
 439.401 Error CrashHandler.cpp:128: Map tick at moment of crash: 9562877
 439.401 Error Util.cpp:67: 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.
 461.607 Creating crash dump.
 461.778 CrashDump success

mewtwoEX
Burner Inserter
Burner Inserter
Posts: 5
Joined: Thu Dec 14, 2017 3:41 am
Contact:

Re: Crash in 0.16.8 Train enter station

Post by mewtwoEX »

I think I'm getting something similar, although it happens about 3 seconds after loading an old map, so I can't tell. A slightly earlier map save works for a few seconds longer, but still too short to tell which train (or other issue) is causing the problem.

Here's the save, and log snippet is below: https://1drv.ms/u/s!ApvfEB7YSVqQodFmIXw8MK42vGne2A

Code: Select all

  67.191 Loading map C:\Users\mewtw_000.MEWTWO-EX_SP.000\AppData\Roaming\Factorio\saves\Rail_CT9.zip: 14125808 bytes.
  67.382 Loading Level.dat: 34455960 bytes.
  67.391 Info Scenario.cpp:135: Map version 0.16.7-4
  68.995 Info BlueprintLibrary.cpp:232: Loaded library shelves:

...other blueprints omitted; not an error

  69.646 Loading script.dat: 175 bytes.
  69.698 Checksum for script C:/Users/mewtw_000.MEWTWO-EX_SP.000/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 2309010108
  69.700 Script @C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:23: Running silo script migration: 1 -> 2
  69.700 Script @C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/lualib/silo-script.lua:118: Executing silo script migration - Mod gui from left to top
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-vcofuz\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-vcofuz\src\util\logger.cpp (371): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-vcofuz\src\util\logger.cpp (470): Logger::logStacktrace
c:\cygwin64\tmp\factorio-vcofuz\src\util\logging.cpp (78): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-vcofuz\src\util\logging.cpp (73): Logging::logAndAbortOrThrow
c:\cygwin64\tmp\factorio-vcofuz\src\util\container\flatmap.hpp (57): FlatMap<ID<ItemPrototype,unsigned short>,LogisticNetwork::RequestsForItem,1>::at
c:\cygwin64\tmp\factorio-vcofuz\src\logistics\logisticpoint.cpp (933): LogisticPoint::onFilterToBeCleared
c:\cygwin64\tmp\factorio-vcofuz\src\logistics\logisticpointfilters.cpp (229): LogisticPointFilters::setLogisticFiltersFromSignalMapping
c:\cygwin64\tmp\factorio-vcofuz\src\circuitnetwork\behaviors\logisticcontainercontrolbehavior.cpp (85): LogisticContainerControlBehavior::update
c:\cygwin64\tmp\factorio-vcofuz\src\map\map.cpp (1244): Map::update
c:\cygwin64\tmp\factorio-vcofuz\src\game.cpp (153): Game::update
c:\cygwin64\tmp\factorio-vcofuz\src\scenario\scenario.cpp (822): Scenario::update
c:\cygwin64\tmp\factorio-vcofuz\src\mainloop.cpp (985): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-vcofuz\src\mainloop.cpp (852): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-vcofuz\src\util\workerthread.cpp (36): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (232): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ClientRouter * __ptr64>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void) __ptr64,ClientRouter * __ptr64> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.12.25827\include\thr\xthread (211): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8ECE02774)
00007FF8ECE02774 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8EF600D51)
00007FF8EF600D51 (ntdll): (filename not available): RtlUserThreadStart
  84.773 Error FlatMap.hpp:57: Key not present.
Logger::writeStacktrace skipped.
  84.773 Error CrashHandler.cpp:128: Map tick at moment of crash: 33146225
  84.773 Error Util.cpp:67: 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.
  94.427 Creating crash dump.
  94.722 CrashDump success


kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [16.8] Crash on: "FlatMap<ID<ItemPrototype..."

Post by kovarex »

Thanks for the notice and the save, it is now fixed for the next release.

Post Reply

Return to “Resolved Problems and Bugs”