Ryzen crash

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.
Post Reply
rocifier
Inserter
Inserter
Posts: 22
Joined: Tue Oct 15, 2019 10:24 pm
Contact:

Ryzen crash

Post by rocifier »

Hi, I receive this crash most of the time when I'm playing Factorio for more than an hour or two. It says something about my Ryzen CPU, but I have updated chipset drivers, motherboard drivers, and BIOS (UEFI) to the most recent version in the last week. And it still happened. Is there anything else I can do? Should I upgrade to a better CPU or is it likely my motherboard dying? My motherboard is an Aorus B450 Elite.
Attachments
Factorio-more-logs.zip
(206.82 KiB) Downloaded 59 times
bios.png
bios.png (140.2 KiB) Viewed 2551 times
reinstall.png
reinstall.png (244.17 KiB) Viewed 2552 times
Factorio-logs.zip
(187.69 KiB) Downloaded 59 times
Last edited by rocifier on Sat Mar 06, 2021 8:37 am, edited 3 times in total.

rocifier
Inserter
Inserter
Posts: 22
Joined: Tue Oct 15, 2019 10:24 pm
Contact:

Re: Ryzen crash

Post by rocifier »

Just happened again, after 1.5 hours but this time it caused a BSOD. Analysing the crash dump results in this output:

Code: Select all


Microsoft (R) Windows Debugger Version 10.0.19041.685 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.


Loading Dump File [C:\Windows\MEMORY.DMP]
Kernel Bitmap Dump File: Kernel address space is available, User address space may not be available.


