Switch: Reproducible crash when bypassing & removing bypass
Posted: Thu Jun 30, 2016 2:29 am
Is there not a special place for these things? Oh well, here you go:
The auto-save from before the crash, if I load it and perform the same steps, there's a 50/50 chance it'll crash again. I've spent an hour playing with it and I can't figure out what makes the difference. This occurred while I was playing with a power switch and an accumulator, and I removed and replaced a power pole to cause a power outage in order to test that the power switches on and off how I want when the accumulator starts to discharge. I note that, after removing a power pole (the first step in the sequence to trigger the crash), the science labs remain powered despite the power switch connecting to them having disconnected in response to me causing the accumulator to discharge. I looked around, there's no other wires going to their network. They're just powered by magic at that point. If, before removing the pole, I cause the switch to open another way, they lose power as they should, it's only removing that pole that does it. Even removing other poles to cause the same outage doesn't cause it to happen, it's just that one pole, perhaps because it was originally connected to their network, but I long ago removed the copper wire between it and their network to separate the two and maybe that wasn't recorded correctly somehow? I dunno, I need to go to sleep so I can't play with it any further.
Code: Select all
0.000 2016-06-29 08:28:37; Factorio 0.13.1 (Build 22864, linux64, alpha)
0.069 Operating system: Linux (LinuxMint 17)
0.069 Program arguments: "./factorio"
0.069 Read data path: /home/pj/factorio-0.13.1/data
0.069 Write data path: /home/pj/factorio-0.13.1
0.069 Binaries path: /home/pj/factorio-0.13.1/bin
0.101 Graphics options: [FullScreen: false] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: high] [Light scale: 100%] [Screen: 255] [DXT: false]
0.120 Available display adapters: 1
0.120 [0]: resolution 1920x1080px at [0,0]
0.120 Create display on adapter 0. Size 1280x720 at position [310, 162].
0.193 Initialised OpenGL:[0] GeForce GTX 650 Ti/PCIe/SSE2; driver: 4.5.0 NVIDIA 352.63
0.193 Video memory size (dedicated/total available/current available): 1024/1024/922 MB
0.305 Loading mod core 0.0.0 (data.lua)
0.310 Loading mod base 0.13.1 (data.lua)
0.422 Checksum for core: 1399339455
0.422 Checksum for mod base: 2679425721
0.974 Initial atlas bitmap size is 16384
0.978 Created atlas bitmap 16384x6376
0.979 Created atlas bitmap 4096x968
19.640 Sprites loaded
19.640 Convert atlas 4096x968 to: trilinear-filtering
19.754 Loading sounds...
21.876 Custom inputs active: 0
21.876 Info Updater.cpp:751: Downloading https://www.factorio.com/updater/get-available-versions?username=Moosfet&token=<private>&apiVersion=2
23.383 0 packages available to download (experimental updates enabled).
23.501 Factorio initialised
50.777 Loading map /home/pj/factorio-0.13.1/saves/pointonethree2.zip
50.823 Info Scenario.cpp:129: Map version 0.13.0-93
51.956 Applying migration: Base Mod: 2016-06-28_Factorio_0.13.0.lua
51.960 Checksum for script /home/pj/factorio-0.13.1/temp/currently-playing/control.lua: 900459546
10278.181 Loading map /home/pj/factorio-0.13.1/saves/pointonethree3.zip
10278.200 Info Scenario.cpp:129: Map version 0.13.1-0
10279.382 Checksum for script /home/pj/factorio-0.13.1/temp/currently-playing/control.lua: 900459546
45885.681 Error CrashHandler.cpp:183: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
45887.982 Warning Logger.cpp:360: Symbols.size() == 27, usedSize == 15
#0 0x8efa9d in logStacktrace at /tmp/factorio-fWDO6t/src/Util/Logger.cpp:382
#1 0x7fdcfb in writeStackTrace at /tmp/factorio-fWDO6t/src/Util/CrashHandler.cpp:84
#2 0x7fdf74 in SignalHandler at /tmp/factorio-fWDO6t/src/Util/CrashHandler.cpp:188
#3 0x7f5f65328cb0 in ?? at ??:0
#4 0x5ccab5 in markAllTo at /tmp/factorio-fWDO6t/src/Energy/ElectricSubNetwork.cpp:906
#5 0x8cf40d in markAllTo at /tmp/factorio-fWDO6t/src/Energy/ElectricSubNetwork.cpp:907
#6 0x8cf92e in markAllTo at /tmp/factorio-fWDO6t/src/Energy/ElectricSubNetwork.cpp:907
#7 0xbdea2b in removeConnection at /tmp/factorio-fWDO6t/src/Energy/ElectricSubNetwork.cpp:890
#8 0xbe082c in disconnectSubNetworks at /tmp/factorio-fWDO6t/src/Entity/PowerSwitch.cpp:334
#9 0xbef56c in update at /tmp/factorio-fWDO6t/src/Entity/PowerSwitch.cpp:136
#10 0xc0d037 in get_next at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/intrusive/detail/list_node.hpp:62
#11 0x708415 in operator++ at /home/build/build_environment/boost_1_58_0/output_linux64/include/boost/intrusive/detail/list_iterator.hpp:80
#12 0xf3c5cf in update at /tmp/factorio-fWDO6t/src/Surface/Chunk.cpp:468
#13 0x7f5f66f5f184 in update at /tmp/factorio-fWDO6t/src/Surface/Surface.cpp:913
#14 0x7f5f653ec37d in update at /tmp/factorio-fWDO6t/src/Map/Map.cpp:1072
45889.677 Warning Logger.cpp:360: Symbols.size() == 26, usedSize == 14
45889.677 Error CrashHandler.cpp:85: Map tick at moment of crash: 5024866
45889.677 Error Util.cpp:77: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.