Page 1 of 1

[0.13.1] [Twinsen] Removing power pole crashes the game

Posted: Wed Jun 29, 2016 12:17 pm
by xattus
Happened when I wanted to redesign this setup:

Image

I have a smart warehouse (deprecated) that can be removed just fine, the poles connecting only to powerlines can be removed fine, however trying to remove poles connecting to circuit network cables or poles that have circuitnetwork cables will crash the game. The circuit network was made on 12.35.

here is the log:

Code: Select all

   0.003 2016-06-29 13:48:18; Factorio 0.13.1 (Build 22864, win64, steam)
   0.003 Operating system: Windows 7 Service Pack 1
   0.003 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.003 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.003 Write data path: C:/Users/XAttus/AppData/Roaming/Factorio
   0.003 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.031 Graphics options: [FullScreen: true] [VSync: true] [UIScale: 100%] [MultiSampling: OFF] [Graphics quality: normal] [Video memory usage: all] [Light scale: 100%] [Screen: 255] [DXT: false]
   0.032 Available display adapters: 1
   0.032  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 960 {0x05, [0,0], 1440x900, 32bit, 60Hz}
   0.032 Create display on adapter 0. Size 1280x720 at position [70, 72].
   0.090 Initialised Direct3D:[0] NVIDIA GeForce GTX 960; driver: nvd3dumx.dll 10.18.13.6510
   0.093     Video memory size (dedicated video/dedicated system/shared system/available): 4010/0/7894/3708 MB
   0.130 Desktop composition is active.
   0.199 Loading mod core 0.0.0 (data.lua)
   0.203 Loading mod base 0.13.1 (data.lua)
   0.280 Loading mod Flow Control 2.0.0 (data.lua)
   0.326 Loading mod specialized_refineries 1.0.5 (data.lua)
   0.374 Loading mod TheFatController 0.4.18 (data.lua)
   0.419 Loading mod Warehousing 0.0.7 (data.lua)
   0.469 Loading mod WeaponsExtended 1.0.3 (data.lua)
   0.516 Checksum for core: 1399339455
   0.516 Checksum for mod base: 2679425721
   0.516 Checksum for mod Flow Control: 4252853042
   0.516 Checksum for mod Ore Expansion: 0
   0.516 Checksum for mod specialized_refineries: 3378738352
   0.516 Checksum for mod TheFatController: 2087045025
   0.516 Checksum for mod Warehousing: 4097352791
   0.516 Checksum for mod WeaponsExtended: 1040093557
   0.967 Initial atlas bitmap size is 16384
   0.970 Created atlas bitmap 16384x9692
   1.368 Created atlas bitmap 4096x1000
   6.343 Sprites loaded
   6.343 Convert atlas 4096x1000 to: trilinear-filtering 
   6.503 Loading sounds...
   7.864 Custom inputs active: 0
   7.899 Factorio initialised
 435.049 Loading map C:/Users\XAttus\AppData\Roaming\Factorio\saves\_autosave2.zip
 435.080 Info Scenario.cpp:129: Map version 0.13.1-0
 438.321 Checksum for script C:/Users/XAttus/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 900459546
 438.322 Checksum for script __Flow Control__/control.lua: 2993992164
 438.323 Checksum for script __Ore Expansion__/control.lua: 4031406423
 438.324 Checksum for script __specialized_refineries__/control.lua: 3552642129
 438.329 Checksum for script __TheFatController__/control.lua: 2348030623
 438.329 Checksum for script __Warehousing__/control.lua: 601985479
 438.331 Checksum for script __WeaponsExtended__/control.lua: 1140910344
 452.598 Error CrashHandler.cpp:108: Exception Code: c0000005, Address: 000000013FD47A3A
 452.598 Error CrashHandler.cpp:118: Exception Context:
rax=0000000000000000, rbx=0000000098e8a690, rcx=000000007c23c800,
rdx=0000000000000000, rsi=000000000ab6ec38, rdi=0000000098e8a660,
rip=000000013fd47a3a, rsp=000000000ab6ebe0, rbp=000000007c23c800,
 r8=0000000098904e80,  r9=0000000000000004, r10=000000007c23c8c8,
