[Bilka] [0.17.41] Crash when creating combat robot

This subforum contains all the issues which we already resolved.
jogaproger
Burner Inserter
Burner Inserter
Posts: 7
Joined: Wed Mar 20, 2019 9:52 pm
Contact:

[Bilka] [0.17.41] Crash when creating combat robot

Post by jogaproger »

When i created a combat robot factorio crashed, the log file contains the following:
0.000 2019-05-19 13:59:18; Factorio 0.17.41 (build 45035, win64, alpha)
0.000 Operating system: Windows 10 (version 1803)
0.001 Program arguments: "E:\games\Factorio_0.17.33-Vanilla\bin\x64\factorio.exe"
0.001 Read data path: E:/games/Factorio_0.17.33-Vanilla/data
0.001 Write data path: E:/games/Factorio_0.17.33-Vanilla [154523/276938MB]
0.001 Binaries path: E:/games/Factorio_0.17.33-Vanilla/bin
0.007 System info: [CPU: AMD Ryzen 5 2600 Six-Core Processor, 12 cores, RAM: 2336/16316 MB, page: 4034/22716 MB, virtual: 4256/134217727 MB, extended virtual: 0 MB]
0.007 Display options: [FullScreen: 0] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: 00] [Lang: en]
0.012 Available displays: 2
0.012 [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 1050 {0x05, [0,0], 3840x2160, 32bit, 60Hz}
0.013 [1]: \\.\DISPLAY2 - NVIDIA GeForce GTX 1050 {0x01, [-1920,609], 1920x1080, 32bit, 60Hz}
0.050 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
0.107 Initialised Direct3D[0]: NVIDIA GeForce GTX 1050; id: 10de-1c81; driver: nvldumdx.dll 23.21.13.8813
0.107 D3D Feature Level: 11.1, DXGI 1.5+, SwapChain: 1,discard,-,-,none
0.107 [Local Video Memory] Budget: 1689MB, CurrentUsage: 1MB, Reservation: 0/894MB
0.107 [Non-Local Vid.Mem.] Budget: 7342MB, CurrentUsage: 0MB, Reservation: 0/3875MB
0.107 Tiled resources: Tier 2
0.107 Unified Memory Architecture: No
0.107 BGR 565 Supported: Yes
0.107 MaximumFrameLatency: 3, GPUThreadPriority: 0
0.146 Desktop composition is active.
0.146 Graphics settings preset: very-high
0.146 Dedicated video memory size 1987 MB
0.146 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality]
0.146 [Max load threads: 32] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Color: 32bit]
0.158 DSound: Starting _dsound_update thread
0.158 DSound: Enter _dsound_update; tid=11680
0.220 Loading mod core 0.0.0 (data.lua)
0.336 Loading mod base 0.17.41 (data.lua)
0.594 Loading mod base 0.17.41 (data-updates.lua)
0.735 Checksum for core: 2471542020
0.735 Checksum of base: 2846917065
0.971 Loading sounds...
1.037 Info PlayerData.cpp:67: Local player-data.json available, timestamp 1558267147
1.037 Info PlayerData.cpp:74: Cloud player-data.json unavailable
1.186 Initial atlas bitmap size is 16384
1.226 Created atlas bitmap 16384x16380 [none]
1.230 Created atlas bitmap 16384x11428 [none]
1.231 Created atlas bitmap 8192x3892 [decal]
1.232 Created atlas bitmap 16384x4288 [low-object]
1.232 Created atlas bitmap 2048x192 [icon-background, not-compressed, linear-minification, linear-magnification, linear-mip-level, , no-crop, no-scale]
1.232 Created atlas bitmap 8192x3552 [mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
1.233 Created atlas bitmap 16384x6880 [terrain, mipmap, linear-minification, linear-mip-level, no-crop]
1.234 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
1.234 Created atlas bitmap 4096x1408 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
1.234 Created atlas bitmap 8192x1496 [alpha-mask]
1.237 Created atlas bitmap 16384x12644 [shadow, linear-magnification, alpha-mask]
1.237 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
1.243 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
4.676 Parallel Sprite Loader initialized (threads: 11)
12.636 Sprites loaded
12.692 Generated mipmaps (4) for atlas [3] of size 16384x4288
12.703 Generated mipmaps (3) for atlas [5] of size 8192x3552
12.726 Generated mipmaps (3) for atlas [6] of size 16384x6880
12.738 Generated mipmaps (3) for atlas [7] of size 4096x1600
12.749 Generated mipmaps (3) for atlas [8] of size 4096x1408
12.761 Generated mipmaps (3) for atlas [11] of size 8192x2352
12.768 Custom inputs active: 6
12.827 Factorio initialised
12.829 Info HttpSharedState.cpp:54: Downloading https://updater.factorio.com/updater/ge ... iVersion=2
13.625 0 packages available to download (experimental updates enabled).
352.552 Info ServerSynchronizer.cpp:30: nextHeartbeatSequenceNumber(0) initialized Synchronizer nextTickClosureTick(0).
352.552 Info ServerMultiplayerManager.cpp:776: updateTick(4294967295) changing state from(Ready) to(PreparedToHostGame)
352.552 Info ServerMultiplayerManager.cpp:776: updateTick(4294967295) changing state from(PreparedToHostGame) to(CreatingGame)
352.552 Loading level.dat: 1292291 bytes.
352.553 Info Scenario.cpp:187: Map version 0.17.41-0
352.854 Checksum for script E:/games/Factorio_0.17.33-Vanilla/temp/currently-playing/control.lua: 412551764
352.856 Info UDPSocket.cpp:27: Opening socket at (IP ADDR:({0.0.0.0:34197}))
352.856 Hosting game at IP ADDR:({0.0.0.0:34197})
352.856 Info HttpSharedState.cpp:54: Downloading https://auth.factorio.com/generate-server-padlock-2
353.480 Info AuthServerConnector.cpp:109: Obtained serverPadlock for serverHash (6Pw3jGf1CrziloVWAK7UgRsy7OEyysnV) from the auth server.
353.480 Info ServerMultiplayerManager.cpp:776: updateTick(0) changing state from(CreatingGame) to(InGame)
353.485 Info GameActionHandler.cpp:4067: UpdateTick (0) processed PlayerJoinGame peerID(0) playerIndex(0) mode(create)
43004.599 Error CrashHandler.cpp:434: Exception Code: c0000005, Address: 0x00007ff72fc9f2ed
ModuleBase: 0x00007ff72fc70000, ImageSize: 016a0000, RelativeAddress: 0002f2ed
43004.599 Error CrashHandler.cpp:440: Access Violation: Read at address FFFFFFFFFFFFFFFF
43004.599 Error CrashHandler.cpp:454: Exception Context:
rax=1070049f00900208, rbx=000001fb82f8c3c0, rcx=000001fb82f8c3c0,
rdx=000001fbfa758300, rsi=000001fc10c97e70, rdi=0000000000000000,
rip=00007ff72fc9f2ed, rsp=000000a31c57e800, rbp=0000000000000002,
r8=0000000000000000, r9=000001fc10bcdd80, r10=0000000000000000,
r11=000000a31c57e8a8, r12=000001fbff95c930, r13=000001fbfce007a0,
r14=000001fbfc6b1650, r15=0000000000000001
43004.599 Crashed in E:\games\Factorio_0.17.33-Vanilla\bin\x64\factorio.exe (0x00007ff72fc70000 - 0x00007ff731310000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-pqc1pb\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-pqc1pb\src\util\logger.cpp (383): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-pqc1pb\src\util\logger.cpp (534): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-pqc1pb\src\util\crashhandler.cpp (172): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-pqc1pb\src\util\crashhandler.cpp (483): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF8E0EBDC0)
00007FFF8E0EBDC0 (KERNELBASE): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF91123167)
00007FFF91123167 (ntdll): (filename not available): memset
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9110B5E6)
00007FFF9110B5E6 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9111F7DD)
00007FFF9111F7DD (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9108D856)
00007FFF9108D856 (ntdll): (filename not available): RtlWalkFrameChain
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF9111E70E)
00007FFF9111E70E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-pqc1pb\src\achievement\achievementstats.cpp (412): AchievementStats::onCombatRobotAdded
c:\cygwin64\tmp\factorio-build-pqc1pb\src\entity\combatrobot.cpp (234): CombatRobot::setup
c:\cygwin64\tmp\factorio-build-pqc1pb\src\surface\surface.cpp (184): Surface::setupEntity
c:\cygwin64\tmp\factorio-build-pqc1pb\src\surface\surface.cpp (178): Surface::addEntity
c:\cygwin64\tmp\factorio-build-pqc1pb\src\trigger\createentitytriggereffectitem.cpp (55): CreateEntityTriggerEffectItem::addEntityToSurfaceIfAllowed
c:\cygwin64\tmp\factorio-build-pqc1pb\src\trigger\createentitytriggereffectitem.cpp (36): CreateEntityTriggerEffectItem::applyInternal
c:\cygwin64\tmp\factorio-build-pqc1pb\src\trigger\triggereffect.cpp (32): TriggerEffect::apply
c:\cygwin64\tmp\factorio-build-pqc1pb\src\trigger\directtriggeritem.cpp (27): DirectTriggerItem::apply
c:\cygwin64\tmp\factorio-build-pqc1pb\src\entity\projectile.cpp (201): Projectile::hit
c:\cygwin64\tmp\factorio-build-pqc1pb\src\entity\projectile.cpp (143): Projectile::update
c:\cygwin64\tmp\factorio-build-pqc1pb\src\surface\chunk.cpp (567): Chunk::updateActiveEntities
c:\cygwin64\tmp\factorio-build-pqc1pb\src\surface\chunk.cpp (624): Chunk::updateEntities
c:\cygwin64\tmp\factorio-build-pqc1pb\src\surface\surface.cpp (1366): Surface::update
c:\cygwin64\tmp\factorio-build-pqc1pb\src\map\map.cpp (1458): Map::updateEntities
c:\cygwin64\tmp\factorio-build-pqc1pb\src\game.cpp (201): Game::update
c:\cygwin64\tmp\factorio-build-pqc1pb\src\scenario\scenario.cpp (1211): Scenario::update
c:\cygwin64\tmp\factorio-build-pqc1pb\src\mainloop.cpp (1155): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-pqc1pb\src\mainloop.cpp (1022): MainLoop::gameUpdateLoop
c:\cygwin64\tmp\factorio-build-pqc1pb\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 RouterBase::*)(void),ClientRouter *>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void),ClientRouter *> > > >::_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: 00007FFF8F844034)
00007FFF8F844034 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF910F3691)
00007FFF910F3691 (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
43006.535 Error CrashHandler.cpp:177: Map tick at moment of crash: 2498805
43006.535 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.
43063.791 Uploading log file
43063.858 Error CrashHandler.cpp:222: Heap validation: success.
43063.859 Creating crash dump.
43064.129 CrashDump success
Phoenix27833
Long Handed Inserter
Long Handed Inserter
Posts: 52
Joined: Mon Aug 27, 2018 12:46 pm
Contact:

Re: [0.17.41] Crash when creating combat robot

Post by Phoenix27833 »

I replicated the crash.

Steps to reproduce:
1. Reset achievements using the ingame delete achievements setting.
2. Load the attached savegame. (It is a new game I modified the control.lua to insert robots to player inventory on player_mined_entity and unlock research)
3. Mine a tree.
4. Try to build a defender capsule.
5. Game crashes
Attachments
test.zip
(1.59 MiB) Downloaded 121 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: [0.17.41] Crash when creating combat robot

Post by Bilka »

Thank you for the report and the reproduction steps, fixed for the next version. Good luck with the next 100% speedrun attempt :)
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Resolved Problems and Bugs”