[Rseding][2.0.11] mutex lock failed

This subforum contains all the issues which we already resolved.
pie
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Oct 26, 2024 10:55 am
Contact:

[Rseding][2.0.11] mutex lock failed

Post by pie »

Attached the save file too.

Code: Select all

   0.006 2024-10-26 11:51:47; Factorio 2.0.11 (build 79682, mac-arm64, steam, space-age)
   0.006 Operating system: OS X 15.0.1
   0.000 Initializing Steam API.
   0.006 Program arguments: "/Users/pie/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio" 
   0.006 Config path: /Users/pie/Library/Application Support/factorio/config/config.ini
   0.006 Read data path: /Users/pie/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/data
   0.006 Write data path: /Users/pie/Library/Application Support/factorio [68450/471482MB]
   0.006 Binaries path: /Users/pie/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents
   0.064 System info: [CPU: arm64, 10 cores, RAM: 16384 MB]
   0.302 Display options: [FullScreen: true] [VSync: true] [UIScale: manual-pixels (100.0%)] [Native DPI: false] [Screen: 255] [Special: lmW] [Lang: en]
   0.403 Video driver: cocoa
   0.403 Available displays: 1
   0.403  [0]: 0 - {[0,0], 1728x1117, SDL_PIXELFORMAT_ARGB8888, 120Hz, 0x0001(0x01)}
   1.481 Initialised OpenGL:[0] Apple M1 Pro; driver: 4.1 Metal - 89.3
   1.481   [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
   1.481   [Version] 4.1
   1.481 Graphics settings preset: very-high
   1.481   Dedicated video memory size 10922 MB (detected from Apple M1 Pro; VendorID: 0x1027f00)
   1.688 Graphics options: [Graphics quality: high] [Video memory usage: all] [DXT: high-quality]
   1.688                   [Max threads (load/render): 32/10] [Max texture size: 0] [Tex.Stream.: false] [Rotation quality: normal] [Other: STDCWT] [B:0,C:0,S:100]
   1.809 [Audio] Driver:coreaudio, Device:Default device, Depth:16, Channels:2, Frequency:44100
   1.943 Info ModManager.cpp:434: FeatureFlag expansion-shaders = true
   1.943 Info ModManager.cpp:434: FeatureFlag freezing = true
   1.943 Info ModManager.cpp:434: FeatureFlag quality = true
   1.943 Info ModManager.cpp:434: FeatureFlag rail-bridges = true
   1.943 Info ModManager.cpp:434: FeatureFlag segmented-units = true
   1.943 Info ModManager.cpp:434: FeatureFlag space-travel = true
   1.943 Info ModManager.cpp:434: FeatureFlag spoiling = true
   1.949 Loading mod core 0.0.0 (data.lua)
   1.969 Loading mod base 2.0.11 (data.lua)
   2.179 Loading mod elevated-rails 2.0.11 (data.lua)
   2.215 Loading mod quality 2.0.11 (data.lua)
   2.234 Loading mod space-age 2.0.11 (data.lua)
   2.667 Loading mod base 2.0.11 (data-updates.lua)
   2.677 Loading mod quality 2.0.11 (data-updates.lua)
   2.696 Loading mod space-age 2.0.11 (data-updates.lua)
   2.764 Checksum for core: 1043092351
   2.764 Checksum of base: 708330460
   2.764 Checksum of elevated-rails: 1891730324
   2.764 Checksum of quality: 4264147466
   2.764 Checksum of space-age: 4032004066
   3.000 Prototype list checksum: 124222065
   3.035 Loading sounds...
   3.751 Info PlayerData.cpp:68: Local player-data.json unavailable
   3.751 Info PlayerData.cpp:71: Cloud player-data.json available, timestamp 1729895762
   4.060 Initial atlas bitmap size is 16384
   4.069 Created an atlas bitmap (size 16384x16372) [none]
   4.080 Created an atlas bitmap (size 16384x16380) [none]
   4.096 Created an atlas bitmap (size 16384x16384) [none]
   4.097 Created an atlas bitmap (size 16384x15412) [none]
   4.097 Created an atlas bitmap (size 16384x8376) [decal]
   4.100 Created an atlas bitmap (size 16384x16352) [low-object]
   4.100 Created an atlas bitmap (size 4096x1472) [low-object]
   4.100 Created an atlas bitmap (size 16384x13472) [corpse-decay]
   4.100 Created an atlas bitmap (size 16384x5580) [none]
   4.100 Created an atlas bitmap (size 1676x79) [not-compressed]
   4.100 Created an atlas bitmap (size 8192x6112) [mipmap, linear-minification, linear-magnification, linear-mip-level]
   4.103 Created an atlas bitmap (size 16384x16320) [terrain, mipmap, linear-minification, linear-mip-level]
   4.103 Created an atlas bitmap (size 16384x4832) [terrain, mipmap, linear-minification, linear-mip-level]
   4.103 Created an atlas bitmap (size 8192x3872) [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   4.103 Created an atlas bitmap (size 4096x3088) [smoke, mipmap, linear-minification, linear-magnification]
   4.103 Created an atlas bitmap (size 8192x2576) [mipmap]
   4.103 Created an atlas bitmap (size 2048x1520) [mipmap]
   4.103 Created an atlas bitmap (size 4096x3152) [mipmap]
   4.103 Created an atlas bitmap (size 4096x3152) [mipmap]
   4.103 Created an atlas bitmap (size 4096x3152) [mipmap]
   4.103 Created an atlas bitmap (size 8192x3792) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   4.104 Created an atlas bitmap (size 16384x6120) [alpha-mask]
   4.117 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   4.121 Created an atlas bitmap (size 16384x16384) [shadow, linear-magnification, alpha-mask]
   4.123 Created an atlas bitmap (size 16384x8376) [shadow, linear-magnification, alpha-mask]
   4.123 Created an atlas bitmap (size 8192x2336) [shadow, mipmap, linear-magnification, alpha-mask]
   4.123 Created an atlas bitmap (size 2048x496) [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   4.123 Loading 3D bitmaps.
   4.143 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 36.09, BC3 PSNR: 33.82
   4.148 Parallel sprite loader initialized (threads: 9, bitmaps: 8227)
  25.983 Sprites loaded
  26.010 Generated mipmaps (4) for atlas [5] of size 16384x16352   
  26.013 Generated mipmaps (4) for atlas [6] of size 4096x1472   
  26.019 Generated mipmaps (3) for atlas [10] of size 8192x6112   
  26.035 Generated mipmaps (3) for atlas [11] of size 16384x16320   
  26.042 Generated mipmaps (3) for atlas [12] of size 16384x4832   
  26.046 Generated mipmaps (3) for atlas [13] of size 8192x3872   
  26.049 Generated mipmaps (3) for atlas [14] of size 4096x3088   
  26.097 Generated mipmaps (3) for atlas [15] of size 8192x2576   
  26.101 Generated mipmaps (3) for atlas [16] of size 2048x1520   
  26.104 Generated mipmaps (3) for atlas [17] of size 4096x3152   
  26.133 Generated mipmaps (3) for atlas [18] of size 4096x3152   
  26.137 Generated mipmaps (3) for atlas [19] of size 4096x3152   
  26.169 Generated mipmaps (5) for atlas [20] of size 8192x3792   
  26.175 Generated mipmaps (3) for atlas [25] of size 8192x2336   
  26.186 Custom mipmaps uploaded (3203)
  26.291 Factorio initialised
  26.320 Steam Storage Quota: 22833/23841
  33.924 Loading map /Users/pie/Library/Application Support/factorio/saves/space7.zip: 5765896 bytes.
  33.941 Loading level.dat: 11357353 bytes.
  33.944 Info Scenario.cpp:178: Map version 2.0.10-1
  34.090 This cell: owner=roboport, position={-81.000, 58.000}
  34.090 Other cell: owner=roboport, position={-33.000, 36.000}
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/Logging.cpp (58): logStackTrace
src/Util/Logging.cpp (97): logAndAbortOrThrow
src/Util/Logging.cpp (89): logAndAbortOrThrow
src/Logistics/LogisticCell.cpp (208): connectTo
src/Logistics/LogisticManager.cpp (174): addLogisticCell
src/Logistics/LogisticManager.cpp (97): setup
src/Force/ForceData.cpp (577): setup
src/Force/ForceManager.cpp (110): setup
src/Map/MapSetupHelper.cpp (98): MapSetupHelper
src/Map/MapSetupHelper.cpp (68): MapSetupHelper
src/Map/Map.cpp (827): setupEntities
src/Scenario/Scenario.cpp (328): loadFactory
src/Scenario/ParallelScenarioLoader.cpp (193): doLoad
/usr/local/opt/llvm@16/bin/../include/c++/v1/__functional/invoke.h (394): __invoke<void (*)(MapInterface, ParallelScenarioLoader *, MapDeserialiser *, InputType, InputSource *, MultiplayerManagerBase *, NamedBool<EnableReplayTag>), MapInterface, ParallelScenarioLoader *, MapDeserialiser *, InputType, InputSource *, MultiplayerManagerBase *, NamedBool<EnableReplayTag>::Enum>
/usr/local/opt/llvm@16/bin/../include/c++/v1/thread (282): __thread_execute<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(MapInterface, ParallelScenarioLoader *, MapDeserialiser *, InputType, InputSource *, MultiplayerManagerBase *, NamedBool<EnableReplayTag>), MapInterface, ParallelScenarioLoader *, MapDeserialiser *, InputType, InputSource *, MultiplayerManagerBase *, NamedBool<EnableReplayTag>::Enum, 2UL, 3UL, 4UL, 5UL, 6UL, 7UL, 8UL>
/usr/local/opt/llvm@16/bin/../include/c++/v1/thread (293): __thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, void (*)(MapInterface, ParallelScenarioLoader *, MapDeserialiser *, InputType, InputSource *, MultiplayerManagerBase *, NamedBool<EnableReplayTag>), MapInterface, ParallelScenarioLoader *, MapDeserialiser *, InputType, InputSource *, MultiplayerManagerBase *, NamedBool<EnableReplayTag>::Enum> >
0x1843ff2e3
Stack trace logging done
  36.329 Error LogisticCell.cpp:208: Internal error: trying to connect neighbour already connected.
  36.329 Error CrashHandler.cpp:643: Received 6
Logger::writeStacktrace skipped.
  36.329 Uploading log file
  36.379 Info SystemUtil.cpp:877: Started /Users/pie/Library/Application Support/Steam/steamapps/common/Factorio/factorio.app/Contents/MacOS/factorio; trampoline PID: 4283
  36.379 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.
  38.824 Error Util.cpp:81: mutex lock failed: Invalid argument
  40.495 Info GlobalContext.cpp:722: Waiting for child processes to exit: 4283
Edit:
All autosaves, last 2 saves all do that. 3rd save ago (big difference) is fine though.
Attachments
space7.zip
Save file
(5.5 MiB) Downloaded 21 times
pie
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Oct 26, 2024 10:55 am
Contact:

Re: [StrangePan] [2.0.11] mutex lock failed

Post by pie »

Bumping this. Do any of the devs know what happened? I'm hesitant to start again... especially as I don't know what caused it.
StrangePan
Factorio Staff
Factorio Staff
Posts: 136
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan] [2.0.11] mutex lock failed

Post by StrangePan »

Reproduced, investigating.
StrangePan
Factorio Staff
Factorio Staff
Posts: 136
Joined: Fri Dec 07, 2018 3:41 pm
Contact:

Re: [StrangePan] [2.0.11] mutex lock failed

Post by StrangePan »

The "mutex lock failed" error message seems to be a side-effect of the real crash occurring while loading on another thread. The crash is also reproducible on Windows. I suspect map corruption; reassigning.
Rseding91
Factorio Staff
Factorio Staff
Posts: 14678
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding][2.0.11] mutex lock failed

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
pie
Manual Inserter
Manual Inserter
Posts: 3
Joined: Sat Oct 26, 2024 10:55 am
Contact:

Re: [Rseding][2.0.11] mutex lock failed

Post by pie »

Thank you lovely people. I cannot load the save on 2.0.13.

When you say it's fixed for next release, do you mean I'll be able to load the save on 2.0.14?

Or that I have to load a non-corrupted save on 2.0.13?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14678
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [Rseding][2.0.11] mutex lock failed

Post by Rseding91 »

You will be able to load it in 2.0.14.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”