grumpycoders / pcsx-redux

The PCSX-Redux project is a collection of tools, research, hardware design, and libraries aiming at development and reverse engineering on the PlayStation 1. The core product itself, PCSX-Redux, is yet another fork of the Playstation emulator, PCSX.
https://pcsx-redux.consoledev.net
GNU General Public License v2.0
632 stars 94 forks source link

Instant Crash on Open - 0xc0000005 The thread tried to read from or write to a virtual address for which it does not have the appropriate access. #1699

Open EmperorKonstantin opened 1 month ago

EmperorKonstantin commented 1 month ago

Describe the bug

When attempting to open pcsx-redux.exe I started getting an instant crash on open.

Opening ./.sentry-native/reports/fdb3a511-ec43-4196-8b48-262b38b0b604.dmp in Visual Studio 2022 I can see this is the crash error:

0xc0000005 The thread tried to read from or write to a virtual address for which it does not have the appropriate access.

Expected behavior

pxsx-redux to open as normal.

Steps to reproduce the bug

Double click pcsx-redux.exe

Operating System

Windows 11

PCSX-Redux version

Build 36 :: pcsx-redux-nightly-19253.20240808.3-x64.zip

Build 35 :: pcsx-redux-nightly-19244.20240806.2-x64.zip

CPU model

Intel(R) Core(TM) i3-1115G4

GPU model & Drivers

Intel UHD Graphics

BIOS version

OpenBIOS

Options

Iso checks

No response

Logs

Dump Summary

Dump File: fdb3a511-ec43-4196-8b48-262b38b0b604.dmp : C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64.sentry-native\reports\fdb3a511-ec43-4196-8b48-262b38b0b604.dmp Last Write Time: 8/8/2024 5:29:45 PM Process Name:
Process Architecture: x64 Exception Code: 0xc0000005 Exception Information: The thread tried to read from or write to a virtual address for which it does not have the appropriate access. Heap Information: Not Present

System Information

OS Version: 10.0.22631 CLR Version(s):

Modules

Module Name Module Path Module Version


