[kovarex] [0.17.50] Crash in RailBlock.cpp:302

This subforum contains all the issues which we already resolved.
tangphillip
Manual Inserter
Manual Inserter
Posts: 1
Joined: Tue Jun 18, 2019 6:31 am
Contact:

[kovarex] [0.17.50] Crash in RailBlock.cpp:302

Post by tangphillip »

I'm not super sure what triggered it, but I was placing rail by hand at the time, and an autosave was also happening. I attached the log, the latest working autosave, plus the autosave file that Factorio crashed while writing.

Pastebin of the Log: https://pastebin.com/150ULqjt

The stack trace:

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
#1  0x000000010f7341f2 in Logger::logStacktrace(StackTraceInfo*) + 0x12
#2  0x000000010eb236dd in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) + 0x11d
#3  0x000000010e9420d4 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) + 0xa4
#4  0x000000010f4d886a in RailBlock::checkConsistency() const + 0x2ca
#5  0x000000010f3b2524 in TrainManager::checkConsistency() const + 0x224
#6  0x000000010f4f17bf in TrainManager::save(MapSerialiser&) const + 0x2f
#7  0x000000010f35c947 in Map::save(MapSerialiser&, ProgressObserver*) const + 0x687
#8  0x000000010f5189d6 in Scenario::saveMap(SaveType, PackageWriter&, TargetSerialiser&, ProgressObserver*, bool&) + 0x3e6
#9  0x000000010f51074c in Scenario::saveAs(Filesystem::Path const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, Filesystem::Path const&, ProgressObserver*, SaveType) + 0x101c
#10 0x000000010f50efed in ParallelScenarioSaver::doSave(ParallelScenarioSaver*) + 0x5d
#11 0x000000010fa5e8cc in void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(ParallelScenarioSaver*), ParallelScenarioSaver*> >(void*) + 0x2c
#12 0x00007fff7cb272eb in _pthread_body + 0x7e
#13 0x00007fff7cb2a249 in _pthread_start + 0x42
Stack trace logging done
27944.968 Error RailBlock.cpp:302: inboundSignal->getReservation() == nullptr was not true
Attachments
_autosave2.tmp.zip
(570.44 KiB) Downloaded 46 times
_autosave1.zip
(13.35 MiB) Downloaded 53 times
factorio-current.log
(16.47 KiB) Downloaded 50 times
kovarex
Factorio Staff
Factorio Staff
Posts: 8298
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [kovarex] [0.17.50] Crash in RailBlock.cpp:302

Post by kovarex »

Hello, this is probably related to a bug I fixed for the next release.
posila
Former Staff
Former Staff
Posts: 5448
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [kovarex] [0.17.50] Crash in RailBlock.cpp:302

Post by posila »

Possible duplicate(s): 72248
Post Reply

Return to “Resolved Problems and Bugs”