[0.17.79] Crash on save: "source.priorityIndex == ElectricUsagePriority(i) was not true"

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
User avatar
cyberdork33
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 29, 2020 1:59 am
Contact:

[0.17.79] Crash on save: "source.priorityIndex == ElectricUsagePriority(i) was not true"

Post by cyberdork33 »

I've been playing on this map for awhile, and suddenly today, I am getting crashes on save (autosave or manual).

I haven't done anything in particular that I am aware of that would cause this. I am not using any mods.

Code: Select all

   0.000 2020-02-28 19:45:40; Factorio 0.17.79 (build 47865, linux64, steam)
   0.000 Operating system: Linux
   0.000 Program arguments: "/home/cyberdork33/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.000 Read data path: /home/cyberdork33/.local/share/Steam/steamapps/common/Factorio/data
   0.000 Write data path: /home/cyberdork33/.factorio [339814/468330MB]
   0.000 Binaries path: /home/cyberdork33/.local/share/Steam/steamapps/common/Factorio/bin
   0.010 System info: [CPU: AMD Ryzen 7 2700 Eight-Core Processor, 16 cores, RAM: 32127 MB]
   0.010 Environment: DISPLAY=:99.0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=mate XDG_SESSION_DESKTOP=mate XDG_CURRENT_DESKTOP=MATE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.010 Display options: [FullScreen: 1] [VSync: 0] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.069 Available displays: 1
   0.069  [0]: SE2717H/HX 27" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.103 Initialised OpenGL:[0] AMD POLARIS11 (DRM 3.33.0, 5.3.0-40-generic, LLVM 9.0.0); driver: 4.5 (Core Profile) Mesa 19.2.8
   0.104   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.104   [Version] 4.5
   0.104 Graphics settings preset: very-high
   0.104   Dedicated video memory size 4096 MB
   0.115 Graphics options: [Graphics quality: high] [Video memory usage: high] [Light scale: 35%] [DXT: high-quality] [Color: 32bit]
   0.115                   [Max threads (load/render): 32/15] [Max texture size: 0] [Tex.Stream.: 1] [Rotation quality: normal] [Other: STDC]
   0.193 Loading mod core 0.0.0 (data.lua)
   0.283 Loading mod base 0.17.79 (data.lua)
   0.467 Loading mod base 0.17.79 (data-updates.lua)
   0.567 Checksum for core: 2035938594
   0.567 Checksum of base: 4156627525
   0.715 Prototype list checksum: 2767119397
   0.745 Loading sounds...
   0.766 Info PlayerData.cpp:70: Local player-data.json unavailable
   0.766 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1582860617
   0.846 Initial atlas bitmap size is 16384
   0.861 Created atlas bitmap 16384x16380 [none]
   0.862 Created atlas bitmap 16384x4660 [none]
   0.863 Created atlas bitmap 8192x3892 [decal]
   0.864 Created atlas bitmap 16384x4896 [low-object]
   0.864 Created atlas bitmap 8192x3760 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   0.866 Created atlas bitmap 16384x7168 [terrain, mipmap, linear-minification, linear-mip-level]
   0.866 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   0.867 Created atlas bitmap 4096x1760 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   0.867 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   0.868 Created atlas bitmap 8192x1632 [alpha-mask]
   0.870 Created atlas bitmap 16384x13324 [shadow, linear-magnification, alpha-mask]
   0.870 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   0.930 Created virtual atlas pages 4096x4096x8
   0.938 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   1.287 Parallel Sprite Loader initialized (threads: 15)
   8.964 Sprites loaded
   8.998 Generated mipmaps (4) for atlas [3] of size 16384x4896   
   9.009 Generated mipmaps (3) for atlas [4] of size 8192x3760   
   9.040 Generated mipmaps (3) for atlas [5] of size 16384x7168   
   9.042 Generated mipmaps (3) for atlas [6] of size 4096x1600   
   9.045 Generated mipmaps (5) for atlas [7] of size 4096x1760   
   9.047 Generated mipmaps (3) for atlas [11] of size 8192x2352   
   9.049 Custom mipmaps uploaded.
   9.178 Generated mipmaps for virtual atlas of size 8192x16384
   9.294 Factorio initialised
  29.987 Loading map /home/cyberdork33/.factorio/saves/0.17 Again.zip: 9167904 bytes.
  30.004 Loading level.dat: 24006380 bytes.
  30.016 Info Scenario.cpp:187: Map version 0.17.79-0
  30.541 Loading blueprint storage: Local timestamp 1582860422, Cloud timestamp 1582860421
  30.627 Loading script.dat: 328 bytes.
  30.629 Checksum for script /home/cyberdork33/.factorio/temp/currently-playing/control.lua: 3265260072
  49.961 Time travel logging:
  30.666 Popped blueprint record (player-index: 0, ID: 205) from book (player-index: 0, ID: 193)
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb497f8, 0xd3202d, 0xa02b09, 0xa1908f, 0xa411a8, 0xcf1dab, 0xcf1fab, 0xd954e3, 0xd9625c, 0xe8d463, 0xf60de4, 0x19e141f, 0x9669, 0
  49.962 Warning Logger.cpp:514: Couldn't symbolize stacktrace: (resolving symbol failed: fread). Make sure you have addr2line installed to produce better stacktraces

