Page 1 of 1

[Oxyd] [0.15.37] headless crash (Blueprint library related)

Posted: Sun Oct 22, 2017 8:28 pm
by badgamernl
Players said it happened when a player left...

Log down below, Hope this helps ;)

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
14765.068 Warning Logger.cpp:413: Symbols.size() == 19, usedSize == 12
#0  0x0000000000a84e8d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-4Id18g/src/Util/Logger.cpp:438
#1  0x0000000000b8fad9 in applyTransferBlueprintData at /tmp/factorio-4Id18g/src/Blueprint/BlueprintLibrary.cpp:590
#2  0x0000000000969e19 in transferBlueprintData at /tmp/factorio-4Id18g/src/GameActionHandler.cpp:3206
#3  0x0000000000649e8c in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-4Id18g/src/GameActionHandler.cpp:262 (discriminator 4)
#4  0x0000000000649f74 in flushToListeners at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:55
#5  0x0000000000cdc9b5 in flushActions at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:48
#6  0x0000000000ce1204 in flushActions at /tmp/factorio-4Id18g/src/Net/NetworkInputHandler.cpp:158
#7  0x0000000000e40cc3 in nextTick at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:38
#8  0x0000000000e41a59 in nextTick at /tmp/factorio-4Id18g/src/Net/NetworkInputHandler.cpp:117
#9  0x0000000000f013e6 in NetworkInputHandler::tryToApplyNextTickClosure() at /tmp/factorio-4Id18g/src/Net/NetworkInputHandler.cpp:110
#10 0x00006ef9dd82f3f1 in ServerMultiplayerManager::updateMultiplayerInputInternal() at /tmp/factorio-4Id18g/src/Net/ServerMultiplayerManager.cpp:622
#11 0x0000000000406e69 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) [clone .constprop.111296] at /tmp/factorio-4Id18g/src/MainLoop.cpp:894
14765.815 Warning Logger.cpp:413: Symbols.size() == 18, usedSize == 11
14765.815 Error BlueprintLibrary.cpp:590: immediate || blueprintData.recordID == this->currentTransfer was not true
Logger::writeStacktrace skipped.
14765.815 Error CrashHandler.cpp:123: Map tick at moment of crash: 864518
14765.815 Error Util.cpp:80: 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

Re: [Oxyd] [0.15.37] headless crash (Blueprint library related)

Posted: Tue Oct 31, 2017 3:09 pm
by badgamernl
I got another BP related crash I don't know if another log will help.

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
68965.807 Warning Logger.cpp:413: Symbols.size() == 19, usedSize == 12
#0  0x0000000000a84e8d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-4Id18g/src/Util/Logger.cpp:438
#1  0x0000000000b8fad9 in applyTransferBlueprintData at /tmp/factorio-4Id18g/src/Blueprint/BlueprintLibrary.cpp:590
#2  0x0000000000969e19 in transferBlueprintData at /tmp/factorio-4Id18g/src/GameActionHandler.cpp:3206
#3  0x0000000000649e8c in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-4Id18g/src/GameActionHandler.cpp:262 (discriminator 4)
#4  0x0000000000649f74 in flushToListeners at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:55
#5  0x0000000000cdc9b5 in flushActions at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:48
#6  0x0000000000ce1204 in flushActions at /tmp/factorio-4Id18g/src/Net/NetworkInputHandler.cpp:158
#7  0x0000000000e40cc3 in nextTick at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:38
#8  0x0000000000e41a59 in nextTick at /tmp/factorio-4Id18g/src/Net/NetworkInputHandler.cpp:117
#9  0x0000000000f013e6 in NetworkInputHandler::tryToApplyNextTickClosure() at /tmp/factorio-4Id18g/src/Net/NetworkInputHandler.cpp:110
#10 0x00006ac491f083f1 in ServerMultiplayerManager::updateMultiplayerInputInternal() at /tmp/factorio-4Id18g/src/Net/ServerMultiplayerManager.cpp:622
#11 0x0000000000406e69 in MainLoop::gameUpdateStep(MultiplayerManagerBase*, Scenario*, AppManager*, MainLoop::HeavyMode) [clone .constprop.111296] at /tmp/factorio-4Id18g/src/MainLoop.cpp:894
68966.559 Warning Logger.cpp:413: Symbols.size() == 18, usedSize == 11
68966.559 Error BlueprintLibrary.cpp:590: immediate || blueprintData.recordID == this->currentTransfer was not true
Logger::writeStacktrace skipped.
68966.559 Error CrashHandler.cpp:123: Map tick at moment of crash: 4591428
68966.559 Error Util.cpp:80: 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.

