[boskid][1.1.53] Crash replacing pole (ElectricSubNetwork::removeConnectedEntityID)

This subforum contains all the issues which we already resolved.
Post Reply
Black Ice
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Apr 13, 2016 10:55 pm
Contact:

[boskid][1.1.53] Crash replacing pole (ElectricSubNetwork::removeConnectedEntityID)

Post by Black Ice »

Mods: Resource Spawner Overhaul
Replacing the small electric pole that the player is standing next to in this save with a medium electric pole causes a crash. The small electric pole is marked for deconstruction and has a blueprint ghost for a medium electric pole on it. It doesn't work for every power pole.
Attachments
backup.zip
save file
(7.57 MiB) Downloaded 57 times
factorio-dump-current.dmp
crash log
(714.86 KiB) Downloaded 52 times

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

Re: Crash when replacing power pole.

Post by Loewchen »

Post the log file, see 3638.
Can you reproduce the crash with the save provided?

Black Ice
Manual Inserter
Manual Inserter
Posts: 4
Joined: Wed Apr 13, 2016 10:55 pm
Contact:

Re: Crash when replacing power pole.

Post by Black Ice »

Posted the wrong log file, apologies! I can reproduce with this save file yes
Attachments
factorio-current.log
(4.83 KiB) Downloaded 143 times

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

Re: Crash when replacing power pole.

Post by Loewchen »

Reproduced the crash:

