Page 1 of 1

[0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 3:53 am
by hank
I have been able to reliably crash 0.16.5 on my Windows 10 box with the attached save file.

On loading it, if I place an electrical pole to connect the lower, unpowered network to power, the game dies. I tied substation and medium power pole.

Log file is also attached. If I can provide more info, please let me know.

Re: [0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 4:02 am
by Revenge282
Can confirm this happens on 16.5. I reconnected a group of small poles to the power network using a medium pole, and the game crashed immediately on placement.

Code: Select all

24460.064 Error CrashHandler.cpp:419: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
24463.251 Warning Logger.cpp:446: Symbols.size() == 30, usedSize == 22
#0  0x0000000000b08b1d in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-vr1aM6/src/Util/Logger.cpp:471
#1  0x0000000000684751 in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-vr1aM6/src/Util/CrashHandler.cpp:127
#2  0x00000000006848fa in CrashHandler::SignalHandler(int) at /tmp/factorio-vr1aM6/src/Util/CrashHandler.cpp:421
#3  0x0000000000033af0 in ?? at ??:0
#4  0x000000000042bfcc in MiningDrill::getElectricEnergySource() at /tmp/factorio-vr1aM6/src/Entity/MiningDrill.cpp:776
#5  0x0000000000aaae4c in ElectricPole::connectEnergySources() at /tmp/factorio-vr1aM6/src/Entity/ElectricPole.cpp:1107
#6  0x0000000000ad0e34 in ElectricPole::setup(SetupData const&) at /tmp/factorio-vr1aM6/src/Entity/ElectricPole.cpp:586
#7  0x0000000000ac06ed in __gnu_cxx::__normal_iterator<ItemStack*, std::vector<ItemStack, std::allocator<ItemStack> > >::__normal_iterator(ItemStack* const&) at /usr/include/c++/7/bits/stl_iterator.h:780
#8  0x0000000000ac0fcc in std::vector<ItemStack, std::allocator<ItemStack> >::begin() at /usr/include/c++/7/bits/stl_vector.h:564
#9  0x0000000000864b70 in Inventory::begin() at /tmp/factorio-vr1aM6/src/Item/Inventory.hpp:182
#10 0x0000000000959af4 in ManualBuilder::buildItem(ActionData::BuildItemParameters const&, ForceID, ID<EntityPrototype, unsigned short>, bool, bool) at /tmp/factorio-vr1aM6/src/ManualBuilder.cpp:769
#11 0x00000000005cfaac in ManualBuilder::BuildResult::~BuildResult() at /tmp/factorio-vr1aM6/src/ManualBuilder.cpp:64
#12 0x00000000009e7910 in CharacterController::buildItem(ActionData::BuildItemParameters const&) at /tmp/factorio-vr1aM6/src/Controller/CharacterController.cpp:449
#13 0x00000000009e687e in GameActionHandler::buildItem(InputAction const&, Controller*) at /tmp/factorio-vr1aM6/src/GameActionHandler.cpp:556
#14 0x000000000089a970 in GameActionHandler::actionPerformed(InputAction const&) at /tmp/factorio-vr1aM6/src/GameActionHandler.cpp:262 (discriminator 4)
#15 0x0000000000c24701 in InputHandler::flushToListeners(InputAction const&, bool) at /tmp/factorio-vr1aM6/src/Input/InputHandler.cpp:62
#16 0x0000000000c2527f in InputHandler::flushActions(bool) at /tmp/factorio-vr1aM6/src/Input/InputHandler.cpp:55
#17 0x0000000000c298d3 in NetworkInputHandler::flushActions(bool) at /tmp/factorio-vr1aM6/src/Net/NetworkInputHandler.cpp:157
#18 0x0000000000c2a2d3 in InputHandler::nextTick() at /tmp/factorio-vr1aM6/src/Input/InputHandler.cpp:45
#19 0x000000000041f6bf in NetworkInputHandler::nextTick() at /tmp/factorio-vr1aM6/src/Net/NetworkInputHandler.cpp:117
#20 (nil) in NetworkInputHandler::tryToApplyNextTickClosure() at /tmp/factorio-vr1aM6/src/Net/NetworkInputHandler.cpp:110
#21 0x000000000042596f in ServerMultiplayerManager::updateMultiplayerInputInternal() at /tmp/factorio-vr1aM6/src/Net/ServerMultiplayerManager.cpp:644
24466.503 Warning Logger.cpp:446: Symbols.size() == 29, usedSize == 21
24466.503 Error CrashHandler.cpp:128: Map tick at moment of crash: 3879066
24466.503 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.
Most recent autosave: https://www.exiledservers.net/repo/powerpolecrash.zip

Re: [0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 5:35 am
by cheerio39
Likewise. In my case, trying to connect two electrical networks with a Large power pole

Re: [0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 8:27 am
by Joyphor
Building an Coal Outpost with Plastics processing... Many unpowered powerpoles. By connecting them to the main grid the games crashes.
RailWorld_42_016.zip
Game Save
(36.07 MiB) Downloaded 141 times
factorio-current_power connect.log
Log File
(31.21 KiB) Downloaded 90 times

Re: [0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 8:38 am
by Jakman217
The same crash also occurred to me while attempting to create a switch for a subnetwork.

Re: [0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 9:27 am
by Linnun
It's a different error message, but possibly still related to this: viewtopic.php?t=55176

Re: [0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 10:03 am
by Kewlhotrod
same as others reported

Re: [0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 10:57 am
by Linnun
Kewlhotrod wrote:same as others reported
Please provide the factorio-current.log file. You can find it in the same directory as the dmp file you attached.

Re: [0.16.5] Crash on connecting two electrical networks

Posted: Mon Dec 18, 2017 11:46 am
by posila
Thanks for the report.
This has been fixed for 0.16.6: 55176