Stack trace logging done
  49.963 Warning Logger.cpp:514: Couldn't symbolize stacktrace: (resolving symbol failed: fread). Make sure you have addr2line installed to produce better stacktraces

  49.963 Error ElectricSubNetwork.cpp:244: source.priorityIndex == ElectricUsagePriority(i) was not true
Logger::writeStacktrace skipped.
  49.963 Error CrashHandler.cpp:189: Map tick at moment of crash: 10332056
  49.963 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.
  52.913 Info SystemUtil.cpp:539: Started /usr/bin/xdg-open; trampoline PID: 29770
  52.913 Uploading log file
  52.926 Info SystemUtil.cpp:539: Started /home/cyberdork33/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 29771
Attachments
0.17 Issue.tmp.zip
File that the game creates when attempting to save before crashing.
(1.5 MiB) Downloaded 72 times
0.17 Again.zip
Game Save
(8.74 MiB) Downloaded 74 times
User avatar
cyberdork33
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 29, 2020 1:59 am
Contact:

Re: [0.17.79] Crash on save: "source.priorityIndex == ElectricUsagePriority(i) was not true"

Post by cyberdork33 »

So no ideas on this? Anything else that would help or that I could try doing different?
Loewchen
Global Moderator
Global Moderator
Posts: 10304
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.79] Crash on save: "source.priorityIndex == ElectricUsagePriority(i) was not true"

Post by Loewchen »

Can you reproduce this in the latest version of the game?
User avatar
cyberdork33
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 29, 2020 1:59 am
Contact:

Re: [0.17.79] Crash on save: "source.priorityIndex == ElectricUsagePriority(i) was not true"

Post by cyberdork33 »

Loewchen wrote: Thu Mar 05, 2020 12:13 am Can you reproduce this in the latest version of the game?
Is 0.17.79 not the latest? Do you mean the latest experimental?

EDIT:
It won't even load in 0.18.10.

