[0.15.17] [posila] Crash when changing GPU frequency

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
Robert
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Apr 21, 2016 11:34 am
Contact:

[0.15.17] [posila] Crash when changing GPU frequency

Post by Robert »

Steps to reproduce:
Step 1: Load/Start any world
Step 2: Alt+Tab into MSI Afterburner
Step 3: Change the GPU clock speed, and apply it
Step 4: Alt+Tab back into the game, and it crashes

Here is the crashlog:

Code: Select all

   0.006 2017-06-01 16:45:26; Factorio 0.15.17 (build 30140, win64, steam)
   0.006 Operating system: Windows 7 Service Pack 1
   0.006 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.006 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.006 Write data path: C:/Users/Robert/AppData/Roaming/Factorio
   0.006 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.034 System info: [CPU: AMD Athlon(tm) II Dual-Core M320, 2 cores, RAM: 4094MB]
   0.037 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 90.6425%] [MultiSampling: OFF] [Screen: 255]
   0.039 Available display adapters: 1
   0.039  [0]: \\.\DISPLAY1 - AMD Mobility Radeon HD 5000 Series {0x80005, [0,0], 1366x768, 32bit, 60Hz}
   0.040 Create display on adapter 0. Size 1280x720 at position [33, 6].
   1.002 Initialised OpenGL:[0] AMD Mobility Radeon HD 5000 Series; driver: 4.5.13417 Compatibility Profile Context 15.301.1901.0
   1.091 DSound: Starting _dsound_update thread
   1.092 DSound: Enter _dsound_update; tid=1308
   1.095 Graphics settings preset: medium
   1.097 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: false]
   1.473 Loading mod core 0.0.0 (data.lua)
   1.497 Loading mod base 0.15.17 (data.lua)
   1.840 Loading mod base 0.15.17 (data-updates.lua)
   1.930 Checksum for core: 368996287
   1.930 Checksum of base: 876298631
   2.963 Info PlayerData.cpp:56: Local player-data.json available, timestamp 1496328322
   2.963 Info PlayerData.cpp:63: Cloud player-data.json unavailable
   3.569 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.glsl
   3.571 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.glsl
   3.607 Initial atlas bitmap size is 16384
   3.615 Created atlas bitmap 16384x8939
   3.616 Created atlas bitmap 8192x2101
   3.618 Created atlas bitmap 8192x3318
   3.618 Created atlas bitmap 8192x760
   3.619 Created atlas bitmap 4096x1860
   3.640 Atlases were not loaded from disk cache.
  24.428 Sprites loaded
  42.523 Sprite atlas cached.
  42.523 Convert atlas 4096x1860 to: trilinear-filtering 
  43.065 Loading sounds...
  53.231 Custom inputs active: 0
  53.668 Factorio initialised
  63.053 Loading map C:\Users\Robert\AppData\Roaming\Factorio\saves\LazyAchievement.zip: 3962950 bytes.
  63.815 Loading Level.dat: 6407779 bytes.
  63.822 Info Scenario.cpp:134: Map version 0.15.16-1
  64.762 Info BlueprintLibrary.cpp:190: Loaded library shelves:
  64.762 Info BlueprintLibrary.cpp:679: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1496242410; records:
  64.762 Info BlueprintLibrary.cpp:681: Player shelf: playerIndex = 0, nextRecordID = 0; timestamp = 1496316568; records:
  64.816 Info BlueprintLibrary.cpp:47: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1496328391; records:
  64.826 Loading script.dat: 190 bytes.
  64.849 Checksum for script C:/Users/Robert/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 282129324
 140.527 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-aacp8y\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-aacp8y\src\util\logger.cpp (364): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-aacp8y\src\util\logger.cpp (421): Logger::logStacktrace
c:\cygwin64\tmp\factorio-aacp8y\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-aacp8y\src\util\crashhandler.cpp (235): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (269): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000140A03B78)
0000000140A03B78 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B7812D)
0000000077B7812D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B6855F)
0000000077B6855F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B9BCB8)
0000000077B9BCB8 (ntdll): (filename not available): KiUserExceptionDispatcher
 160.084 Error CrashHandler.cpp:106: Map tick at moment of crash: 147438
 160.084 Error Util.cpp:80: 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.