r11=000000007c23c800, r12=0000000000000000, r13=0000000000000000,
r14=0000000098904e80, r15=0000000000000004
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-x2gfwk\libraries\stackwalker\stackwalker.cpp (906): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-x2gfwk\src\util\logger.cpp (328): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-x2gfwk\src\util\logger.cpp (382): Logger::logStacktrace
c:\cygwin64\tmp\factorio-x2gfwk\src\util\crashhandler.cpp (84): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-x2gfwk\src\util\crashhandler.cpp (128): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007710BC00)
000000007710BC00 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007730FF88)
000000007730FF88 (ntdll): (filename not available): EtwEventSetInformation
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000772A78C8)
00000000772A78C8 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000772B7E8D)
00000000772B7E8D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000772A84CF)
00000000772A84CF (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000772DBAC8)
00000000772DBAC8 (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-x2gfwk\src\entity\electricpole.cpp (729): ElectricPole::countOrientationTo
c:\cygwin64\tmp\factorio-x2gfwk\src\entity\electricpole.cpp (717): ElectricPole::setupOrientation
c:\cygwin64\tmp\factorio-x2gfwk\src\entity\electricpole.cpp (424): ElectricPole::setupOrientationAndNetworksAfterDisconnect
c:\cygwin64\tmp\factorio-x2gfwk\src\entity\electricpole.cpp (398): ElectricPole::onDestroy
c:\cygwin64\tmp\factorio-x2gfwk\src\entity\entity.cpp (234): Entity::forceDestroy
c:\cygwin64\tmp\factorio-x2gfwk\src\entity\entity.cpp (602): Entity::mine
c:\cygwin64\tmp\factorio-x2gfwk\src\manualstorage.cpp (158): ManualStorage::handleMinedEntity
c:\cygwin64\tmp\factorio-x2gfwk\src\manualminer.cpp (134): ManualMiner::performMining
c:\cygwin64\tmp\factorio-x2gfwk\src\entity\character.cpp (437): Character::update
c:\cygwin64\tmp\factorio-x2gfwk\src\surface\chunk.cpp (468): Chunk::update
c:\cygwin64\tmp\factorio-x2gfwk\src\surface\surface.cpp (906): Surface::update
c:\cygwin64\tmp\factorio-x2gfwk\src\map\map.cpp (1072): Map::update
c:\cygwin64\tmp\factorio-x2gfwk\src\game.cpp (141): Game::update
c:\cygwin64\tmp\factorio-x2gfwk\src\scenario\scenario.cpp (773): Scenario::update
c:\cygwin64\tmp\factorio-x2gfwk\src\mainloop.cpp (337): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-x2gfwk\src\mainloop.cpp (472): MainLoop::updateLoop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\functional (214): std::_Func_impl<std::_Binder<std::_Unforced,void (__cdecl&)(ThreadBarrier * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,bool * __ptr64,bool,enum MainLoop::HeavyMode),ThreadBarrier * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,boost::chrono::time_point<boost::chrono::steady_clock,boost::chrono::duration<__int64,boost::ratio<1,1000000000> > > * __ptr64,bool * __ptr64,bool & __ptr64,enum MainLoop::HeavyMode & __ptr64>,std::allocator<int>,void>::_Do_call
c:\cygwin64\tmp\factorio-x2gfwk\src\util\thread.cpp (34): Thread::loop
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000001405996D3)
00000001405996D3 (Factorio): (filename not available): boost::thread::start_thread_noexcept
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000770859BD)
00000000770859BD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000772BA2E1)
00000000772BA2E1 (ntdll): (filename not available): RtlUserThreadStart
 455.019 Error CrashHandler.cpp:85: Map tick at moment of crash: 44136844
 455.019 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.
I can also provide the savegame and the mods required upon requuest. Hopefully it's not a doublepost, haven't seen 13.01 issues here.

Re: [13.1] Removing power pole crashes the game

Posted: Wed Jun 29, 2016 12:19 pm
by Klonan
Thanks for the report,

Can you provide the savegame?

Re: [13.1] Removing power pole crashes the game

Posted: Wed Jun 29, 2016 12:20 pm
by Loewchen
Yes, please upload the save-file and the mod-folder, the not migrated .12 save would be helpful too. Are you sure the mods are compatible with .13?

Re: [13.1] Removing power pole crashes the game

Posted: Wed Jun 29, 2016 12:22 pm
by Rseding91
Did you play this map in 0.13.1 with power switches?

Also yes upload the map and mods.

Re: [13.1] Removing power pole crashes the game

Posted: Wed Jun 29, 2016 12:33 pm
by xattus
Loewchen wrote:Yes, please upload the save-file and the mod-folder, the not migrated .12 save would be helpful too. Are you sure the mods are compatible with .13?
The 0.12 is lost in the void now, I might be able to ask one of my friends who played the game but that was a while ago so the setup might not even exist in that one. Also it might be possible that I screwed up something with the mods, but I do not have any mods that alter circuit networks or power management.
Rseding91 wrote:Did you play this map in 0.13.1 with power switches?

Also yes upload the map and mods.
0.13.1 -> obviously. powerswitches -> no, I wanted to experiment with that but I ran into this issue first. :)

savegame link: https://www.sendspace.com/file/coetrb
mods link: http://puu.sh/pKaeE/272d69929e.zip

I'm happy that I can help. :)

Re: [0.13.1] [Twinsen] Removing power pole crashes the game

Posted: Mon Jul 04, 2016 8:45 am
by kovarex
This should work fine in 0.13.4

Re: [0.13.1] [Twinsen] Removing power pole crashes the game

Posted: Mon Jul 04, 2016 11:23 am
by Twinsen
kovarex wrote:This should work fine in 0.13.4
Not really. Should be fixed in 0.13.5

Re: [0.13.1] [Twinsen] Removing power pole crashes the game

Posted: Wed Jul 06, 2016 8:28 pm
by xattus
Fix confirmed. Now... need to redesign a bunch of stuff.

Keep up the awesome work guys! Thanks!