Code: Select all

   0.000 2020-03-04 18:28:07; Factorio 0.18.10 (build 49800, linux64, steam)
   0.060 Operating system: Linux (Ubuntu 19.10)
   0.060 Program arguments: "/home/cyberdork33/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio" 
   0.060 Read data path: /home/cyberdork33/.local/share/Steam/steamapps/common/Factorio/data
   0.060 Write data path: /home/cyberdork33/.factorio [393258/467922MB]
   0.061 Binaries path: /home/cyberdork33/.local/share/Steam/steamapps/common/Factorio/bin
   0.065 System info: [CPU: AMD Ryzen 7 2700 Eight-Core Processor, 16 cores, RAM: 32127 MB]
   0.065 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=mate XDG_SESSION_DESKTOP=mate XDG_CURRENT_DESKTOP=MATE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.065 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.130 Available displays: 1
   0.130  [0]: SE2717H/HX 27" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.177 Initialised OpenGL:[0] Radeon RX 560 Series (POLARIS11, DRM 3.33.0, 5.3.0-40-generic, LLVM 9.0.0); driver: 4.5 (Core Profile) Mesa 19.2.8
   0.177   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.177   [Version] 4.5
   0.177 Verbose GraphicsInterfaceOpenGL.cpp:897: [Caps] Tex:16384, TexArr:2048, TexBufSz:2097151kB; TexUnits:192; UboSz:2097151kB
   0.177 Graphics settings preset: very-high
   0.177   Dedicated video memory size 4096 MB
   0.266 Verbose PipelineStateObject.cpp:85: Time to load shaders: 0.088479 seconds.
   0.269 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
   0.269                   [Max threads (load/render): 32/16] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC] [B:0,C:0,S:100]
   0.556 Loading mod core 0.0.0 (data.lua)
   0.649 Loading mod base 0.18.10 (data.lua)
   0.871 Loading mod AfraidOfTheDark 1.0.25 (data.lua)
   0.986 Loading mod base 0.18.10 (data-updates.lua)
   1.081 Loading mod AfraidOfTheDark 1.0.25 (data-updates.lua)
   1.195 Loading mod AfraidOfTheDark 1.0.25 (data-final-fixes.lua)
   1.300 Checksum for core: 1053640140
   1.300 Checksum of base: 2608151301
   1.300 Checksum of AfraidOfTheDark: 2330519148
   1.460 Prototype list checksum: 432999321
   1.463 Verbose ModManager.cpp:535: Time to load mods: 0.911875
   1.492 Loading sounds...
   1.511 Info PlayerData.cpp:70: Local player-data.json unavailable
   1.511 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1581728826
   1.512 Info CropCache.cpp:56: Exception while loading crop cache: The file is from previous game version. This can be probably ignored
   1.557 Crop bitmaps.
   1.819 Parallel Sprite Loader initialized (threads: 15)
   8.118 Initial atlas bitmap size is 16384
   8.140 Created atlas bitmap 16384x16352 [none]
   8.143 Created atlas bitmap 16384x12604 [none]
   8.144 Created atlas bitmap 8192x3720 [decal]
   8.145 Created atlas bitmap 16384x5088 [low-object, linear-minification]
   8.146 Created atlas bitmap 8192x3760 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   8.147 Created atlas bitmap 16384x5776 [terrain, mipmap, linear-minification, linear-mip-level]
   8.147 Created atlas bitmap 4096x2848 [terrain-effect-map, mipmap, linear-minification, linear-mip-level]
   8.147 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   8.147 Created atlas bitmap 4096x3088 [mipmap]
   8.148 Created atlas bitmap 4096x2208 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   8.148 Created atlas bitmap 2048x192 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   8.149 Created atlas bitmap 4096x2652 [alpha-mask]
   8.151 Created atlas bitmap 16384x15376 [shadow, linear-magnification, alpha-mask]
   8.152 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   8.158 Verbose TextureProcessor.cpp:1140: GPU accelerated compression test: Time 6.742 ms; YCoCg_DXT PSNR: 35.83, BC3 PSNR: 33.82
   8.158 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   8.487 Parallel Sprite Loader initialized (threads: 15)
  15.358 Sprites loaded
  15.394 Generated mipmaps (4) for atlas [3] of size 16384x5088   
  15.405 Generated mipmaps (3) for atlas [4] of size 8192x3760   
  15.430 Generated mipmaps (3) for atlas [5] of size 16384x5776   
  15.434 Generated mipmaps (3) for atlas [6] of size 4096x2848   
  15.437 Generated mipmaps (3) for atlas [7] of size 4096x1600   
  15.468 Generated mipmaps (3) for atlas [8] of size 4096x3088   
  15.470 Generated mipmaps (5) for atlas [9] of size 4096x2208   
  15.474 Generated mipmaps (3) for atlas [13] of size 8192x2352   
  15.485 Custom mipmaps uploaded.
  15.485 Verbose AtlasSystem.cpp:910: Atlas memory size: 1154.52MB; 0.00MB (virtual)
  15.485 Verbose AtlasSystem.cpp:911: Size of sprites outside of atlas: 0.13MB
  15.669 Factorio initialised
  15.738 Verbose SteamContext.cpp:537: SteamUserStats initialized.
  26.500 Loading map /home/cyberdork33/.factorio/saves/0.17 Again.zip: 9167904 bytes.
  26.517 Loading level.dat: 24006380 bytes.
  26.528 Info Scenario.cpp:187: Map version 0.17.79-0
  27.077 Verbose Scenario.cpp:230: Loading level.dat finished: 0.548611 seconds.
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xc6fef4, 0xe776ad, 0xabcbe9, 0xae173c, 0xe3bfa2, 0x10efbec, 0x1139aaf, 0x113b990, 0x1d5a300, 0x9669, 0
  32.481 Warning Logger.cpp:521: Symbols.size() == 27, usedSize == 10