************* Path validation summary **************
Response                         Time (ms)     Location
Deferred                                       SRV*C:\Windows\symbol_cache*http://msdl.microsoft.com/download/symbols
Symbol search path is: SRV*C:\Windows\symbol_cache*http://msdl.microsoft.com/download/symbols
Executable search path is: 
Windows 10 Kernel Version 19041 MP (8 procs) Free x64
Product: WinNt, suite: TerminalServer SingleUserTS Personal
Built by: 19041.1.amd64fre.vb_release.191206-1406
Machine Name:
Kernel base = 0xfffff806`5fc00000 PsLoadedModuleList = 0xfffff806`6082a390
Debug session time: Sat Mar  6 20:29:31.086 2021 (UTC + 13:00)
System Uptime: 0 days 1:23:19.749
Loading Kernel Symbols
...............................................................
................................................................
.....................................................
Loading User Symbols
PEB is paged out (Peb.Ldr = 0000008f`4b7c4018).  Type ".hh dbgerr001" for details
Loading unloaded module list
........
For analysis of this file, run !analyze -v
4: kd> !analyze -v
*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

SYSTEM_SERVICE_EXCEPTION (3b)
An exception happened while executing a system service routine.
Arguments:
Arg1: 00000000c0000005, Exception code that caused the bugcheck
Arg2: fffff8065fe6545f, Address of the instruction which caused the bugcheck
Arg3: ffff80016a352920, Address of the context record for the exception that caused the bugcheck
Arg4: 0000000000000000, zero.

Debugging Details:
------------------


KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.Sec
    Value: 3

    Key  : Analysis.DebugAnalysisProvider.CPP
    Value: Create: 8007007e on DESKTOP-6KGP12P

    Key  : Analysis.DebugData
    Value: CreateObject

    Key  : Analysis.DebugModel
    Value: CreateObject

    Key  : Analysis.Elapsed.Sec
    Value: 20

    Key  : Analysis.Memory.CommitPeak.Mb
    Value: 71

    Key  : Analysis.System
    Value: CreateObject


BUGCHECK_CODE:  3b

BUGCHECK_P1: c0000005

BUGCHECK_P2: fffff8065fe6545f

BUGCHECK_P3: ffff80016a352920

BUGCHECK_P4: 0

CONTEXT:  ffff80016a352920 -- (.cxr 0xffff80016a352920)
rax=0000000000000006 rbx=ffff80016a300180 rcx=0000000000000064
rdx=0000000000000003 rsi=ffffb905379a1080 rdi=0000000000000000
rip=fffff8065fe6545f rsp=ffffdc0c17f568f0 rbp=0000000000000001
 r8=0000000000000020  r9=7fffb905379a1918 r10=000000000019c83c
r11=0000000000000003 r12=0000000000000000 r13=0000000000000000
r14=ffffb905379a11c0 r15=0000000000000000
iopl=0         nv up di pl nz ac pe nc
cs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00050012
nt!KiSwapThread+0x10f:
fffff806`5fe6545f 498b0cc1        mov     rcx,qword ptr [r9+rax*8] ds:002b:7fffb905`379a1948=????????????????
Resetting default scope

BLACKBOXBSD: 1 (!blackboxbsd)


BLACKBOXNTFS: 1 (!blackboxntfs)


BLACKBOXWINLOGON: 1

PROCESS_NAME:  factorio.exe

BAD_STACK_POINTER:  ffff80016a352018

STACK_TEXT:  
ffffdc0c`17f568f0 fffff806`5fe64d7f : ffffb905`379a1080 fffff806`5fe78387 00000000`00000000 00000000`00989600 : nt!KiSwapThread+0x10f
ffffdc0c`17f569a0 fffff806`5fe296d2 : 00000000`00000005 00000000`00000000 ffffb905`00000001 00000000`0000321c : nt!KiCommitThreadWait+0x14f
ffffdc0c`17f56a40 fffff806`601ede3f : 000001d9`29a6b9e0 000001d9`232647e0 000001d9`29a6b900 00000000`00000002 : nt!KeDelayExecutionThread+0x122
ffffdc0c`17f56ad0 fffff806`600074b8 : ffffb905`379a1080 ffffb905`00000000 ffffffff`ffff3cb0 ffffb905`399c11b0 : nt!NtDelayExecution+0x5f
ffffdc0c`17f56b00 00007ffa`cf70cca4 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : nt!KiSystemServiceCopyEnd+0x28
0000008f`4ccff6f8 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0x00007ffa`cf70cca4


SYMBOL_NAME:  nt!KiSwapThread+10f

MODULE_NAME: nt

IMAGE_NAME:  ntkrnlmp.exe

STACK_COMMAND:  .cxr 0xffff80016a352920 ; kb

BUCKET_ID_FUNC_OFFSET:  10f

FAILURE_BUCKET_ID:  0x3B_c0000005_STACKPTR_ERROR_nt!KiSwapThread

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

FAILURE_ID_HASH:  {d0f28bff-b5eb-8b35-5211-697ee4d06a19}

Followup:     MachineOwner
---------


rocifier
Inserter
Inserter
Posts: 22
Joined: Tue Oct 15, 2019 10:24 pm
Contact:

Re: Ryzen crash

Post by rocifier »

looking at all the crash logs that are happening, I feel it is some memory problem. so I have removed the oldest RAM stick and left the 3 newer ones in there and will see how it goes.

Argih
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Mar 06, 2021 8:51 pm
Contact:

Re: Ryzen crash

Post by Argih »

Same thing was happening to me since a week ago, with both bios and chipset drivers updated but with an Asus B450 MoBo

I have XMP enabled, i will try disabling it but i'm not overclocking the ram, is set a 3000Mhz which was the rated speed for the sticks i have.


Edit: Still crashed with XMP disabled.
Attachments
Factorio-crash-no-XMP.zip
XMP disble (ram @ 1333Mhz)
(195.29 KiB) Downloaded 54 times
factorio-dump-current.dmp
RAM @ 3000Mhz
(849.58 KiB) Downloaded 52 times
factorio-current.log
Ram @ 3000Mhz
(8.09 KiB) Downloaded 56 times

rocifier
Inserter
Inserter
Posts: 22
Joined: Tue Oct 15, 2019 10:24 pm
Contact:

Re: Ryzen crash

Post by rocifier »

Hmm ok let's try some things together then. I also tried setting the power supply idle setting, replacing my power supply, disabling c-states, disabling cool & quiet. None of those worked. After re-installing the chipset drivers I got a blue screen of death immediately upon starting windows and not again. I did a memtest86 full run on my 32GB overnight and it all passed, but having taken the RAM out, so far I haven't had a crash at all. Let's hope it fixes is.

rocifier
Inserter
Inserter
Posts: 22
Joined: Tue Oct 15, 2019 10:24 pm
Contact:

Re: Ryzen crash

Post by rocifier »

One thing I noticed on the RAM stick I took out, it might be a slight mismatch because although it's the same speed (2666Mhz for me), it has 16-18-18-38 1.2V also on its sticker. But my other RAM is from the same manufacturer and is the same Mhz rating, but my chipset autodetects it at 19-19-19-43 (it is unmarked). So that is why I think this might fix my problem. What type of RAM do you have? Have you run memtest86 on it and checked all the numbers and speed and even date of manufacture match?

Argih
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Mar 06, 2021 8:51 pm
Contact:

Re: Ryzen crash

Post by Argih »

What type of RAM do you have?
Corsair Vengance 2 x 8GB that came in a set
Have you run memtest86 on it and checked all the numbers and speed and even date of manufacture match?
No yet but considering that only happens with Factorio and the sticks came in a set i doubt it could be the case but "Murphy" so i'm going to check.

rocifier
Inserter
Inserter
Posts: 22
Joined: Tue Oct 15, 2019 10:24 pm
Contact:

Re: Ryzen crash

Post by rocifier »

It's definitely my RAM that was the problem, removing that 8GB chip totally resolved the issue. I only noticed very subtle problems with other software / games / my system in general, and at times it started freezing for maybe ten seconds every hour, and that was before I added the extra RAM. After I added the extra RAM I only noticed problems with Factorio. I definitely wouldn't rule out your memory as being good, even if the memtest passes on all tests. One easy thing you could try is swap your slots and see if you have any changes, since you only have two RAM sticks and 4 slots. Make sure they are in slots 2 and 4 away from the CPU if they are not already. For some reason these generally work better in systems across the board than slots 1,2 or slots 1,3. What power supply do you have?

rocifier
Inserter
Inserter
Posts: 22
Joined: Tue Oct 15, 2019 10:24 pm
Contact:

Re: Ryzen crash

Post by rocifier »

Wait, this was already assumed for you, but is your BIOS up to date? There is a known issue with Ryzen 5s which needs to be patched. Also install the chipset drivers in windows for your motherboard version.

Post Reply

Return to “Technical Help”