Page 1 of 1

[0.15.0] Crash on connect electric drill to logistic network

Posted: Mon Apr 24, 2017 8:33 pm
by Immun
connect/disconnect electric mining drill to logistic Network causes the game to Crash (hit a couple of times the check box)

Re: [0.15.0] Crash on connect electric drill to logistic network

Posted: Mon Apr 24, 2017 8:42 pm
by daniel34

Code: Select all

   0.002 2017-04-24 22:29:44; Factorio 0.15.1 (build 29050, win64, steam)
   0.002 Operating system: Windows 10 (version 1607) 
   0.002 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.002 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.002 Write data path: C:/Users/Sandro Muster/AppData/Roaming/Factorio
   0.002 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.014 System info: [CPU: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz, 8 cores, RAM: 16287MB]
   0.016 Display options: [FullScreen: 1] [VSync: 0] [UIScale: 100%] [MultiSampling: OFF] [Screen: 255]
   0.018 Available display adapters: 1
   0.018  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 960 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.019 Create display on adapter 0. Size 1280x720 at position [310, 162].
   0.080 Initialised Direct3D:[0] NVIDIA GeForce GTX 960; driver: nvd3dumx.dll 21.21.13.7653
   0.084     Video memory size (dedicated video/dedicated system/shared system/available): 2016/0/8143/4088 MB
   0.123 DSound: Starting _dsound_update thread
   0.124 DSound: Enter _dsound_update; tid=13480
   0.126 Device reset internal.
   0.130 Desktop composition is active.
   0.130 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 100%] [DXT: false]
   0.194 Loading mod core 0.0.0 (data.lua)
   0.202 Loading mod base 0.15.1 (data.lua)
   0.298 Loading mod base 0.15.1 (data-updates.lua)
   0.355 Checksum for core: 530912544
   0.355 Checksum of base: 2731413614
   0.473 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1493065009
   0.473 Info PlayerData.cpp:62: Cloud player-data.json unavailable
   0.544 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.cso
   0.545 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.cso
   0.557 Initial atlas bitmap size is 16384
   0.576 Created atlas bitmap 16384x16371
   1.090 Created atlas bitmap 16384x8937
   1.485 Created atlas bitmap 4096x3980
   1.511 Created atlas bitmap 4096x3648
  12.687 Sprites loaded
  12.687 Convert atlas 4096x3980 to: trilinear-filtering 
  12.736 Convert atlas 4096x3648 to: mipmap 
  13.404 Loading sounds...
  15.348 Custom inputs active: 0
  15.382 Factorio initialised
  23.803 Loading map C:\Users\Sandro Muster\AppData\Roaming\Factorio\saves\_autosave1.zip: 15576235 bytes.
  23.844 Loading Level.dat: 35970351 bytes.
  23.850 Info Scenario.cpp:133: Map version 0.15.0-99
  24.917 Loading script.dat: 223 bytes.
  24.919 Checksum for script C:/Users/Sandro Muster/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 1622069129
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-86tci8\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-86tci8\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-86tci8\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-86tci8\src\wakeuplist.cpp (55): WakeUpList::registerSleeper
c:\cygwin64\tmp\factorio-86tci8\src\entity\miningdrill.cpp (959): MiningDrill::tryToGetToSleep
c:\cygwin64\tmp\factorio-86tci8\src\entity\miningdrill.cpp (513): MiningDrill::update
c:\cygwin64\tmp\factorio-86tci8\src\surface\chunk.cpp (563): Chunk::updateEntities
c:\cygwin64\tmp\factorio-86tci8\src\surface\surface.cpp (968): Surface::update
c:\cygwin64\tmp\factorio-86tci8\src\map\map.cpp (1218): Map::update
c:\cygwin64\tmp\factorio-86tci8\src\game.cpp (157): Game::update
c:\cygwin64\tmp\factorio-86tci8\src\scenario\scenario.cpp (765): Scenario::update
c:\cygwin64\tmp\factorio-86tci8\src\mainloop.cpp (819): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-86tci8\src\mainloop.cpp (688): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-86tci8\src\util\workerthread.cpp (35): WorkerThread::loop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF807F58364)
00007FF807F58364 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF8087970D1)
00007FF8087970D1 (ntdll): (filename not available): RtlUserThreadStart
  53.983 Error WakeUpList.cpp:55: Too many wakeup lists per wakeable
Logger::writeStacktrace skipped.
  53.983 Error CrashHandler.cpp:106: Map tick at moment of crash: 26958475
  53.983 Error Util.cpp:76: 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: [0.15.0] Crash on connect electric drill to logistic network

Posted: Mon Apr 24, 2017 11:36 pm
by Aerukath
I had same crash linking electric mining drills to circuit network. (set drills to turn off if belt "full") 0.15.1

Re: [0.15.0] Crash on connect electric drill to logistic network

Posted: Tue Apr 25, 2017 5:16 am
by Rseding91
Thanks for the report. Fixed for the next version.

[0.15.1] Circuit Network with Miners crash

Posted: Tue Apr 25, 2017 6:32 pm
by Voraga
So I've been able to repeat this a few times build a miner run it into a belt then circuit them together. Set the belt to read contents and the miner to activate deactivate based on the belt contents. Crash.
this is done in multiplayer haven't tried in single player.

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-86tci8\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-86tci8\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-86tci8\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-86tci8\src\wakeuplist.cpp (55): WakeUpList::registerSleeper
c:\cygwin64\tmp\factorio-86tci8\src\entity\miningdrill.cpp (959): MiningDrill::tryToGetToSleep
c:\cygwin64\tmp\factorio-86tci8\src\entity\miningdrill.cpp (513): MiningDrill::update
c:\cygwin64\tmp\factorio-86tci8\src\surface\chunk.cpp (563): Chunk::updateEntities
c:\cygwin64\tmp\factorio-86tci8\src\surface\surface.cpp (968): Surface::update
c:\cygwin64\tmp\factorio-86tci8\src\map\map.cpp (1218): Map::update
c:\cygwin64\tmp\factorio-86tci8\src\game.cpp (157): Game::update
c:\cygwin64\tmp\factorio-86tci8\src\scenario\scenario.cpp (765): Scenario::update
c:\cygwin64\tmp\factorio-86tci8\src\mainloop.cpp (819): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-86tci8\src\mainloop.cpp (688): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-86tci8\src\util\workerthread.cpp (35): WorkerThread::loop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9A50D2774)
00007FF9A50D2774 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9A7260D61)
00007FF9A7260D61 (ntdll): (filename not available): RtlUserThreadStart
 311.332 Error WakeUpList.cpp:55: Too many wakeup lists per wakeable
Logger::writeStacktrace skipped.
 311.333 Error CrashHandler.cpp:106: Map tick at moment of crash: 1369185
Note: I had 10 electric mining drills wired together with the same turn on condition, if anything was less than equal to 5. I don't know how to post my game file for you but I am making a 2nd save of it.

Thanks,
V

merged -Loewchen

Thanks for the merge Loewchen, sorry I didn't get it in the right place.
Just tested under 0.15.2 and there doesn't seem to be any issue, Awesome work guys.

Re: [0.15.1] Circuit Network with Miners crash

Posted: Fri Apr 28, 2017 3:10 pm
by Rseding91
Voraga wrote:So I've been able to repeat this a few times build a miner run it into a belt then circuit them together. Set the belt to read contents and the miner to activate deactivate based on the belt contents. Crash.
this is done in multiplayer haven't tried in single player.

Code: Select all

Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-86tci8\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-86tci8\src\util\logger.cpp (354): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-86tci8\src\util\logger.cpp (408): Logger::logStacktrace
c:\cygwin64\tmp\factorio-86tci8\src\wakeuplist.cpp (55): WakeUpList::registerSleeper
c:\cygwin64\tmp\factorio-86tci8\src\entity\miningdrill.cpp (959): MiningDrill::tryToGetToSleep
c:\cygwin64\tmp\factorio-86tci8\src\entity\miningdrill.cpp (513): MiningDrill::update
c:\cygwin64\tmp\factorio-86tci8\src\surface\chunk.cpp (563): Chunk::updateEntities
c:\cygwin64\tmp\factorio-86tci8\src\surface\surface.cpp (968): Surface::update
c:\cygwin64\tmp\factorio-86tci8\src\map\map.cpp (1218): Map::update
c:\cygwin64\tmp\factorio-86tci8\src\game.cpp (157): Game::update
c:\cygwin64\tmp\factorio-86tci8\src\scenario\scenario.cpp (765): Scenario::update
c:\cygwin64\tmp\factorio-86tci8\src\mainloop.cpp (819): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-86tci8\src\mainloop.cpp (688): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-86tci8\src\util\workerthread.cpp (35): WorkerThread::loop
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (247): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64>,std::default_delete<std::tuple<void (__cdecl WorkerThread::*)(void) __ptr64,WorkerThread * __ptr64> > > >::_Run
c:\program files (x86)\microsoft visual studio 14.0\vc\include\thr\xthread (210): std::_Pad::_Call_func
d:\th\minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9A50D2774)
00007FF9A50D2774 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9A7260D61)
00007FF9A7260D61 (ntdll): (filename not available): RtlUserThreadStart
 311.332 Error WakeUpList.cpp:55: Too many wakeup lists per wakeable
Logger::writeStacktrace skipped.
 311.333 Error CrashHandler.cpp:106: Map tick at moment of crash: 1369185
Note: I had 10 electric mining drills wired together with the same turn on condition, if anything was less than equal to 5. I don't know how to post my game file for you but I am making a 2nd save of it.

Thanks,
V

merged -Loewchen

Thanks for the merge Loewchen, sorry I didn't get it in the right place.
Just tested under 0.15.2 and there doesn't seem to be any issue, Awesome work guys.
Thanks for letting me know. I've added a migration for the next version of 0.15 that will fix mining drills in the broken state (in your save file). In the meantime if you mine the drills and put them back down it will fix the crash.