[Bug] Invalid memory adress / exitcode 3762504530 #298

Closed
opened 2024-11-22 16:29:40 +00:00 by mariusft · 1 comment
mariusft commented 2024-11-22 16:29:40 +00:00 (Migrated from github.com)

Description of the issue

Vulkan:

00:00:16.251 |E| HLE.GuestThread.60 Cpu InvalidAccessHandler: Invalid memory access at virtual address 0x0000000000000000.
00:00:16.284 |E| HLE.GuestThread.60 Application : Unhandled exception caught: Ryujinx.Memory.InvalidMemoryRegionException: Attempted to access an invalid memory region.
   at Ryujinx.Memory.Tracking.MemoryTracking.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write, Boolean precise, Nullable`1 exemptId, Boolean guest) in ..\src\Ryujinx.Memory\Tracking\MemoryTracking.cs:line 349
   at Ryujinx.Cpu.MemoryEhMeilleure.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write) in ..\src\Ryujinx.Cpu\MemoryEhMeilleure.cs:line 65
   at ARMeilleure.Translation.Translator.Execute(ExecutionContext context, UInt64 address) in ..\src\ARMeilleure\Translation\Translator.cs:line 145
   at Ryujinx.Cpu.Jit.JitCpuContext.Execute(IExecutionContext context, UInt64 address) in ..\src\Ryujinx.Cpu\Jit\JitCpuContext.cs:line 40
   at Ryujinx.HLE.HOS.ArmProcessContext`1.Execute(IExecutionContext context, UInt64 codeAddress) in ..\src\Ryujinx.HLE\HOS\ArmProcessContext.cs:line 62
   at Ryujinx.HLE.HOS.Kernel.Threading.KThread.ThreadStart() in ..\src\Ryujinx.HLE\HOS\Kernel\Threading\KThread.cs:line 1263
   at System.Threading.Thread.StartCallback()

OpenGL:

00:00:10.729 |E| HLE.GuestThread.46 Cpu InvalidAccessHandler: Invalid memory access at virtual address 0x0000002007ED4000.
00:00:10.768 |E| HLE.GuestThread.46 Application : Unhandled exception caught: Ryujinx.Memory.InvalidMemoryRegionException: Attempted to access an invalid memory region.
   at Ryujinx.Memory.Tracking.MemoryTracking.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write, Boolean precise, Nullable`1 exemptId, Boolean guest) in ..\src\Ryujinx.Memory\Tracking\MemoryTracking.cs:line 349
   at Ryujinx.Memory.Tracking.MemoryTracking.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write) in ..\src\Ryujinx.Memory\Tracking\MemoryTracking.cs:line 275
   at Ryujinx.Cpu.MemoryEhMeilleure.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write) in ..\src\Ryujinx.Cpu\MemoryEhMeilleure.cs:line 65
   at ARMeilleure.Translation.Translator.Execute(ExecutionContext context, UInt64 address) in ..\src\ARMeilleure\Translation\Translator.cs:line 145
   at Ryujinx.Cpu.Jit.JitCpuContext.Execute(IExecutionContext context, UInt64 address) in ..\src\Ryujinx.Cpu\Jit\JitCpuContext.cs:line 40
   at Ryujinx.HLE.HOS.ArmProcessContext`1.Execute(IExecutionContext context, UInt64 codeAddress) in ..\src\Ryujinx.HLE\HOS\ArmProcessContext.cs:line 62
   at Ryujinx.HLE.HOS.Kernel.Threading.KThread.ThreadStart() in ..\src\Ryujinx.HLE\HOS\Kernel\Threading\KThread.cs:line 1263
   at System.Threading.Thread.StartCallback()

After multimple attempts it worked on Vulkan and return the following:

00:00:41.385 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:41.535 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:42.152 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:42.768 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:42.835 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:45.236 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:45.302 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:45.318 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:45.369 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:45.386 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:45.436 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:45.452 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:00:45.502 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected
00:14:20.460 |E| HLE.OsThread.4 Gpu WaitOnSyncpoint: Wait on syncpoint 1 for threshold 206375 took more than 1000ms, resuming execution...
00:15:23.269 |E| HLE.OsThread.7 SurfaceFlinger DequeueBuffer: No available buffer slots
00:15:23.270 |E| HLE.OsThread.7 SurfaceFlinger OnTransact: Error returned by transaction DequeueBuffer: Busy

Reproduction steps

n/a

Log file

n/a

OS

Windows 10.0.22631

Ryujinx version

1.2.76

Game version

N/A

CPU

AMD Ryzen

GPU

GeForce RTX

RAM

32GB

List of applied mods

N/A

Additional context?

N/A

