Skip to content

【游戏崩溃】【游戏报错】【崩溃】加载游戏时发生内存访问违规 (0xc0000005) #58

Description

@KKKisme-114514

错误日志是这样的,但是学的烂看不懂,从ai区问了一下也没搞清楚。
复现步骤

  1. 打开启动器...
  2. 点击开始游戏...
  3. 在进度条走到 93% 时崩溃

系统是Win11
版本就是最新版
我使用 WinDbg 分析了崩溃转储文件
主要问题好像是这个
Exception Code: 0xc0000005
Faulting Module: GameAudio.dll
文件
KEY_VALUES_STRING: 1

Key  : AV.Type
Value: Read

Key  : Analysis.CPU.mSec
Value: 2171

Key  : Analysis.Elapsed.mSec
Value: 289185

Key  : [Analysis.IO](https://analysis.io/).Other.Mb
Value: 23

Key  : [Analysis.IO](https://analysis.io/).Read.Mb
Value: 1

Key  : [Analysis.IO](https://analysis.io/).Write.Mb
Value: 34

Key  : Analysis.Init.CPU.mSec
Value: 500

Key  : Analysis.Init.Elapsed.mSec
Value: 7959

Key  : [Analysis.Memory.Com](https://analysis.memory.com/)mitPeak.Mb
Value: 192

Key  : Analysis.Version.DbgEng
Value: 10.0.29547.1002

Key  : Analysis.Version.Description
Value: 10.2602.27.2 amd64fre

Key  : Analysis.Version.Ext
Value: 1.2602.27.2

Key  : Failure.Bucket
Value: INVALID_POINTER_READ_AVRF_c0000005_Game.exe!Unknown

Key  : [Failure.Exception.Co](https://failure.exception.co/)de
Value: 0xc0000005

Key  : Failure.Exception.IP.Address
Value: 0x142b99dda

Key  : Failure.Exception.IP.Module
Value: Game

Key  : Failure.Exception.IP.Offset
Value: 0x2b99dda

Key  : Failure.Hash
Value: {1b2e7ab2-5459-0a91-5911-e09a4fa762ad}

Key  : Failure.ProblemClass.Primary
Value: INVALID_POINTER_READ

Key  : Faulting.IP.Type
Value: Paged

Key  : Timeline.OS.Boot.DeltaSec
Value: 331633

Key  : Timeline.Process.Start.DeltaSec
Value: 31

Key  : WER.OS.Branch
Value: ge_release

Key  : WER.OS.Version
Value: 10.0.26100.1

Key  : WER.Process.Version
Value: 4.26.2.0

FILE_IN_CAB: 83710472-184d-4c9a-94fb-914d0ac71be0.dmp

APPLICATION_VERIFIER_FLAGS: 0

APPLICATION_VERIFIER_LOADED: 1

CONTEXT: (.ecxr)
rax=0000cc17aaaa57e0 rbx=0000000001afe200 rcx=0000000001afe200
rdx=0000000000000000 rsi=0000000000000000 rdi=0000000000000000
rip=0000000142b99dda rsp=0000000001afdf60 rbp=0000000001afe060
r8=7ffffffffffffffc r9=0000000000000000 r10=0000000000000000
r11=0000000001afe110 r12=0000000140d991e0 r13=0000000001afe750
r14=0000000000000000 r15=00000000f5e28c80
iopl=0 nv up ei pl nz na po nc
cs=0033 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010202
Game!AK::WriteBytesCount::SetCount+0xf0edda:
0000000142b99dda f786cc00000080000010 test dword ptr [rsi+0CCh],10000080h ds:00000000000000cc=????????
Resetting default scope

EXCEPTION_RECORD: (.exr -1)
ExceptionAddress: 0000000142b99dda (Game!AK::WriteBytesCount::SetCount+0x0000000000f0edda)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 0000000000000000
Parameter[1]: 00000000000000cc
Attempt to read from address 00000000000000cc

PROCESS_NAME: Game.exe

READ_ADDRESS: 00000000000000cc

ERROR_CODE: (NTSTATUS) 0xc0000005 - 0x%p 0x%p %s

EXCEPTION_CODE_STR: c0000005

EXCEPTION_PARAMETER1: 0000000000000000

EXCEPTION_PARAMETER2: 00000000000000cc

STACK_TEXT:
0000000001afdf60 00000001417c7703 : 0000000000000000 0000000000000000 0000000145494db0 0000000000000000 : Game!AK::WriteBytesCount::SetCount+0xf0edda
0000000001afe140 000000014245e77d : 0000000000000001 0000000000000003 0000000000000000 0000000000000000 : Game!AK::WriteBytesCount::Count+0x260453
0000000001afe350 000000014245fa43 : 0000000001afe5f0 0000000142259de9 0000000001afe750 00000001af2c11ab : Game!AK::WriteBytesCount::SetCount+0x7d377d
0000000001afe470 000000014263e78d : 0000000001afe5f0 0000000142b7d436 0000000001afe750 000000014784b510 : Game!AK::WriteBytesCount::SetCount+0x7d4a43
0000000001afe4d0 0000000142b766ba : 0000000001afe5f0 00000001ad90b800 000000014784b510 00000000003d185c : Game!AK::WriteBytesCount::SetCount+0x9b378d
0000000001afe520 0000000142b6c1a6 : 00000001387da480 0000000001afe880 0000000000000000 0000000000000000 : Game!AK::WriteBytesCount::SetCount+0xeeb6ba
0000000001afe5b0 0000000142b7faab : 0000000000000000 00000001429eda0c 00000001ad90b800 0000000143e40f6c : Game!AK::WriteBytesCount::SetCount+0xee11a6
0000000001afe6f0 0000000142b766ba : 0000000000000000 0000000143e3ba0a 00000001ad90b800 000000014088f311 : Game!AK::WriteBytesCount::SetCount+0xef4aab
0000000001afe730 0000000142b765be : 00000001ad90b800 0000000001afe880 00000001ad90b800 000000007f0e07c0 : Game!AK::WriteBytesCount::SetCount+0xeeb6ba
0000000001afe7c0 00000001429f2653 : 0000000000000000 0000000187ec4760 00000001ad90b800 0000000000000000 : Game!AK::WriteBytesCount::SetCount+0xeeb5be
0000000001afe810 0000000142b7648d : 0000000000000000 0000000001afe870 0000000187ec4760 0000000000000000 : Game!AK::WriteBytesCount::SetCount+0xd67653
0000000001afe840 0000000143e46c7b : 00000000ffffffff 00000000000713dc 0000000145961d60 00000001ad90b800 : Game!AK::WriteBytesCount::SetCount+0xeeb48d
0000000001afe970 0000000143e2f08b : 00000001ad90b800 00000000649ca3c0 0000000001afe9e0 0000000001afe9e0 : Game!src_strerror+0x1c911b
0000000001afe9a0 0000000143e33a74 : 00000000ce636980 0000000000000000 0000000184e45950 0000000000000000 : Game!src_strerror+0x1b152b
0000000001afeac0 000000014456652e : 000000017ad7d140 0000000001afeb49 000000019e6c7900 00000001ad90b800 : Game!src_strerror+0x1b5f14
0000000001afeaf0 00000001440e05d1 : 0000000181f9c680 0000000181f9c680 000000014661d340 0000000000000000 : Game!src_strerror+0x8e89ce
0000000001afebb0 0000000144541c43 : 000000017ad7d140 00000000003d16ec 000000014661d340 0000000142841115 : Game!src_strerror+0x462a71
0000000001afebe0 00000001444fd7cf : 0000000000000001 0000000000000001 000000014661d340 0000000145b33338 : Game!src_strerror+0x8c40e3
0000000001afec60 00000001444e7ef5 : 0000000001aff108 00000000f5e289c0 0000000145ae97e8 0000000145ae97e8 : Game!src_strerror+0x87fc6f
0000000001afee40 0000000142044d08 : 00000001af74c2b0 00000001af74c290 0000000001aff170 0000000140b303dd : Game!src_strerror+0x86a395
0000000001aff0b0 00000001440f678b : 00000000f63130d0 00000000f5e289c0 00000000f5e28c80 0000000000000000 : Game!AK::WriteBytesCount::SetCount+0x3b9d08
0000000001aff190 000000014088bc30 : 0000000000092c1c 0000000000000000 0000000000000000 00000000ffffffff : Game!src_strerror+0x478c2b
0000000001aff430 0000000140893055 : 00000000ffffffff 00000000ffffffff 0000000000000000 000000000a2a6aa0 : Game!FGameLogicTreeModule::ShutdownModule+0x610
0000000001aff590 00000001408931ca : 000000000a2dbe64 000000000a2dbd80 0000000000000000 0000000000000000 : Game!AK::WriteBytesCount::Reserve+0x5e15
0000000001aff680 000000014089db40 : 000000000a2dbd80 0000000001ad9f10 0000000000000000 0000000000000000 : Game!AK::WriteBytesCount::Reserve+0x5f8a
0000000001aff6c0 000000014526b4be : 000000000000000a 0000000000000000 0000000000000000 0000000000000000 : Game!AK::WriteBytesCount::Reserve+0x10900
0000000001afff20 00007ff95c38e957 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : Game!agsCheckDriverVersion+0x89cae
0000000001afff60 00007ff95d747c1c : 0000000000000000 0000000000000000 000004f0fffffb30 000004d0fffffb30 : kernel32!BaseThreadInitThunk+0x17
0000000001afff90 0000000000000000 : 0000000000000000 0000000000000000 0000000000000000 0000000000000000 : ntdll!RtlUserThreadStart+0x2c

IP_IN_PAGED_CODE:
Game!AK::WriteBytesCount::SetCount+f0edda
00000001`42b99dda f786cc00000080000010 test dword ptr [rsi+0CCh],10000080h

SYMBOL_NAME: Game+2b99dda

MODULE_NAME: Game

IMAGE_NAME: Game.exe

STACK_COMMAND: ~44s; .ecxr ; kb

FAILURE_BUCKET_ID: INVALID_POINTER_READ_AVRF_c0000005_Game.exe!Unknown

OS_VERSION: 10.0.26100.1

BUILDLAB_STR: ge_release

OSPLATFORM_TYPE: x64

OSNAME: Windows 10

IMAGE_VERSION: 4.26.2.0

FAILURE_ID_HASH: {1b2e7ab2-5459-0a91-5911-e09a4fa762ad}

Followup: MachineOwner

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions