[Dominik][0.17.4][Mod] Crash when deconstruct lab with steam power source

This subforum contains all the issues which we already resolved.
Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

[Dominik][0.17.4][Mod] Crash when deconstruct lab with steam power source

Post by darkfrei »

You can test it by yourself:

Download the mod: https://mods.factorio.com/mod/Steamed

Open data-updates.lua

Uncomment line 52:
2019-03-03 13_28_29-D__Factorio_0.17.4_mods_Steamed_0.1.0_data-updates.lua - Notepad++.png
2019-03-03 13_28_29-D__Factorio_0.17.4_mods_Steamed_0.1.0_data-updates.lua - Notepad++.png (4.72 KiB) Viewed 1762 times
Start the game, place the lab, remove the lab. Get crash.
2019-03-03 13_29_59-Factorio 0.17.4.png
2019-03-03 13_29_59-Factorio 0.17.4.png (161.32 KiB) Viewed 1762 times
2019-03-03 13_30_05-Error.png
2019-03-03 13_30_05-Error.png (12.98 KiB) Viewed 1762 times
factorio-current.log
(11.57 KiB) Downloaded 111 times

Loewchen
Global Moderator
Global Moderator
Posts: 8317
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: Crash when deconstruct lab with steam power source

Post by Loewchen »

Code: Select all

   0.000 2019-03-03 13:29:36; Factorio 0.17.4 (build 43174, win64, alpha)
   0.000 Operating system: Windows 10 (version 1803) 
   0.001 Program arguments: "D:\Factorio_0.17.4\bin\x64\factorio.exe" 
   0.001 Read data path: D:/Factorio_0.17.4/data
   0.001 Write data path: D:/Factorio_0.17.4 [313830/932883MB]
   0.001 Binaries path: D:/Factorio_0.17.4/bin
   0.007 System info: [CPU: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz, 8 cores, RAM: 3508/16311 MB, page: 4231/17335 MB, virtual: 4251/134217727 MB, extended virtual: 0 MB]
   0.007 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.009 Available displays: 1
   0.009  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 980 {0x80005, [0,0], 1920x1080, 32bit, 60Hz}
   0.046 Display: 0 -> Adapter: 0, Output: 0
   0.092 Initialised Direct3D[0]: NVIDIA GeForce GTX 980; driver: nvldumdx.dll 23.21.13.8813
   0.092   D3D Feature Level: 11.1, DXGI 1.5+
   0.092   [Local Video Memory] Budget: 3451MB, CurrentUsage: 2MB, Reservation: 0/1827MB
   0.092   [Non-Local Vid.Mem.] Budget: 7340MB, CurrentUsage: 0MB, Reservation: 0/3874MB
   0.092   Tiled resources: Tier 2
   0.092   Unified Memory Architecture: No
   0.092   BGR 565 Supported: Yes
   0.092   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.126 Desktop composition is active.
   0.126 Graphics settings preset: very-high
   0.126   Dedicated video memory size 4060 MB
   0.126 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
   0.126                   [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Low quality rotation: 0]
   0.139 DSound: Starting _dsound_update thread
   0.139 DSound: Enter _dsound_update; tid=7808
   0.208 Loading mod core 0.0.0 (data.lua)
   0.280 Loading mod base 0.17.4 (data.lua)
   0.496 Loading mod Steamed 0.1.0 (data.lua)
   0.583 Loading mod base 0.17.4 (data-updates.lua)
   0.667 Loading mod Steamed 0.1.0 (data-updates.lua)
   0.668 Script @__Steamed__/data-updates.lua:4:  ==============================================
   0.668 Script @__Steamed__/data-updates.lua:5:  ==============================================
   0.668 Script @__Steamed__/data-updates.lua:6:  ==============================================
   0.668 Script @__Steamed__/data-updates.lua:7:  ================ < HI DEVS > =================
   0.668 Script @__Steamed__/data-updates.lua:8:  ==============================================
   0.668 Script @__Steamed__/data-updates.lua:9:  ==============================================
   0.668 Script @__Steamed__/data-updates.lua:10: ==============================================
   0.668 Script @__Steamed__/data-updates.lua:65: stone-furnace position {x = -1.5, y = 0.5}
   0.669 Script @__Steamed__/data-updates.lua:65: steel-furnace position {x = -1.5, y = 0.5}
   0.669 Script @__Steamed__/data-updates.lua:65: electric-furnace position {x = -2, y = 0}
   0.669 Script @__Steamed__/data-updates.lua:65: assembling-machine-1 position {x = -2, y = 0}
   0.669 Script @__Steamed__/data-updates.lua:65: escape-pod-assembler position {x = -2, y = 0}
   0.669 Script @__Steamed__/data-updates.lua:65: assembling-machine-2 position {x = -2, y = 0}
   0.669 Script @__Steamed__/data-updates.lua:65: assembling-machine-3 position {x = -2, y = 0}
   0.669 Script @__Steamed__/data-updates.lua:65: oil-refinery position {x = -3, y = -1}
   0.669 Script @__Steamed__/data-updates.lua:65: chemical-plant position {x = -2, y = 0}
   0.670 Script @__Steamed__/data-updates.lua:65: centrifuge position {x = -2, y = 0}
   0.670 Script @__Steamed__/data-updates.lua:65: electric-mining-drill position {x = -2, y = 0}
   0.670 Script @__Steamed__/data-updates.lua:65: burner-mining-drill position {x = -1.5, y = 0.5}
   0.670 Script @__Steamed__/data-updates.lua:65: pumpjack position {x = -2, y = 0}
   0.670 Script @__Steamed__/data-updates.lua:65: lab position {x = -2, y = 0}
   0.670 Script @__Steamed__/data-updates.lua:65: escape-pod-lab position {x = -2, y = 0}
   0.758 Checksum for core: 3928040144
   0.759 Checksum of base: 60305742
   0.759 Checksum of Steamed: 1783883749
   1.200 Loading sounds...
   1.324 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1551615547
   1.324 Info PlayerData.cpp:74: Cloud player-data.json unavailable
   1.438 Initial atlas bitmap size is 16384
   1.464 Created atlas bitmap 16384x16384 [no-crop]
   1.466 Created atlas bitmap 16384x11376 [none]
   1.467 Created atlas bitmap 16384x2116 [decal]
   1.468 Created atlas bitmap 16384x3808 [low-object]
   1.468 Created atlas bitmap 16384x1888 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.469 Created atlas bitmap 16384x6592 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
   1.469 Created atlas bitmap 16384x480 [smoke, mipmap, linear-minification, linear-magnification]
   1.469 Created atlas bitmap 16384x456 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
   1.469 Created atlas bitmap 16384x748 [alpha-mask]
   1.471 Created atlas bitmap 16384x12628 [shadow, linear-magnification, alpha-mask]
   1.472 Created atlas bitmap 16384x1264 [shadow, mipmap, linear-magnification, alpha-mask]
   1.478 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.501 Parallel Sprite Loader initialized (threads: 7)
   9.829 Sprites loaded
   9.905 Generated mipmaps for atlas of size 16384x3808
   9.937 Generated mipmaps for atlas of size 16384x1888
   9.968 Generated mipmaps for atlas of size 16384x6592
   9.979 Generated mipmaps for atlas of size 16384x480
   9.991 Generated mipmaps for atlas of size 16384x456
  10.002 Generated mipmaps for atlas of size 16384x1264
  10.015 Custom inputs active: 0
  10.127 Factorio initialised
  10.128 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/get-available-versions?username=darkfrei&token=<private>&apiVersion=2
  10.986 Info HttpSharedState.cpp:147: Status code: 200
  10.989 0 packages available to download (experimental updates enabled).
  14.171 Loading map D:\Factorio_0.17.4\saves\_autosave1.zip: 4149696 bytes.
  14.293 Loading Level.dat: 5564293 bytes.
  14.297 Info Scenario.cpp:147: Map version 0.17.4-1
  14.407 Loading script.dat: 368 bytes.
  14.411 Checksum for script D:/Factorio_0.17.4/temp/currently-playing/control.lua: 2366710471
  14.412 Checksum for script __Steamed__/control.lua: 1793845657
  20.791 Error CrashHandler.cpp:376: Exception Code: c0000005, Address: 0x00007ff672895114
ModuleBase: 0x00007ff672620000, ImageSize: 015e5000, RelativeAddress: 00275114
  20.791 Error CrashHandler.cpp:382: Access Violation: Read at address 0000000000000000
  20.791 Error CrashHandler.cpp:396: Exception Context:
rax=0000000000000000, rbx=0000026e4139d920, rcx=0000026e90069ed0,
rdx=0000026e4139d920, rsi=0000026e3ebd9b50, rdi=0000000000000000,
rip=00007ff672895114, rsp=000000eb6381ebb0, rbp=000000eb6381ecb0,
 r8=0000026e58d73cc0,  r9=0000000000008000, r10=0000000000000002,
r11=0000000000000000, r12=0e38e38e38e38e39, r13=0000000000000000,
r14=0000000000000000, r15=0000000000000000
  20.792 Crashed in D:\Factorio_0.17.4\bin\x64\factorio.exe (0x00007ff672620000 - 0x00007ff673c05000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-jazpmx\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\logger.cpp (405): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\logger.cpp (515): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\crashhandler.cpp (169): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\crashhandler.cpp (423): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF9850EBDD0)
00007FF9850EBDD0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987E93167)
00007FF987E93167 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987E7B5E6)
00007FF987E7B5E6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987E8F7DD)
00007FF987E8F7DD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987DFD856)
00007FF987DFD856 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987E8E70E)
00007FF987E8E70E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-jazpmx\src\fluid\fluidbox.cpp (827): FluidBox::onDestroy
c:\cygwin64\tmp\factorio-build-jazpmx\src\energy\fluidenergysource.cpp (89): FluidEnergySource::onDestroy
c:\cygwin64\tmp\factorio-build-jazpmx\src\entity\entity.cpp (448): Entity::onDestroy
c:\cygwin64\tmp\factorio-build-jazpmx\src\entity\entitywithowner.cpp (67): EntityWithOwner::onDestroy
c:\cygwin64\tmp\factorio-build-jazpmx\src\entity\lab.cpp (275): Lab::onDestroy
c:\cygwin64\tmp\factorio-build-jazpmx\src\entity\entity.cpp (284): Entity::forceDestroy
c:\cygwin64\tmp\factorio-build-jazpmx\src\manualstorage.cpp (212): ManualStorage::handleMinedEntity
c:\cygwin64\tmp\factorio-build-jazpmx\src\manualminer.cpp (123): ManualMiner::performMining
c:\cygwin64\tmp\factorio-build-jazpmx\src\entity\character.cpp (672): Character::update
c:\cygwin64\tmp\factorio-build-jazpmx\src\surface\chunk.cpp (555): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-build-jazpmx\src\surface\chunk.cpp (604): Chunk::updateEntities
c:\cygwin64\tmp\factorio-build-jazpmx\src\surface\surface.cpp (1362): Surface::update
c:\cygwin64\tmp\factorio-build-jazpmx\src\map\map.cpp (1435): Map::updateEntities
c:\cygwin64\tmp\factorio-build-jazpmx\src\game.cpp (189): Game::update
c:\cygwin64\tmp\factorio-build-jazpmx\src\scenario\scenario.cpp (1077): Scenario::update
c:\cygwin64\tmp\factorio-build-jazpmx\src\mainloop.cpp (1064): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-jazpmx\src\mainloop.cpp (931): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-jazpmx\src\util\workerthread.cpp (42): WorkerThread::loop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (230): std::_LaunchPad<std::unique_ptr<std::tuple<void (__cdecl TransferSource::*)(void),TransferSource *>,std::default_delete<std::tuple<void (__cdecl TransferSource::*)(void),TransferSource *> > > >::_Go
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\thr\xthread (209): std::_Pad::_Call_func
minkernel\crts\ucrt\src\appcrt\startup\thread.cpp (115): thread_start<unsigned int (__cdecl*)(void * __ptr64)>
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987593DC4)
00007FF987593DC4 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF987E63691)
00007FF987E63691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  27.955 Error CrashHandler.cpp:174: Map tick at moment of crash: 72383
  27.955 Error Util.cpp:97: 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.
  35.403 Uploading log file
  35.417 Error CrashHandler.cpp:221: Heap validation: success.
  35.417 Creating crash dump.
  35.560 CrashDump success

Dominik
Former Staff
Former Staff
Posts: 658
Joined: Sat Oct 12, 2013 9:08 am
Contact:

Re: [Dominik][0.17.4][Mod] Crash when deconstruct lab with steam power source

Post by Dominik »

Thanks for the report, this case of fluid energy source was not handled well.

Post Reply

Return to “Resolved Problems and Bugs”