World save is attached (it's a map I made for doing the 'Lazy Bastard' achievement)
No mods installed
Afterburner version: 4.3.0
PC specs
Attachments
LazyAchievement.zip
(3.78 MiB) Downloaded 98 times
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5284
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: [0.15.17] [posila] Crash when changing GPU frequency

Post by Klonan »

Robert wrote:Steps to reproduce:
Step 1: Load/Start any world
Step 2: Alt+Tab into MSI Afterburner
Step 3: Change the GPU clock speed, and apply it
Step 4: Alt+Tab back into the game, and it crashes

Here is the crashlog:

Code: Select all

   0.006 2017-06-01 16:45:26; Factorio 0.15.17 (build 30140, win64, steam)
   0.006 Operating system: Windows 7 Service Pack 1
   0.006 Program arguments: "C:\Program Files (x86)\Steam\steamapps\common\Factorio\bin\x64\Factorio.exe" 
   0.006 Read data path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/data
   0.006 Write data path: C:/Users/Robert/AppData/Roaming/Factorio
   0.006 Binaries path: C:/Program Files (x86)/Steam/steamapps/common/Factorio/bin
   0.034 System info: [CPU: AMD Athlon(tm) II Dual-Core M320, 2 cores, RAM: 4094MB]
   0.037 Display options: [FullScreen: 1] [VSync: 1] [UIScale: 90.6425%] [MultiSampling: OFF] [Screen: 255]
   0.039 Available display adapters: 1
   0.039  [0]: \\.\DISPLAY1 - AMD Mobility Radeon HD 5000 Series {0x80005, [0,0], 1366x768, 32bit, 60Hz}
   0.040 Create display on adapter 0. Size 1280x720 at position [33, 6].
   1.002 Initialised OpenGL:[0] AMD Mobility Radeon HD 5000 Series; driver: 4.5.13417 Compatibility Profile Context 15.301.1901.0
   1.091 DSound: Starting _dsound_update thread
   1.092 DSound: Enter _dsound_update; tid=1308
   1.095 Graphics settings preset: medium
   1.097 Graphics options: [Graphics quality: normal] [Video memory usage: all] [Light scale: 25%] [DXT: false]
   1.473 Loading mod core 0.0.0 (data.lua)
   1.497 Loading mod base 0.15.17 (data.lua)
   1.840 Loading mod base 0.15.17 (data-updates.lua)
   1.930 Checksum for core: 368996287
   1.930 Checksum of base: 876298631
   2.963 Info PlayerData.cpp:56: Local player-data.json available, timestamp 1496328322
   2.963 Info PlayerData.cpp:63: Cloud player-data.json unavailable
   3.569 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/game.glsl
   3.571 Loaded shader file C:/Program Files (x86)/Steam/steamapps/common/Factorio/data/core/graphics/shaders/zoom-to-world.glsl
   3.607 Initial atlas bitmap size is 16384
   3.615 Created atlas bitmap 16384x8939
   3.616 Created atlas bitmap 8192x2101
   3.618 Created atlas bitmap 8192x3318
   3.618 Created atlas bitmap 8192x760
   3.619 Created atlas bitmap 4096x1860
   3.640 Atlases were not loaded from disk cache.
  24.428 Sprites loaded
  42.523 Sprite atlas cached.
  42.523 Convert atlas 4096x1860 to: trilinear-filtering 
  43.065 Loading sounds...
  53.231 Custom inputs active: 0
  53.668 Factorio initialised
  63.053 Loading map C:\Users\Robert\AppData\Roaming\Factorio\saves\LazyAchievement.zip: 3962950 bytes.
  63.815 Loading Level.dat: 6407779 bytes.
  63.822 Info Scenario.cpp:134: Map version 0.15.16-1
  64.762 Info BlueprintLibrary.cpp:190: Loaded library shelves:
  64.762 Info BlueprintLibrary.cpp:679: Game shelf: playerIndex = 65535, nextRecordID = 0; timestamp = 1496242410; records:
  64.762 Info BlueprintLibrary.cpp:681: Player shelf: playerIndex = 0, nextRecordID = 0; timestamp = 1496316568; records:
  64.816 Info BlueprintLibrary.cpp:47: Loaded external blueprint storage: playerIndex = 65535, nextRecordID = 0; timestamp = 1496328391; records:
  64.826 Loading script.dat: 190 bytes.
  64.849 Checksum for script C:/Users/Robert/AppData/Roaming/Factorio/temp/currently-playing/control.lua: 282129324
 140.527 Error CrashHandler.cpp:232: Received SIGSEGV
Factorio crashed. Generating symbolized stacktrace, please wait ...
c:\cygwin64\tmp\factorio-aacp8y\libraries\stackwalker\stackwalker.cpp (923): StackWalker::ShowCallstack
c:\cygwin64\tmp\factorio-aacp8y\src\util\logger.cpp (364): Logger::writeStacktrace
c:\cygwin64\tmp\factorio-aacp8y\src\util\logger.cpp (421): Logger::logStacktrace
c:\cygwin64\tmp\factorio-aacp8y\src\util\crashhandler.cpp (105): CrashHandler::writeStackTrace
c:\cygwin64\tmp\factorio-aacp8y\src\util\crashhandler.cpp (235): CrashHandler::SignalHandler
d:\th\minkernel\crts\ucrt\src\appcrt\misc\exception_filter.cpp (219): _seh_filter_exe
f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl (269): `__scrt_common_main_seh'::`1'::filt$0
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000140A03B78)
0000000140A03B78 (Factorio): (filename not available): __C_specific_handler
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B7812D)
0000000077B7812D (ntdll): (filename not available): RtlDecodePointer
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B6855F)
0000000077B6855F (ntdll): (filename not available): RtlUnwindEx
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 0000000077B9BCB8)
0000000077B9BCB8 (ntdll): (filename not available): KiUserExceptionDispatcher
 160.084 Error CrashHandler.cpp:106: Map tick at moment of crash: 147438
 160.084 Error Util.cpp:80: 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.
