[boskid][2.0.11] Game crashes when turning specific circuit on

This subforum contains all the issues which we already resolved.
MarkHart
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Oct 28, 2024 4:56 pm
Contact:

[boskid][2.0.11] Game crashes when turning specific circuit on

Post by MarkHart »

Blueprint string:

Code: Select all

0eNrdWF1uozAQvoufTRWDSQNSD7DSPvW1qhAh09YqGNaYtFHFAfYge7E9yY7tANmU/NDudtVVHhjG45lvfjxj8kKWeQOVElKT+IWIrJQ1iW9eSC3uZZobnkwLIDFJ6xqKZS7kvVek2YOQ4PmkpUTIFTyTmLV0ZNMKMrEC5WVlsRQy1aXa2eK3t5SA1EILcEbtyyaRTbEEhTrpUeOUVGWNm0tpLBoMjF2ElGxIzBcXIRpCb7Qq82QJD+laoHGUq0EnCmFVqFerBihRkK4SVK1gJRBB7fitcWgPkN8DqiGHDN3Z9ewInpAdQFNWoFK3BdcbzAJ1z2SIpd4YrGQtlG6QM2CwEt4X0o5hDaZinU3B6nSiGkckRfrchdNm993wOT1SQyPo/VPot2oSXFvZrbXh7r5hAd4JVU8LvYmAUTJxEzpTpco6E5Of33+g1K7tRIJ+KtWjxYh12cUWaxTQ57s0r2Hf9Os9Vqzf5Ioaj1zZ6KrR+8f8HNTnWRjNZzgxn8HnyudnTN4IqgPJm/cKzXzQqdQnshf22TvSh7M+awONXnUDxQQ116D2uSd9peQbLiB+ZMpSFVbotwN31XVZEnsMfR73+nKq1/zTeH3Y6cXEc9pPjeADz+n1qxZ6Rd58OGANaqPxTnFPDtV/NHWW+qeicnKWbo+/G6Zd/ZF4NgaPzYaLkhL6oQAtsnP76yGEg6a91E3MFeB9baetDq5gUe9GwSNd/s7X/dXcHcYCwqYHhP+jgExx9v0Rc8bHgzbcbgu8CTeFZ8tRYeSqMoejbR7rfVRl8NZuEv4P3cRorTaJu8/fqbLArwzU2A3b8V7D+MSxM4u6oM0/fOxc/6mxw8Kpw3b2F73eIlk2+aMnZA0KZSZ7SkmKJtcwpBvbeZ2UO5ctSp6Est++N4ziL6DsliLp04BypHxkOp5POf58pPCdLmhgKVz3LZMjM7SCKISU4wU9jyNlFIZWLthSl3YVVzo180HjwuEJLOmjRW4pTiO7HBlJtiVx/8yS+AgM23ph4Tk/HO3wOzrs6MDw2S2GQmgoTND7/yMowbNU25yHcz/iURRyxn2fsbb9BaKMo7c=


How to reproduce:

Set the bottom left decider on R=0 (no reset), set the bottom right decider to stack_inserter=1. The game now seems to crash with this circuit.


Screenshot:
10-28-2024, 18-13-04.png
10-28-2024, 18-13-04.png (680.13 KiB) Viewed 682 times

Log:

Code: Select all

   0.000 2024-10-28 17:47:29; Factorio 2.0.11 (build 79682, mac-arm64, steam, space-age)
   0.001 Operating system: OS X 15.0.1
   0.000 Initializing Steam API.
   0.001 Program arguments: "/Users/markhart/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.001 Config path: /Users/markhart/Library/Application Support/factorio/config/config.ini
   0.001 Read data path: /Users/markhart/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.001 Write data path: /Users/markhart/Library/Application Support/factorio [141140/471482MB]
   0.001 Binaries path: /Users/markhart/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.062 System info: [CPU: arm64, 10 cores, RAM: 16384 MB]
   0.235 Display options: [FullScreen: false] [VSync: true] [UIScale: automatic (100.0%)] [Native DPI: false] [Screen: 255] [Special: lmW] [Lang: en]
   0.327 Video driver: cocoa
   0.327 Available displays: 1
   0.328  [0]: 0 - {[0,0], 1496x967, SDL_PIXELFORMAT_ARGB8888, 120Hz, 0x0001(0x01)}
   0.359 Initialised OpenGL:[0] Apple M1 Pro; driver: 4.1 Metal - 89.3
   0.359   [Extensions] s3tc:yes; KHR_debug:NO; ARB_clear_texture:NO, ARB_copy_image:NO, ARB_pipeline_statistics_query:NO, ARB_gl_spirv:NO, ARB_ES2_compatibility:yes
   0.359   [Version] 4.1
   0.359 Graphics settings preset: very-high
   0.359   Dedicated video memory size 10922 MB (detected from Apple M1 Pro; VendorID: 0x1027f00)
   0.601 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   0.601                   [Max threads (load/render): 32/10] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   0.723 [Audio] Driver:coreaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   1.264 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   1.264 Info ModManager.cpp:434: FeatureFlag freezing = true
   1.264 Info ModManager.cpp:434: FeatureFlag quality = true
   1.264 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   1.264 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   1.264 Info ModManager.cpp:434: FeatureFlag space-travel = true
   1.264 Info ModManager.cpp:434: FeatureFlag spoiling = true
   1.271 Loading mod core 0.0.0 (data.lua)
   1.294 Loading mod base 2.0.11 (data.lua)
   1.481 Loading mod elevated-rails 2.0.11 (data.lua)
   1.507 Loading mod quality 2.0.11 (data.lua)
   1.521 Loading mod space-age 2.0.11 (data.lua)
   1.879 Loading mod base 2.0.11 (data-updates.lua)
   1.890 Loading mod quality 2.0.11 (data-updates.lua)
   1.908 Loading mod space-age 2.0.11 (data-updates.lua)
   1.981 Checksum for core: 1043092351
   1.981 Checksum of base: 708330460
   1.981 Checksum of elevated-rails: 1891730324
   1.981 Checksum of quality: 4264147466
   1.981 Checksum of space-age: 4032004066
   2.289 Prototype list checksum: 124222065
   2.321 Loading sounds...
   2.903 Info PlayerData.cpp:68: Local player-data.json unavailable
   2.904 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1730075159
   3.251 Initial atlas bitmap size is 16384
   3.261 Created an atlas bitmap (size 16384x16372) [none]
   3.274 Created an atlas bitmap (size 16384x16380) [none]
   3.295 Created an atlas bitmap (size 16384x16384) [none]
   3.295 Created an atlas bitmap (size 16384x15412) [none]
   3.295 Created an atlas bitmap (size 16384x8376) [decal]
   3.298 Created an atlas bitmap (size 16384x16352) [low-object]
   3.298 Created an atlas bitmap (size 4096x1472) [low-object]
   3.299 Created an atlas bitmap (size 16384x13472) [corpse-decay]
   3.299 Created an atlas bitmap (size 16384x5580) [none]
   3.299 Created an atlas bitmap (size 1676x79) [not-compressed]
   3.299 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.302 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   3.302 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   3.303 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   3.303 Created an atlas bitmap (size 4096x3088) [smoke, mipmap, linear-minification, linear-magnification]
   3.303 Created an atlas bitmap (size 8192x2576) [mipmap]
   3.303 Created an atlas bitmap (size 2048x1520) [mipmap]
   3.303 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.303 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.303 Created an atlas bitmap (size 4096x3152) [mipmap]
   3.303 Created an atlas bitmap (size 8192x3792) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   3.303 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   3.319 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   3.323 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   3.323 Created an atlas bitmap (size 16384x8376) [shadow, linear-magnification, alpha-mask]
   3.323 Created an atlas bitmap (size 8192x2336) [shadow, mipmap, linear-magnification, alpha-mask]
   3.323 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   3.324 Loading 3D bitmaps.
   3.344 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 36.09, BC3 PSNR: 33.82
   3.348 Parallel sprite loader initialized (threads: 9, bitmaps: 8227)
  27.826 Sprites loaded
  27.862 Generated mipmaps (4) for atlas [5] of size 16384x16352   
  27.865 Generated mipmaps (4) for atlas [6] of size 4096x1472   
  27.870 Generated mipmaps (3) for atlas [10] of size 8192x6112   
  27.888 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  27.896 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  27.899 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  27.901 Generated mipmaps (3) for atlas [14] of size 4096x3088   
  27.958 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  27.962 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  27.975 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  28.012 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  28.017 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  28.050 Generated mipmaps (5) for atlas [20] of size 8192x3792   
  28.055 Generated mipmaps (3) for atlas [25] of size 8192x2336   
  28.068 Custom mipmaps uploaded (3203)
  28.216 Factorio initialised
  28.233 Steam Storage Quota: 23413/23841
  43.962 Loading map /Users/markhart/Library/Application Support/factorio/saves/Space age.zip: 19337648 bytes.
  43.983 Loading level.dat: 46826118 bytes.
  43.988 Info Scenario.cpp:178: Map version 2.0.11-3
  44.497 Loading blueprint storage: Local timestamp 1730026089, Cloud timestamp 1730026088
  44.534 Loading script.dat: 1222 bytes.
  44.542 Checksum for script __level__/control.lua: 2463946943
 157.148 Loading map /Users/markhart/Library/Application Support/factorio/saves/Space age.zip: 19337648 bytes.
 157.170 Loading level.dat: 46826118 bytes.
 157.174 Info Scenario.cpp:178: Map version 2.0.11-3
 157.639 Loading blueprint storage: Local timestamp 1730026089, Cloud timestamp 1730026088
 157.678 Loading script.dat: 1222 bytes.
 157.682 Checksum for script __level__/control.lua: 2463946943
 219.451 Error CrashHandler.cpp:643: Received 6