#0  0x0000000000e776ad in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:154
#1  0x0000000000abcbe9 in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:353
#2  0x0000000000ae173c in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /home/build/gcc-9.2/include/c++/9.2.0/bits/unique_ptr.h:347
#3  0x0000000000e3bfa2 in Logger::flush() at /tmp/factorio-build-p3Q6HU/src/Util/Logger.cpp:561
#4  0x00000000010efbec in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-p3Q6HU/src/Util/Logger.cpp:547
#5  0x0000000001139aaf in Logging::flush() at /tmp/factorio-build-p3Q6HU/src/Util/Logging.cpp:69
#6  0x000000000113b990 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /tmp/factorio-build-p3Q6HU/src/Util/Logging.cpp:103
#7  0x0000000001d5a300 in Logging::logAndAbortOrThrow(char const*, unsigned int, LogLevel, char const*, ...) at /tmp/factorio-build-p3Q6HU/src/Util/Logging.cpp:93
#8  0x0000000000009669 in __gnu_cxx::new_allocator<Equipment*>::deallocate(Equipment**, unsigned long) at /home/build/gcc-9.2/include/c++/9.2.0/ext/new_allocator.h:128
#9  (nil) in std::allocator_traits<std::allocator<Equipment*> >::deallocate(std::allocator<Equipment*>&, Equipment**, unsigned long) at /home/build/gcc-9.2/include/c++/9.2.0/bits/alloc_traits.h:470
#10 (nil) in std::_Vector_base<Equipment*, std::allocator<Equipment*> >::_M_deallocate(Equipment**, unsigned long) at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_vector.h:351
#11 0xc02e000000000000 in std::_Vector_base<Equipment*, std::allocator<Equipment*> >::~_Vector_base() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_vector.h:332
#12 0x4054800000000000 in std::vector<Equipment*, std::allocator<Equipment*> >::~vector() at /home/build/gcc-9.2/include/c++/9.2.0/bits/stl_vector.h:680
#13 0xc02e000000000000 in ElectricSubNetwork::setup(Map&, SetupData const&) at /tmp/factorio-build-p3Q6HU/src/Energy/ElectricSubNetwork.cpp:1436
#14 0x4054800000000000 in IntrusiveListIterator<ElectricSubNetwork, void, false>::operator++() at /tmp/factorio-build-p3Q6HU/src/Util/Container/IntrusiveList.hpp:465
#15 0xc0737b13b13b13b1 in ElectricNetwork::setup(Map&, SetupData const&) at /tmp/factorio-build-p3Q6HU/src/Energy/ElectricNetwork.cpp:444
#16 0x4089c00000000000 in ElectricNetworkManager::setup(Map&, SetupData const&) at /tmp/factorio-build-p3Q6HU/src/Energy/ElectricNetworkManager.cpp:94
#17 0x4089680000000000 in Map::setupEntities(MapDeserialiser*, bool, ProgressObserver*) at /tmp/factorio-build-p3Q6HU/src/Map/Map.cpp:1131
#18 0x4026000000000000 in TimeUtil::CpuTimer::elapsed() const at /tmp/factorio-build-p3Q6HU/src/Util/TimeUtil.hpp:44
#19 0xc072100000000000 in TimeUtil::CpuTimer::getSecondsPassed() const at /tmp/factorio-build-p3Q6HU/src/Util/TimeUtil.hpp:29
#20 0x4036b13b13b13b10 in Scenario::loadFactory(Filesystem::Path const*, Filesystem::Path const&, ScenarioExecutionContext, LoadType, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*, ProgressObserver*, bool, InputListener*) at /tmp/factorio-build-p3Q6HU/src/Scenario/Scenario.cpp:307
#21 0x4036b13b13b13b10 in ParallelScenarioLoader::doLoad(ParallelScenarioLoader*, MapDeserialiser*, InputType, InputHandler*, MultiplayerManagerBase*) at /tmp/factorio-build-p3Q6HU/src/Scenario/ParallelScenarioLoader.cpp:151
#22 0x4036b13b13b13b10 in std::default_delete<std::thread::_State>::operator()(std::thread::_State*) const at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:81
#23 0xc072100000000000 in std::unique_ptr<std::thread::_State, std::default_delete<std::thread::_State> >::~unique_ptr() at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/include/bits/unique_ptr.h:284
#24 0xc06a600000000000 in execute_native_thread_routine at /home/build/gcc-9.2-source/gcc-9.2.0/build/x86_64-pc-linux-gnu/libstdc++-v3/src/c++11/../../../../../libstdc++-v3/src/c++11/thread.cc:79
#25 0x407ad00000000000 in ?? at ??:0
#26 0x407fc970a3d70a3d in ?? at ??:0
Stack trace logging done
  37.349 Warning Logger.cpp:521: Symbols.size() == 22, usedSize == 9
  37.349 Error ElectricSubNetwork.cpp:1442: source.priorityIndex == ElectricUsagePriority(i) was not true
