[1.1.32] Crash after being minimized for a while (RenderParameters::zoomIn)

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
sanlor
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Apr 17, 2021 4:34 pm
Contact:

[1.1.32] Crash after being minimized for a while (RenderParameters::zoomIn)

Post by sanlor »

I was playing the game, saved and left minimized for about 6 hours.
Wen I came back, i was able to walk a few steps and then it crashed.

I have no mods nor anything.
Attachments
factorio-current.log
(8.67 KiB) Downloaded 338 times
factorio-dump-current.dmp
(628.67 KiB) Downloaded 325 times

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

Re: [1.1.32] Crash after being minimized for a while (RenderParameters::zoomIn)

Post by posila »

Thanks for the report.
The crash is impossible, so I suspect CPU erred when executing instructions, or the instructions got corrupted in-memory (as executable CRC is correct)

As to why it is impossible:

Code: Select all

  switch (itemLevel)
  {
    case ItemLevel::Always: return true;
    case ItemLevel::Debug: return debugLevel == DebugLevel::Debug;
    case ItemLevel::Never: return debugLevel == DebugLevel::Never;
  }

  LOG_ENUM_AND_ABORT(itemLevel.asEnum());
This is the code, that crashed ... it got to the LOG_ENUM_AND_ABORT line (which is not supposed to ever happen), and logged

Code: Select all

19972.435 Error DebugSettings.cpp:179: Unknown enum value: 2
But value 2 is ItemLevel::Never, so it should have returned from the function at the line

Code: Select all

    case ItemLevel::Never: return debugLevel == DebugLevel::Never;

Post Reply

Return to “1 / 0 magic”