[0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Post Reply
TheHobbit81
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jul 06, 2020 10:41 am
Contact:

[0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by TheHobbit81 »

Hi there. I'm running Factorio 0.17 on Linux (POP OS!) and it has been working fine. Recently I started to notice that after a few minutes the game would lag out and then crash.

https://pastebin.com/FZyPx7nE

Code: Select all

   0.000 2020-07-05 14:35:46; Factorio 0.17.79 (build 47865, linux64, steam)
   0.057 Operating system: Linux (Pop 20.04)
   0.057 Program arguments: "/mnt/78156fe0-317c-485f-a485-5ee61cdf3b35/SteamLibrary/steamapps/common/Factorio/bin/x64/factorio" 
   0.057 Read data path: /mnt/78156fe0-317c-485f-a485-5ee61cdf3b35/SteamLibrary/steamapps/common/Factorio/data
   0.057 Write data path: /home/hobstar/.factorio [216177/459853MB]
   0.057 Binaries path: /mnt/78156fe0-317c-485f-a485-5ee61cdf3b35/SteamLibrary/steamapps/common/Factorio/bin
   0.069 System info: [CPU: AMD Ryzen 5 2600 Six-Core Processor, 12 cores, RAM: 16020 MB]
   0.069 Environment: DISPLAY=:0 WAYLAND_DISPLAY=<unset> DESKTOP_SESSION=plasma XDG_SESSION_DESKTOP=KDE XDG_CURRENT_DESKTOP=KDE __GL_FSAA_MODE=<unset> __GL_LOG_MAX_ANISO=<unset> __GL_SYNC_TO_VBLANK=<unset> __GL_SORT_FBCONFIGS=<unset> __GL_YIELD=<unset>
   0.069 Display options: [FullScreen: 1] [VSync: 1] [UIScale: automatic (100.0%)] [Native DPI: 1] [Screen: 255] [Special: lmw] [Lang: en]
   0.134 Available displays: 2
   0.134  [0]: LC24RG50 24" - {[0,0], 1920x1080, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.134  [1]: DELL SE2417HG 24" - {[2012,0], 1080x1920, SDL_PIXELFORMAT_RGB888, 60Hz}
   0.164 Initialised OpenGL:[0] GeForce RTX 2060/PCIe/SSE2; driver: 3.3.0 NVIDIA 440.100
   0.164   [Extensions] s3tc:yes; KHR_debug:yes; ARB_clear_texture:yes, ARB_copy_image:yes
   0.164   [Version] 3.3
   0.164 Graphics settings preset: very-high
   0.164   Dedicated video memory size 6144 MB
   0.186 Graphics options: [Graphics quality: high] [Video memory usage: all] [Light scale: 25%] [DXT: high-quality] [Color: 32bit]
   0.186                   [Max threads (load/render): 32/12] [Max texture size: 0] [Tex.Stream.: 0] [Rotation quality: normal] [Other: STDC]
   0.533 Loading mod settings ammo-loader 0.17.66 (settings.lua)
   0.533 Loading mod settings BigBags 1.0.31 (settings.lua)
   0.533 Loading mod settings even-distribution 0.3.13 (settings.lua)
   0.534 Loading mod settings far-reach 0.0.11 (settings.lua)
   0.534 Loading mod settings Squeak Through 1.4.0 (settings.lua)
   0.534 Loading mod settings VehicleSnap 1.17.3 (settings.lua)
   0.534 Loading mod settings Nanobots 3.1.0 (settings.lua)
   0.536 Loading mod core 0.0.0 (data.lua)
   0.635 Loading mod base 0.17.79 (data.lua)
   0.822 Loading mod AfraidOfTheDark 1.0.23 (data.lua)
   0.920 Loading mod BigBags 1.0.31 (data.lua)
   1.026 Loading mod Enhanced_Map_Colors 1.5.0 (data.lua)
   1.124 Loading mod even-distribution 0.3.13 (data.lua)
   1.226 Loading mod stdlib 1.3.0 (data.lua)
   1.328 Loading mod VehicleSnap 1.17.3 (data.lua)
   1.431 Loading mod Nanobots 3.1.0 (data.lua)
   1.540 Loading mod base 0.17.79 (data-updates.lua)
   1.639 Loading mod AfraidOfTheDark 1.0.23 (data-updates.lua)
   1.738 Loading mod ammo-loader 0.17.66 (data-updates.lua)
   1.837 Loading mod Enhanced_Map_Colors 1.5.0 (data-updates.lua)
   1.933 Loading mod Squeak Through 1.4.0 (data-updates.lua)
   2.032 Loading mod Nanobots 3.1.0 (data-updates.lua)
   2.136 Loading mod AfraidOfTheDark 1.0.23 (data-final-fixes.lua)
   2.234 Loading mod ammo-loader 0.17.66 (data-final-fixes.lua)
   2.333 Loading mod BigBags 1.0.31 (data-final-fixes.lua)
   2.432 Loading mod even-distribution 0.3.13 (data-final-fixes.lua)
   2.541 Checksum for core: 2035938594
   2.541 Checksum of base: 4156627525
   2.541 Checksum of AfraidOfTheDark: 4053779524
   2.541 Checksum of ammo-loader: 1506983346
   2.541 Checksum of BigBags: 2302835680
   2.541 Checksum of Enhanced_Map_Colors: 1952139789
   2.541 Checksum of even-distribution: 3142890650
   2.541 Checksum of far-reach: 1707614877
   2.541 Checksum of Squeak Through: 2042158127
   2.541 Checksum of stdlib: 68667574
   2.541 Checksum of VehicleSnap: 3082759310
   2.541 Checksum of Nanobots: 2809760992
   2.705 Prototype list checksum: 177747561
   2.736 Loading sounds...
   2.759 Info PlayerData.cpp:70: Local player-data.json unavailable
   2.760 Info PlayerData.cpp:73: Cloud player-data.json available, timestamp 1593843579
   2.849 Initial atlas bitmap size is 16384
   2.867 Created atlas bitmap 16384x16380 [none]
   2.870 Created atlas bitmap 16384x11788 [none]
   2.870 Created atlas bitmap 8192x3884 [decal]
   2.870 Created atlas bitmap 16384x4896 [low-object, linear-minification]
   2.870 Created atlas bitmap 8192x3744 [mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.871 Created atlas bitmap 16384x7168 [terrain, mipmap, linear-minification, linear-mip-level]
   2.871 Created atlas bitmap 4096x1600 [smoke, mipmap, linear-minification, linear-magnification]
   2.871 Created atlas bitmap 4096x1856 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
   2.872 Created atlas bitmap 2048x224 [icon-background, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, ]
   2.872 Created atlas bitmap 8192x1632 [alpha-mask]
   2.873 Created atlas bitmap 16384x13332 [shadow, linear-magnification, alpha-mask]
   2.873 Created atlas bitmap 8192x2352 [shadow, mipmap, linear-magnification, alpha-mask]
   2.883 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
   3.279 Parallel Sprite Loader initialized (threads: 11)
  11.228 Sprites loaded
  11.348 Generated mipmaps (4) for atlas [3] of size 16384x4896   
  11.353 Generated mipmaps (3) for atlas [4] of size 8192x3744   
  11.441 Generated mipmaps (3) for atlas [5] of size 16384x7168   
  11.445 Generated mipmaps (3) for atlas [6] of size 4096x1600   
  11.487 Generated mipmaps (5) for atlas [7] of size 4096x1856   
  11.491 Generated mipmaps (3) for atlas [11] of size 8192x2352   
  11.497 Custom mipmaps uploaded.
  11.534 Custom inputs active: 7
  11.656 Factorio initialised
  19.236 Loading map /home/hobstar/.factorio/saves/Game 10.zip: 9053782 bytes.
  19.252 Loading level.dat: 23199811 bytes.
  19.260 Info Scenario.cpp:187: Map version 0.17.79-0
  19.800 Loading script.dat: 621018 bytes.
  19.861 Checksum for script /home/hobstar/.factorio/temp/currently-playing/control.lua: 3265260072
  19.864 Checksum for script __AfraidOfTheDark__/control.lua: 2322376383
  19.886 Checksum for script __ammo-loader__/control.lua: 3849590360
  19.888 Checksum for script __BigBags__/control.lua: 2756184366
  19.889 Checksum for script __Enhanced_Map_Colors__/control.lua: 3351501679
  20.164 Script @__even-distribution__/framework.lua:72: 0 [ED] Initializing framework... DEBUG = false
  20.164 Script @__even-distribution__/framework.lua:72: 0 [ED] Registering custom scripts...
  20.164 Script @__even-distribution__/framework.lua:72: 0 [ED] Script: metatables
  20.164 Script @__even-distribution__/framework.lua:72: 0 [ED] Script: util
  20.165 Script @__even-distribution__/framework.lua:72: 0 [ED] Script: helpers
  20.165 Script @__even-distribution__/framework.lua:72: 0 [ED] Script: setup
  20.166 Script @__even-distribution__/framework.lua:72: 0 [ED] Script: visuals
  20.167 Script @__even-distribution__/framework.lua:72: 0 [ED] Script: drag
  20.167 Script @__even-distribution__/framework.lua:72: 0 [ED] Script: cleanup
  20.168 Script @__even-distribution__/framework.lua:72: 0 [ED] Registering default event handlers...
  20.168 Script @__even-distribution__/framework.lua:72: 0 [ED] Registering custom inputs...
  20.168 Script @__even-distribution__/framework.lua:72: 0 [ED] Input: inventory-cleanup   event: on_inventory_cleanup
  20.169 Script @__even-distribution__/framework.lua:72: 0 [ED] Successfully initialized
  20.169 Checksum for script __even-distribution__/control.lua: 3245574840
  20.170 Checksum for script __far-reach__/control.lua: 105203498
  20.171 Checksum for script __VehicleSnap__/control.lua: 1248096782
  20.196 Checksum for script __Nanobots__/control.lua: 1372247348
 311.124 Info AppManager.cpp:287: Saving to _autosave2 (blocking).
 311.994 Info AppManagerStates.cpp:1802: Saving finished
Factorio crashed. Generating symbolized stacktrace, please wait ...
Raw stacktrace: 0xb497f8, 0xd3202d, 0xbe299d, 0xbe2d0d, 0xbe2d69, 0x46210, 0, 0xb, 0xe56119, 0xf997f6, 0xf4181d, 0xe37f5e, 0xa01d4
 539.212 Warning Logger.cpp:518: Symbols.size() == 24, usedSize == 12
#0  0x0000000000d3202d in std::__uniq_ptr_impl<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::_M_ptr() const at /usr/include/c++/8/bits/unique_ptr.h:150
#1  0x0000000000be299d in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::get() const at /usr/include/c++/8/bits/unique_ptr.h:343
#2  0x0000000000be2d0d in std::unique_ptr<LoggerFileWriteStream, std::default_delete<LoggerFileWriteStream> >::operator->() const at /usr/include/c++/8/bits/unique_ptr.h:337
#3  0x0000000000be2d69 in Logger::flush() at /tmp/factorio-build-5KM6rv/src/Util/Logger.cpp:558
#4  0x0000000000046210 in Logger::logStacktrace(StackTraceInfo*) at /tmp/factorio-build-5KM6rv/src/Util/Logger.cpp:544
#5  (nil) in GlobalContext::getMap() at /tmp/factorio-build-5KM6rv/src/GlobalContext.cpp:1878
#6  0x000000000000000b in CrashHandler::writeStackTrace(CrashHandler::CrashReason) at /tmp/factorio-build-5KM6rv/src/Util/CrashHandler.cpp:188
#7  0x0000000000e56119 in CrashHandler::commonSignalHandler(int) at /tmp/factorio-build-5KM6rv/src/Util/CrashHandler.cpp:606
#8  0x0000000000f997f6 in CrashHandler::SignalHandler(int) at /tmp/factorio-build-5KM6rv/src/Util/CrashHandler.cpp:620
#9  0x0000000000f4181d in ?? at ??:0
#10 0x0000000000e37f5e in ?? at ??:0
#11 0x00000000000a01d4 in ?? at ??:0
#12 0x00001e40caf0069b in std::string::c_str() const at /usr/include/c++/8/bits/basic_string.h:5110
#13 0x0000043800000780 in ImmutableStringTemplate<17ul>::c_str() const at /tmp/factorio-build-5KM6rv/src/Util/ImmutableString.hpp:279
#14 0x0000000100000001 in EnergyHelpers::fromPtree(PropertyTree const&, AllowZero) at /tmp/factorio-build-5KM6rv/src/Energy/Energy.cpp:8
#15 0x000000000000000a in RoboportPrototype::RoboportPrototype(PropertyTree const&) at /tmp/factorio-build-5KM6rv/src/Entity/RoboportPrototype.cpp:19
#16 (nil) in InterfaceSettingsGui::InterfaceSettingsGui() at /tmp/factorio-build-5KM6rv/src/Gui/InterfaceSettingsGui.cpp:56
#17 0x000004b700000000 in agui::HorizontalFlow::operator<<(agui::Widget&) at /tmp/factorio-build-5KM6rv/libraries/Agui/Widget/HorizontalFlow.hpp:23
#18 0x0000000000000001 in BlueprintSettingsGui::BlueprintSettingsGui(BlueprintViewMode, BlueprintItem const*, GuiActionHandler&, GuiInfoProvider&, BlueprintSetupGui&, BlueprintSetupGui const&, BlueprintWidget const&, bool, BlueprintRecordID) at /tmp/factorio-build-5KM6rv/src/Gui/BlueprintSetupGui.cpp:292
#19 0x0000000000000004 in std::_Vector_base<FluidBoxPrototype*, std::allocator<FluidBoxPrototype*> >::_Vector_impl::_Vector_impl() at /usr/include/c++/8/bits/stl_vector.h:96
#20 0x0000000000000001 in std::_Vector_base<FluidBoxPrototype*, std::allocator<FluidBoxPrototype*> >::_Vector_base() at /usr/include/c++/8/bits/stl_vector.h:249
#21 (nil) in std::vector<FluidBoxPrototype*, std::allocator<FluidBoxPrototype*> >::vector() at /usr/include/c++/8/bits/stl_vector.h:395
#22 (nil) in FluidBoxManagerPrototype::FluidBoxManagerPrototype(PropertyTree const&, BoundingBox const&) at /tmp/factorio-build-5KM6rv/src/Fluid/FluidBoxManagerPrototype.cpp:17
#23 (nil) in ?? at ??:0
Stack trace logging done
 544.047 Warning Logger.cpp:518: Symbols.size() == 19, usedSize == 11
 544.047 Error CrashHandler.cpp:189: Map tick at moment of crash: 12088156
 544.047 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.
 896.905 Info SystemUtil.cpp:539: Started /usr/bin/xdg-open; trampoline PID: 8613
 896.905 Uploading log file
 896.913 Info SystemUtil.cpp:539: Started /mnt/78156fe0-317c-485f-a485-5ee61cdf3b35/SteamLibrary/steamapps/common/Factorio/bin/x64/factorio; trampoline PID: 8614
What else do I need to include? :)

*edit* Update, it only seems to be when I am recording with OBS
Last edited by TheHobbit81 on Mon Jul 06, 2020 2:08 pm, edited 1 time in total.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by Rseding91 »

Thanks for the report however that stack track trace looks like bogus. Are you able to reproduce the crash reliably? Based off it looking like a bogus stack trace, you saying it happened "after a few minutes" (and not due to any specific action), it makes me think it's some hardware/OS issue on your end.
If you want to get ahold of me I'm almost always on Discord.

TheHobbit81
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jul 06, 2020 10:41 am
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by TheHobbit81 »

It only seems to be when I am recording with OBS. I just played for an hour or two while not recording and it was fine.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by Rseding91 »

TheHobbit81 wrote:
Mon Jul 06, 2020 2:09 pm
It only seems to be when I am recording with OBS. I just played for an hour or two while not recording and it was fine.
That says to me it happens when your system is under a heavier load and makes me think more it's a hardware issue. Are you overclocking anything?
If you want to get ahold of me I'm almost always on Discord.

TheHobbit81
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jul 06, 2020 10:41 am
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by TheHobbit81 »

No. no overclocking going on.

Specs:
Operating System: Pop!_OS 20.04
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8
Kernel Version: 5.4.0-7634-generic
OS Type: 64-bit
Processors: 12 × AMD Ryzen 5 2600 Six-Core Processor
Memory: 15.6 GiB of RAM

posila
Factorio Staff
Factorio Staff
Posts: 5201
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by posila »

Did OBS update recently? Given the non-sensical stacktrace (unfortunatelly, symbolization on Linux symbolizes addresses that are outside of Factorio as if they were in Factorio), it could have been OBS OpenGL hook crashing, or graphics driver crash.

TheHobbit81
Manual Inserter
Manual Inserter
Posts: 4
Joined: Mon Jul 06, 2020 10:41 am
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by TheHobbit81 »

I beleive there might have been a bit of both, I was having video card error trying to load OBS at a similar point in time.

*edit* OS updated gain and things seem more stable. I also disabled my second monitor and tried a test record and it went well. Thanks for having a look at this.

How do I close this issue now?

medivh
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon Aug 01, 2016 12:40 pm
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by medivh »

Got a save here that does it reliably on 0.17.79 win64. Installed flare stack to try to get rid of excess pure water from bob's chemicals and intermediates. Didn't save with the mod in, but did run the save with the mod. Have uninstalled it since, but the crash keeps happening. It's infected my autosaves too :(

To reproduce: load "17.x - helmod mucking", attempt to save under a new name or wait for an autosave to happen. Haven't tested it trying to save over the same name. Save, log and dump here: https://drive.google.com/file/d/1L6WRa9 ... sp=sharing
mods
Going to try replacing all my fluidbox-containing buildings manually, see if that fixes it. If not, I'll try deleting them through the console, and finally will try updating to 0.18.36. All that'll have to wait for tomorrow, though.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13171
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by Rseding91 »

medivh wrote:
Thu Jul 16, 2020 1:19 pm
Got a save here that does it reliably on 0.17.79 win64. Installed flare stack to try to get rid of excess pure water from bob's chemicals and intermediates. Didn't save with the mod in, but did run the save with the mod. Have uninstalled it since, but the crash keeps happening. It's infected my autosaves too :(

To reproduce: load "17.x - helmod mucking", attempt to save under a new name or wait for an autosave to happen. Haven't tested it trying to save over the same name. Save, log and dump here: https://drive.google.com/file/d/1L6WRa9 ... sp=sharing



Going to try replacing all my fluidbox-containing buildings manually, see if that fixes it. If not, I'll try deleting them through the console, and finally will try updating to 0.18.36. All that'll have to wait for tomorrow, though.
Your crash is completely unrelated to this report. You're crashing in fluidbox logic which is most likely fixed in the latest 0.18 version of the game due to heavy reworking of how that logic functions.
If you want to get ahold of me I'm almost always on Discord.

medivh
Manual Inserter
Manual Inserter
Posts: 3
Joined: Mon Aug 01, 2016 12:40 pm
Contact:

Re: [0.17.79] Game crashes after a few minutes of play. (Was previously working fine)

Post by medivh »

Rseding91 wrote:
Thu Jul 16, 2020 3:10 pm
Your crash is completely unrelated to this report. You're crashing in fluidbox logic which is most likely fixed in the latest 0.18 version of the game due to heavy reworking of how that logic functions.
Huh. That'll teach me for only reading the last line or two of a crash dump and assuming... Sorry, and thanks for the suggestion. Will update first before trying the other stuff.

Post Reply

Return to “1 / 0 magic”