Logger::writeStacktrace skipped.
  37.349 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.
  41.636 Info SystemUtil.cpp:547: Started /usr/bin/xdg-open; trampoline PID: 4282
  41.636 Uploading log file
  41.645 Info SystemUtil.cpp:547: Started /home/cyberdork33/.local/share/Steam/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 4283
User avatar
cyberdork33
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 29, 2020 1:59 am
Contact:

Re: [0.17.79] Crash on save: "source.priorityIndex == ElectricUsagePriority(i) was not true"

Post by cyberdork33 »

Loewchen wrote: Thu Mar 05, 2020 12:36 am The save is corrupted, do you need it fixed?
That would be preferable... my autosaves are doing the same thing.
Loewchen
Global Moderator
Global Moderator
Posts: 10304
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [0.17.79] Crash on save: "source.priorityIndex == ElectricUsagePriority(i) was not true"

Post by Loewchen »

You will have to wait for a dev to take a look at it.
User avatar
cyberdork33
Burner Inserter
Burner Inserter
Posts: 5
Joined: Sat Feb 29, 2020 1:59 am
Contact:

Re: [0.17.79] Crash on save: "source.priorityIndex == ElectricUsagePriority(i) was not true"

Post by cyberdork33 »

Loewchen wrote: Thu Mar 05, 2020 12:50 am You will have to wait for a dev to take a look at it.
I pulled a save from a backup that is not too much older. I can deal. Thanks for your help.
Post Reply

Return to “Technical Help”