Re: [Oxyd] [0.15.37] headless crash (Blueprint library related)

Posted: Tue Oct 31, 2017 10:01 pm
by badgamernl
Another BP related crash, this one has some more info though

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
21091.745 Warning Logger.cpp:413: Symbols.size() == 32, usedSize == 22
#0  0x0000000000a84e8d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-4Id18g/src/Util/Logger.cpp:438
#1  0x00000000007489f0 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) [clone .constprop.109899] at /tmp/factorio-4Id18g/src/Util/CrashHandler.cpp:122
#2  0x0000000000748e84 in CrashHandler::SignalHandler(int) at /tmp/factorio-4Id18g/src/Util/CrashHandler.cpp:389
#3  0x00006efbd48ac860 in ?? at ??:0
#4  0x00006efbd48ac7ef in ?? at ??:0
#5  0x00006efbd48ae3ea in ?? at ??:0
#6  0x000000000132b0fd in __gnu_cxx::__verbose_terminate_handler() at ??:?
#7  0x000000000131f576 in __cxxabiv1::__terminate(void (*)()) at ??:?
#8  0x000000000131f5c1 in std::terminate() at ??:?
#9  0x000000000132ab58 in __cxa_throw at ??:?
#10 0x0000000001353df7 in std::__throw_out_of_range_fmt(char const*, ...) at ??:?
#11 0x0000000000cc9f4b in std::string::_M_check(unsigned long, char const*) const at /usr/include/c++/5/bits/basic_string.h:2720
#12 0x0000000000969d55 in std::string::substr(unsigned long, unsigned long) const at /usr/include/c++/5/bits/basic_string.h:4623
#13 0x0000000000649e8c in base64CompresedToPropertyTree at /tmp/factorio-4Id18g/src/Util/BlueprintImportExportEngine.cpp:731
#14 0x0000000000649f74 in loadItemFromString at /tmp/factorio-4Id18g/src/Util/BlueprintImportExportEngine.cpp:189
#15 0x0000000000cdc9b5 in importBlueprintString at /tmp/factorio-4Id18g/src/GameActionHandler.cpp:2486
#16 0x0000000000ce1204 in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-4Id18g/src/GameActionHandler.cpp:265 (discriminator 4)
#17 0x0000000000e40cc3 in flushToListeners at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:55
#18 0x0000000000e41a59 in flushActions at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:48
#19 0x0000000000f013e6 in flushActions at /tmp/factorio-4Id18g/src/Net/NetworkInputHandler.cpp:158
#20 0x00006efbd48973f1 in nextTick at /tmp/factorio-4Id18g/src/Input/InputHandler.cpp:38
#21 0x0000000000406e69 in nextTick at /tmp/factorio-4Id18g/src/Net/NetworkInputHandler.cpp:117
21092.560 Warning Logger.cpp:413: Symbols.size() == 31, usedSize == 21
21092.560 Error CrashHandler.cpp:123: Map tick at moment of crash: 1250688
21092.560 Error Util.cpp:80: 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.
21092.560 Error CrashHandler.cpp:360: Unhandled exception type: St12out_of_range
21092.560 Error CrashHandler.cpp:367: Unhandled exception: basic_string::substr: __pos (which is 1) > this->size() (which is 0)

Re: [Oxyd] [0.15.37] headless crash (Blueprint library related)

Posted: Tue Oct 31, 2017 10:05 pm
by Rseding91
The last crash is a bug with importing a bad blueprint string which is fixed in 0.16. The first 2 are related to the blueprint library and the transfer mechanic.

Re: [Oxyd] [0.15.37] headless crash (Blueprint library related)

Posted: Tue Oct 31, 2017 10:20 pm
by badgamernl
Rseding91 wrote:The last crash is a bug with importing a bad blueprint string which is fixed in 0.16. The first 2 are related to the blueprint library and the transfer mechanic.
Good to know! I'll hear from you guys when you want me to stop posting ;)

Re: [Oxyd] [0.15.37] headless crash (Blueprint library related)

Posted: Thu Nov 23, 2017 3:50 pm
by Oxyd
Well, I haven't been able to reproduce it, but I made a change that should prevent it from crashing. So let's see how it works in 0.16.