World save is attached (it's a map I made for doing the 'Lazy Bastard' achievement)
No mods installed
Afterburner version: 4.3.0
PC specs
Thanks for the report,

Does it crash everytime you change the clock speed?
Have you had any further issues?

It is known that MSI afterburner can cause some issues with the game,
Are you using the latest update of afterburner?
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.15.17] Crash when changing GPU frequency

Post by TruePikachu »

<ninja'd as well>

The entire relevant part of the backtrace is in `ntdll` i.e. Windows; this is more likely a bug with MSI Afterburner or Windows than with Factorio.

I'll test what happens when I change my own GPU frequency later today with AMD Overdrive; I have done it in the past with no issue.
Robert
Manual Inserter
Manual Inserter
Posts: 3
Joined: Thu Apr 21, 2016 11:34 am
Contact:

Re: [0.15.17] [posila] Crash when changing GPU frequency

Post by Robert »

Klonan wrote:
Robert wrote:
Thanks for the report,

Does it crash everytime you change the clock speed?
Have you had any further issues?

It is known that MSI afterburner can cause some issues with the game,
Are you using the latest update of afterburner?
Yes, it crashes every time, and yes, I'm using the latest version of afterburner.
User avatar
TruePikachu
Filter Inserter
Filter Inserter
Posts: 978
Joined: Sat Apr 09, 2016 8:39 pm
Contact:

Re: [0.15.17] [posila] Crash when changing GPU frequency

Post by TruePikachu »

I'm not able to reproduce the crash when changing my own GPU clock; in fact, it was even varying on its own before I forced it up to 800MHz (I've tested it as stable there) from the default limit of 685MHz (and I saw it go down as low as 200MHz when I had Afterburner's configuration open -- with Factorio running (not paused) in the background, and visible).

This is either a driver issue or an issue with MSI Afterburner
posila
Factorio Staff
Factorio Staff
Posts: 5359
Joined: Thu Jun 11, 2015 1:35 pm
Contact:

Re: [0.15.17] [posila] Crash when changing GPU frequency

Post by posila »

Hi, you can switch to DirectX renderer and see if it doesn't crash. Open Factorio properties in Steam library and set launch options to

Code: Select all

--force-d3d
If it still crashes when using DirectX, than my suggestion is to not change GPU clock speed when playing the game.
Post Reply

Return to “1 / 0 magic”