### Description of the issue Vulkan: ``` 00:00:16.251 |E| HLE.GuestThread.60 Cpu InvalidAccessHandler: Invalid memory access at virtual address 0x0000000000000000. 00:00:16.284 |E| HLE.GuestThread.60 Application : Unhandled exception caught: Ryujinx.Memory.InvalidMemoryRegionException: Attempted to access an invalid memory region. at Ryujinx.Memory.Tracking.MemoryTracking.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write, Boolean precise, Nullable`1 exemptId, Boolean guest) in ..\src\Ryujinx.Memory\Tracking\MemoryTracking.cs:line 349 at Ryujinx.Cpu.MemoryEhMeilleure.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write) in ..\src\Ryujinx.Cpu\MemoryEhMeilleure.cs:line 65 at ARMeilleure.Translation.Translator.Execute(ExecutionContext context, UInt64 address) in ..\src\ARMeilleure\Translation\Translator.cs:line 145 at Ryujinx.Cpu.Jit.JitCpuContext.Execute(IExecutionContext context, UInt64 address) in ..\src\Ryujinx.Cpu\Jit\JitCpuContext.cs:line 40 at Ryujinx.HLE.HOS.ArmProcessContext`1.Execute(IExecutionContext context, UInt64 codeAddress) in ..\src\Ryujinx.HLE\HOS\ArmProcessContext.cs:line 62 at Ryujinx.HLE.HOS.Kernel.Threading.KThread.ThreadStart() in ..\src\Ryujinx.HLE\HOS\Kernel\Threading\KThread.cs:line 1263 at System.Threading.Thread.StartCallback() ``` OpenGL: ``` 00:00:10.729 |E| HLE.GuestThread.46 Cpu InvalidAccessHandler: Invalid memory access at virtual address 0x0000002007ED4000. 00:00:10.768 |E| HLE.GuestThread.46 Application : Unhandled exception caught: Ryujinx.Memory.InvalidMemoryRegionException: Attempted to access an invalid memory region. at Ryujinx.Memory.Tracking.MemoryTracking.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write, Boolean precise, Nullable`1 exemptId, Boolean guest) in ..\src\Ryujinx.Memory\Tracking\MemoryTracking.cs:line 349 at Ryujinx.Memory.Tracking.MemoryTracking.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write) in ..\src\Ryujinx.Memory\Tracking\MemoryTracking.cs:line 275 at Ryujinx.Cpu.MemoryEhMeilleure.VirtualMemoryEvent(UInt64 address, UInt64 size, Boolean write) in ..\src\Ryujinx.Cpu\MemoryEhMeilleure.cs:line 65 at ARMeilleure.Translation.Translator.Execute(ExecutionContext context, UInt64 address) in ..\src\ARMeilleure\Translation\Translator.cs:line 145 at Ryujinx.Cpu.Jit.JitCpuContext.Execute(IExecutionContext context, UInt64 address) in ..\src\Ryujinx.Cpu\Jit\JitCpuContext.cs:line 40 at Ryujinx.HLE.HOS.ArmProcessContext`1.Execute(IExecutionContext context, UInt64 codeAddress) in ..\src\Ryujinx.HLE\HOS\ArmProcessContext.cs:line 62 at Ryujinx.HLE.HOS.Kernel.Threading.KThread.ThreadStart() in ..\src\Ryujinx.HLE\HOS\Kernel\Threading\KThread.cs:line 1263 at System.Threading.Thread.StartCallback() ``` After multimple attempts it worked on Vulkan and return the following: ``` 00:00:41.385 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:41.535 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:42.152 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:42.768 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:42.835 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:45.236 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:45.302 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:45.318 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:45.369 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:45.386 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:45.436 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:45.452 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:00:45.502 |E| Ryujinx.NvdecProcessor FFmpeg Log: [h264 @ 0000022f84ecf000] illegal short term buffer state detected 00:14:20.460 |E| HLE.OsThread.4 Gpu WaitOnSyncpoint: Wait on syncpoint 1 for threshold 206375 took more than 1000ms, resuming execution... 00:15:23.269 |E| HLE.OsThread.7 SurfaceFlinger DequeueBuffer: No available buffer slots 00:15:23.270 |E| HLE.OsThread.7 SurfaceFlinger OnTransact: Error returned by transaction DequeueBuffer: Busy ``` ### Reproduction steps n/a ### Log file n/a ### OS Windows 10.0.22631 ### Ryujinx version 1.2.76 ### Game version N/A ### CPU AMD Ryzen ### GPU GeForce RTX ### RAM 32GB ### List of applied mods N/A ### Additional context? N/A
GreemDev commented 2024-11-22 16:32:12 +00:00 (Migrated from github.com)

Follow the issue template, thanks.

Follow the issue template, thanks.
Sign in to join this conversation.
No Milestone
No project
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MeloNX/Ryujinx-ryubing#298
No description provided.