pcsx-redux.main C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\pcsx-redux.main 0.0.0.0 ntdll.dll C:\WINDOWS\SYSTEM32\ntdll.dll 10.0.22621.3733 KERNEL32.DLL C:\WINDOWS\System32\KERNEL32.DLL 10.0.22621.3958 KERNELBASE.dll C:\WINDOWS\System32\KERNELBASE.dll 10.0.22621.3958 apphelp.dll C:\WINDOWS\SYSTEM32\apphelp.dll 10.0.22621.3810 SHELL32.dll C:\WINDOWS\System32\SHELL32.dll 10.0.22621.3958 msvcp_win.dll C:\WINDOWS\System32\msvcp_win.dll 10.0.22621.3374 ucrtbase.dll C:\WINDOWS\System32\ucrtbase.dll 10.0.22621.3593 USER32.dll C:\WINDOWS\System32\USER32.dll 10.0.22621.3958 avformat-59.dll C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\avformat-59.dll 59.27.100.0 win32u.dll C:\WINDOWS\System32\win32u.dll 10.0.22621.3958 avcodec-59.dll C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\avcodec-59.dll 59.37.100.0 msvcrt.dll C:\WINDOWS\System32\msvcrt.dll 7.0.22621.2506 GDI32.dll C:\WINDOWS\System32\GDI32.dll 10.0.22621.3672 ole32.dll C:\WINDOWS\System32\ole32.dll 10.0.22621.3958 gdi32full.dll C:\WINDOWS\System32\gdi32full.dll 10.0.22621.3958 WS2_32.dll C:\WINDOWS\System32\WS2_32.dll 10.0.22621.1 combase.dll C:\WINDOWS\System32\combase.dll 10.0.22621.3958 RPCRT4.dll C:\WINDOWS\System32\RPCRT4.dll 10.0.22621.3810 ADVAPI32.dll C:\WINDOWS\System32\ADVAPI32.dll 10.0.22621.3810 sechost.dll C:\WINDOWS\System32\sechost.dll 10.0.22621.3810 bcrypt.dll C:\WINDOWS\System32\bcrypt.dll 10.0.22621.2506 avutil-57.dll C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\avutil-57.dll 57.28.100.0 swresample-4.dll C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\swresample-4.dll 4.7.100.0 IMM32.dll C:\WINDOWS\System32\IMM32.dll 10.0.22621.3374 Normaliz.dll C:\WINDOWS\System32\Normaliz.dll 10.0.22621.1 sentry.dll C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\sentry.dll 0.0.0.0 WLDAP32.dll C:\WINDOWS\System32\WLDAP32.dll 10.0.22621.3672 CRYPT32.dll C:\WINDOWS\System32\CRYPT32.dll 10.0.22621.3810 Secur32.dll C:\WINDOWS\SYSTEM32\Secur32.dll 10.0.22621.1 lua51.dll C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\lua51.dll 0.0.0.0 MSVCP140.dll C:\WINDOWS\SYSTEM32\MSVCP140.dll 14.29.30133.0 MSVCP140_ATOMIC_WAIT.dll C:\WINDOWS\SYSTEM32\MSVCP140_ATOMIC_WAIT.dll 14.29.30133.0 glfw3.dll C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\glfw3.dll 3.4.0.0 libwinpthread-1.dll C:\Users\upwor\Downloads\pcsx-redux-nightly-19253.20240808.3-x64\libwinpthread-1.dll 1.0.0.0 IPHLPAPI.DLL C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL 10.0.22621.1 dbghelp.dll C:\WINDOWS\SYSTEM32\dbghelp.dll 10.0.22621.3593 USERENV.dll C:\WINDOWS\SYSTEM32\USERENV.dll 10.0.22621.3527 OLEAUT32.dll C:\WINDOWS\System32\OLEAUT32.dll 10.0.22621.3672 VCRUNTIME140_1.dll C:\WINDOWS\SYSTEM32\VCRUNTIME140_1.dll 14.29.30133.0 VCRUNTIME140.dll C:\WINDOWS\SYSTEM32\VCRUNTIME140.dll 14.29.30133.0 VERSION.dll C:\WINDOWS\SYSTEM32\VERSION.dll 10.0.22621.1 WINHTTP.dll C:\WINDOWS\SYSTEM32\WINHTTP.dll 10.0.22621.3958 SSPICLI.DLL C:\WINDOWS\SYSTEM32\SSPICLI.DLL 10.0.22621.3810 CRYPTBASE.DLL C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL 10.0.22621.1 dbgcore.DLL C:\WINDOWS\SYSTEM32\dbgcore.DLL 10.0.22621.1 bcryptPrimitives.dll C:\WINDOWS\System32\bcryptPrimitives.dll 10.0.22621.3672 mswsock.dll C:\WINDOWS\system32\mswsock.dll 10.0.22621.2506 WINNSI.DLL C:\WINDOWS\SYSTEM32\WINNSI.DLL 10.0.22621.1 NSI.dll C:\WINDOWS\System32\NSI.dll 10.0.22621.1 dhcpcsvc6.DLL C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL 10.0.22621.2506 dhcpcsvc.DLL C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL 10.0.22621.2506 ntmarta.dll C:\WINDOWS\system32\ntmarta.dll 10.0.22621.1 shcore.dll C:\WINDOWS\System32\shcore.dll 10.0.22621.3958 kernel.appcore.dll C:\WINDOWS\SYSTEM32\kernel.appcore.dll 10.0.22621.3958 powrprof.dll C:\WINDOWS\SYSTEM32\powrprof.dll 10.0.22621.3958 UMPDC.dll C:\WINDOWS\SYSTEM32\UMPDC.dll 10.0.22621.1 uxtheme.dll C:\WINDOWS\system32\uxtheme.dll 10.0.22621.3958

Additional information

No response

nicolasnoble commented 1 month ago

There's a sort of virus or trojan or whatever that's going around, which has been damaging the Visual Studio Redistributable files. This affects a lot of products, not just PCSX-Redux. Try re-installing yours: https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-microsoft-visual-c-redistributable-version