Factorio crashed. Generating symbolized stacktrace, please wait ...
src/Util/StacktraceToStream.cpp (52): walkStackAndPrintToStream
src/Util/StacktraceToStream.cpp (60): printStacktraceToStream
src/Util/Logger.cpp (334): writeStacktrace
src/Util/Logger.cpp (379): logStacktrace
src/Util/CrashHandler.cpp (183): writeStackTrace
src/Util/CrashHandler.cpp (644): commonSignalHandler
src/Util/CrashHandler.cpp (652): SignalHandler
0x190638183
0x190602f6f
0x19050f907
0x19041967b
0x1904414a7
0x1904308a3
0x190430863
0x19042fa6f
_ZNSt27__type_info_implementations30__non_unique_arm_rtti_bit_impl21__is_type_name_uniqueB7v160006Em
-[AGXG13XFamilyCommandBuffer initWithQueue:retainedReferences:]
-[AGXG13XFamilyCommandQueue commandBufferWithUnretainedReferences]
_ZN13GLDContextRec16getCommandBufferEv
_ZN13GLDContextRec33flushPreprocessingCommandEncodersEb
_ZN13GLDContextRec12flushContextEb
_ZN13GLDContextRec18loadCurrentQueriesEv
0x1ebcc366b
src/Graphics/OpenGL/GraphicsInterfaceOpenGL.cpp (686): queryTimestamp
src/Info/GpuTimeStatistics.cpp (39): captureEndTime
src/Info/GpuTimeStatistics.cpp (53): ~TimeChecker
src/Info/GpuTimeStatistics.cpp (51): ~TimeChecker
src/Graphics/DrawEngine.cpp (818): renderShadowsToWorkingSprite
src/Graphics/DrawEngine.cpp (234): render
src/Graphics/GameRenderer.cpp (0): renderInternal
src/Graphics/GameRenderer.cpp (182): render
src/GameView.cpp (1742): render
src/Game.cpp (381): render
src/MainLoop.cpp (1481): render
src/MainLoop.cpp (717): mainLoopStep
src/MainLoop.cpp (412): run
src/Main.cpp (1325): fmain
src/Main.cpp (1347): main
Stack trace logging done
 221.811 Error CrashHandler.cpp:190: Map tick at moment of crash: 9401403
 221.811 Uploading log file
 221.880 Info SystemUtil.cpp:877: Started /Users/markhart/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio; trampoline PID: 5054
 221.880 Error Util.cpp:95: 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.
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4062
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.11] Game crashes when turning specific circuit on

Post by boskid »

Thanks for the report however i am unable to reproduce any crashes using this blueprint and provided reproduction steps. Log itself does not suggest at anything related to circuit network. Could you provide a save file where i will be able to reproduce the crash?
MarkHart
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Oct 28, 2024 4:56 pm
Contact:

Re: [2.0.11] Game crashes when turning specific circuit on

Post by MarkHart »

This save (should be attached) is version 2.0.12, just before flipping the bottom right switch to "on". The screenshot is during the feeze/crash.
10-30-2024, 00-47-42.png
10-30-2024, 00-47-42.png (189.4 KiB) Viewed 650 times
Attachments
Space age.zip
(18.35 MiB) Downloaded 19 times
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4062
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [2.0.11] Game crashes when turning specific circuit on

Post by boskid »

I have a really weird feeling this issue may be related to 118412 which is fixed for 2.0.13, that would explain why i cannot reproduce it on windows and that it possibly could be avoided if you would convert selector combinator that selects in ascending order to use the other ordering.
MarkHart
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Oct 28, 2024 4:56 pm
Contact:

Re: [boskid][2.0.11] Game crashes when turning specific circuit on

Post by MarkHart »

It does indeed work on windows. I will update if it works on the mac once 2.0.13 drops
StrangePan
Factorio Staff
Factorio Staff
Posts: 245
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [boskid][2.0.11] Game crashes when turning specific circuit on

Post by StrangePan »

Confirmed reproducible before the fix, but not after the fix. Also confirmed that that the crash is indeed a heap corruption, same as the other reports.
MarkHart
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Oct 28, 2024 4:56 pm
Contact:

Re: [boskid][2.0.11] Game crashes when turning specific circuit on

Post by MarkHart »

It works indeed the 2.0.13 beta. Thanks!
Post Reply

Return to “Resolved Problems and Bugs”