Code: Select all

   0.001 2022-02-09 01:45:09; Factorio 1.1.53 (build 59373, win64, full)
   0.001 Operating system: Windows 7 Service Pack 1
   0.001 Program arguments: "F:\Factorio_1.1.21\bin\x64\factorio.exe" 
   0.001 Read data path: F:/Factorio_1.1.21/data
   0.001 Write data path: F:/Factorio_1.1.21 [1784223/1907599MB]
   0.002 Binaries path: F:/Factorio_1.1.21/bin
   0.011 System info: [CPU:        Intel(R) Core(TM) i5-2500K CPU @ 3.30GHz, 4 cores, RAM: 7687/16353 MB, page: 10337/32704 MB, virtual: 105/8388607 MB, extended virtual: 0 MB]
   0.011 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.014 Available displays: 1
   0.014  [0]: \\.\DISPLAY1 - NVIDIA GeForce GTX 770 {0x05, [0,0], 1920x1080, 32bit, 60Hz}
   0.051 [Direct3D11] Display: 0, Output: 0, DisplayAdapter: 0, RenderingAdapter: 0; d3dcompiler_47.dll
   0.083 Initialised Direct3D[0]: NVIDIA GeForce GTX 770; id: 10de-1184; driver: nvd3dumx.dll 22.21.13.8541
   0.083   D3D Feature Level: 11.0, DXGI 1.2+, SwapChain: 1,discard,-,-,-,none
   0.083   BGR 565 Supported: No
   0.083   MaximumFrameLatency: 3, GPUThreadPriority: 0
   0.083 Graphics settings preset: high
   0.083   Dedicated video memory size 1989 MB
   0.130 Desktop composition is active.
   0.130 Graphics options: [Graphics quality: high] [Video memory usage: high] [DXT: high-quality] [Color: 32bit]
   0.130                   [Max threads (load/render): 32/4] [Max texture size: 0] [Tex.Stream.: 1] [Rotation quality: low] [Other: STDCWT] [B:0,C:0,S:100]
   0.148 DSound: Starting _dsound_update thread
   0.148 [Audio] Backend:default; Depth:16, Channel:2, Frequency:44100; MixerQuality:linear
   0.148 DSound: Enter _dsound_update; tid=18344
   0.238 Info ModManager.cpp:254: Found duplicate mod aai-industry, using higher version (0.5.7 > 0.5.3).
   0.454 Info ModManager.cpp:254: Found duplicate mod deadlock-beltboxes-loaders, using higher version (2.4.2 > 2.4.1).
   0.461 Info ModManager.cpp:254: Found duplicate mod even-distribution, using higher version (1.0.8 > 1.0.7).
   0.481 Info ModManager.cpp:254: Found duplicate mod flib, using higher version (0.7.0 > 0.6.1).
   0.563 Info ModManager.cpp:254: Found duplicate mod miniloader, using higher version (1.14.2 > 1.13.1).
   0.610 Info ModManager.cpp:254: Found duplicate mod rso-mod, using higher version (6.2.3 > 6.2.1).
   0.751 Loading mod core 0.0.0 (data.lua)
   0.840 Loading mod base 1.1.53 (data.lua)
   1.168 Loading mod base 1.1.53 (data-updates.lua)
   1.285 Checksum for core: 1625176034
   1.285 Checksum of base: 98178652
   1.498 Prototype list checksum: 3034860339
   1.535 Loading sounds...
   1.612 Info PlayerData.cpp:71: Local player-data.json available, timestamp 1644367391
   1.612 Info PlayerData.cpp:78: Cloud player-data.json unavailable
   1.832 Initial atlas bitmap size is 16384
   1.872 Created atlas bitmap 16384x16376 [none]
   1.874 Created atlas bitmap 16384x4428 [none]
   1.874 Created atlas bitmap 8192x4188 [decal]
   1.876 Created atlas bitmap 16384x5568 [low-object]
   1.876 Created atlas bitmap 8192x4208 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.877 Created atlas bitmap 16384x6064 [terrain, mipmap, linear-minification, linear-mip-level]
   1.877 Created atlas bitmap 4096x3216 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   1.878 Created atlas bitmap 4096x1856 [smoke, mipmap, linear-minification, linear-magnification]
   1.878 Created atlas bitmap 4096x3104 [mipmap]
   1.879 Created atlas bitmap 8192x2240 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   1.879 Created atlas bitmap 8192x1496 [alpha-mask]
   1.883 Created atlas bitmap 16384x13388 [shadow, linear-magnification, alpha-mask]
   1.884 Created atlas bitmap 8192x2336 [shadow, mipmap, linear-magnification, alpha-mask]
   1.884 Created atlas bitmap 2048x240 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   1.934 Created virtual atlas pages 4096x4096x7
   1.942 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   2.646 Parallel Sprite Loader initialized (threads: 3)
  19.830 Sprites loaded
  20.072 Generated mipmaps (4) for atlas [3] of size 16384x5568   
  20.084 Generated mipmaps (3) for atlas [4] of size 8192x4208   
  20.108 Generated mipmaps (3) for atlas [5] of size 16384x6064   
  20.122 Generated mipmaps (3) for atlas [6] of size 4096x3216   
  20.133 Generated mipmaps (3) for atlas [7] of size 4096x1856   
  20.176 Generated mipmaps (3) for atlas [8] of size 4096x3104   
  20.190 Generated mipmaps (5) for atlas [9] of size 8192x2240   
  20.206 Generated mipmaps (3) for atlas [12] of size 8192x2336   
  20.244 Custom mipmaps uploaded.
  20.457 Generated mipmaps for virtual atlas of size 8192x16384
  20.746 Factorio initialised
  50.754 Loading map F:\Factorio_1.1.21\saves\backup.zip: 7938353 bytes.
  50.816 Loading level.dat: 17900614 bytes.
  50.819 Info Scenario.cpp:198: Map version 1.1.53-0
  51.594 Loading script.dat: 10039 bytes.
  51.597 Checksum for script F:/Factorio_1.1.21/temp/currently-playing/control.lua: 3795083680
  79.829 Error CrashHandler.cpp:492: Exception Code: c0000005, Address: 0x000000013f72acd9
ModuleBase: 0x000000013f4e0000, ImageSize: 01da0000, RelativeAddress: 0024acd9
  79.829 Error CrashHandler.cpp:498: Access Violation: Read at address 0000000000000040
  79.829 Error CrashHandler.cpp:512: Exception Context:
rax=000000001bbcff90, rbx=0000000095191c48, rcx=0000000000000000,
rdx=00000000000000ac, rsi=0000000000000021, rdi=0000000000000021,
rip=000000013f72acd9, rsp=000000007138dfd0, rbp=000000007138e110,
 r8=0000000095191b30,  r9=0000000000000016, r10=0000000086ef1340,
r11=d6f066a2005a0001, r12=0000000000000000, r13=00000000870aab60,
r14=000000009d0347e0, r15=0000000000000000
  79.829 Crashed in F:\Factorio_1.1.21\bin\x64\factorio.exe (0x000000013f4e0000 - 0x0000000141280000)
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-build-4ozhq2\libraries\stackwalker\stackwalker.cpp (924): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-build-4ozhq2\src\util\logger.cpp (545): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-build-4ozhq2\src\util\logger.cpp (552): Logger::logStacktrace
c:\cygwin64\tmp\factorio-build-4ozhq2\src\util\crashhandler.cpp (184): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-build-4ozhq2\src\util\crashhandler.cpp (541): CrashHandler::SehHandler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000076F4BC20)
0000000076F4BC20 (kernel32): (filename not available): UnhandledExceptionFilter
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077049035)
0000000077049035 (ntdll): (filename not available): longjmp
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077027398)
0000000077027398 (ntdll): (filename not available): _C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007703BF9D)
000000007703BF9D (ntdll): (filename not available): _chkstk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00000000770104CA)
00000000770104CA (ntdll): (filename not available): RtlInitializeResource
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007703B63E)
000000007703B63E (ntdll): (filename not available): KiUserExceptionDispatcher
c:\cygwin64\tmp\factorio-build-4ozhq2\src\energy\electricsubnetwork.cpp (625): ElectricSubNetwork::removeConnectedEntityID
c:\cygwin64\tmp\factorio-build-4ozhq2\src\entity\electricpole.cpp (994): ElectricPole::reconnectToNetwork
c:\cygwin64\tmp\factorio-build-4ozhq2\src\entity\electricpole.cpp (551): ElectricPole::setupOrientationAndNetworksAfterDisconnect
c:\cygwin64\tmp\factorio-build-4ozhq2\src\entity\electricpole.cpp (601): ElectricPole::disconnectElectricPoles
c:\cygwin64\tmp\factorio-build-4ozhq2\src\entity\electricpole.cpp (468): ElectricPole::onDestroy
c:\cygwin64\tmp\factorio-build-4ozhq2\src\entity\entity.cpp (337): Entity::forceDestroy
c:\cygwin64\tmp\factorio-build-4ozhq2\src\entity\entity.cpp (1032): Entity::mine
c:\cygwin64\tmp\factorio-build-4ozhq2\src\manualstorage.cpp (236): ManualStorage::handleMinedEntity
c:\cygwin64\tmp\factorio-build-4ozhq2\src\commonmanualbuilder.cpp (421): CommonManualBuilder::buildCommon
c:\cygwin64\tmp\factorio-build-4ozhq2\src\manualbuilder.cpp (344): ManualBuilder::build
c:\cygwin64\tmp\factorio-build-4ozhq2\src\controller\charactercontroller.cpp (617): CharacterController::build
c:\cygwin64\tmp\factorio-build-4ozhq2\src\gameactionhandler.cpp (740): GameActionHandler::build
c:\cygwin64\tmp\factorio-build-4ozhq2\src\gameactionhandler.cpp (368): GameActionHandler::actionPerformed
c:\cygwin64\tmp\factorio-build-4ozhq2\src\input\inputhandler.cpp (61): InputHandler::flushActions
c:\cygwin64\tmp\factorio-build-4ozhq2\src\gameactionhandler.cpp (410): GameActionHandler::update
c:\cygwin64\tmp\factorio-build-4ozhq2\src\mainloop.cpp (1245): MainLoop::gameUpdateStep
c:\cygwin64\tmp\factorio-build-4ozhq2\src\mainloop.cpp (1108): MainLoop::gameUpdateLoop
c:\program files (x86)\microsoft visual studio\2017\buildtools\vc\tools\msvc\14.15.26726\include\functional (15732480): std::_Func_impl_no_alloc<<lambda_a8c3b51d51ae43d34b807370bc2f74a8>,void>::_Do_call
c:\cygwin64\tmp\factorio-build-4ozhq2\src\util\workerthread.cpp (49): 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),ServerRouter *>,std::default_delete<std::tuple<void (__cdecl RouterBase::*)(void),ServerRouter *> > > >::_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: 0000000076EC59CD)
0000000076EC59CD (kernel32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 000000007702383D)
000000007702383D (ntdll): (filename not available): RtlUserThreadStart
Stack trace logging done
  89.757 Error CrashHandler.cpp:189: Map tick at moment of crash: 2146776
  89.923 Info CrashHandler.cpp:309: Executable CRC: 449370941
  89.924 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.
  97.173 Error CrashHandler.cpp:260: Heap validation: success.
  97.174 Creating crash dump.
  97.289 CrashDump success

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 1787
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [1.1.53] Crash replacing pole (ElectricSubNetwork::removeConnectedEntityID)

Post by boskid »

Thanks for the report. Issue should be fixed for 1.1.58.

Post Reply

Return to “Resolved Problems and Bugs”