Page 1 of 1

0.16.8 - FlatMap error in LogisticPoint::onFilterToBeCleared

Posted: Fri Dec 29, 2017 9:26 pm
by tobyhinloopen
While crying in a corner about the reduced barrel sizes & fluid wagon capacities (joking, its a good change) the game crashes

Crash occurs about 30 seconds after loading the attached save-game. Stacktrace (copy/paste from attached log):
Attached: The single mod I'm using, the save-game just before the crash, and the generated log

Code: Select all

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: 00007FFDB3271FE4)
00007FFDB3271FE4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFDB577EF91)
00007FFDB577EF91 (ntdll): (filename not available): RtlUserThreadStart
  33.840 Error FlatMap.hpp:57: Key not present.
Logger::writeStacktrace skipped.
  33.840 Error CrashHandler.cpp:128: Map tick at moment of crash: 27414894
  33.840 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.
  35.570 Creating crash dump.
  35.669 CrashDump success

Re: 0.16.8 - FlatMap error in LogisticPoint::onFilterToBeCleared

Posted: Sat Dec 30, 2017 10:42 am
by Koub
Can you update to 0.16.10 and tell us if the issue persists ?

Re: 0.16.8 - FlatMap error in LogisticPoint::onFilterToBeCleared

Posted: Sat Dec 30, 2017 1:05 pm
by tobyhinloopen
0.16.10 fixed the problem. You guys are awesome! You guys set a true example for a lot of other software developers

Slightly related question: Do you guys get crash reports automatically or only via user submitted crash-logs like mine on this forum?

Re: 0.16.8 - FlatMap error in LogisticPoint::onFilterToBeCleared

Posted: Sat Dec 30, 2017 5:36 pm
by Koub
Afaik only via user submitted crash-logs like yours on this forum.
That's why the input (savefile, logs, steps to reproduce, ...) is so important.