..:: PCSX2 Forums ::..

Full Version: [Bug report] Opening the quick menu with Esc causes a CRASH
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As title says, everything else works fine, but when I press Esc to get the quick menu, the mouse cursor turns busy, and after 1-2 seconds the emu crashes without a message

This never happened in v1.7.4965 or the versions I tried before that

Versions that consistently produce the crash with any config:
  • v1.7.4997
  • v1.7.5018
  • v1.7.5019
  • v1.7.5021

(I am testing with Haunting Ground [NTSC-U])

emulog.txt

Code:
[    0.0205] Couldn't find translation for system language en-US, using en instead
[    0.0210] Loaded translation file for language en
[    0.0222] PCSX2 Nightly - v1.7.4997 Compiled on Sep 10 2023
[    0.0222] Savestate version: 0x9a3f0000
[    0.0222]
[    0.0222] Host Machine Init:
[    0.0222]     Operating System =  Microsoft Windows 10+
[    0.0222]     Physical RAM     =  16305 MB
[    0.0222]     CPU name         =  AMD Ryzen 5 1600 Six-Core Processor           
[    0.0222]     Vendor/Model     =  AuthenticAMD (stepping 02)
[    0.0222]     Logical Cores    =  12
[    0.0222]     x86PType         =  Standard OEM
[    0.0222]     x86Flags         =  178bfbff fed83203
[    0.0222]     x86EFlags        =  2fd3fbff
[    0.0223]
[    0.0223] x86 Features Detected:
[    0.0223]     AVX AVX2
[    0.0223]
[    0.0249] Reserving memory for recompilers...
[    0.0270]     Fastmem area: 000001E06B920000 - 000001E16B91FFFF
[    0.2039] SDLInputSource: Loaded 785 controller mappings from game_controller_db.txt.
[    0.3085] (SDLInputSource) Controller 0 inserted
[    0.3087] (SDLInputSource) Opened game controller 0 (instance id 0, player id 0): XInput Controller
[    0.3087] (SDLInputSource) Rumble is supported on 'XInput Controller' via gamecontroller
[    0.4131] Scanning C:\HOME\game\ps2\rom (recursively)
[    0.6859] Current version: v1.7.4997
[    0.6859] Latest SHA: v1.7.4997
[    0.6859] Last Checked SHA: v1.7.4987
[    0.6859] No update needed.
[    2.7926] Loading BIOS...
[    2.7926] Searching for a BIOS image in 'C:\HOME\game\ps2\pcsx2-v1.7.4929-windows-x64-Qt\..\bios'...
[    2.7928] BIOS Found: USA     v02.30(20/02/2008)  Console 20080220-175343
[    2.7929] Using BIOS 'C:\HOME\game\ps2\pcsx2-v1.7.4929-windows-x64-Qt\..\bios\ps2-0230a-20080220.bin' (USA     v02.30(20/02/2008)  Console 20080220-175343 USA)
[    2.7930] BIOS Found: USA     v02.30(20/02/2008)  Console 20080220-175343
[    2.7956] BIOS rom1 module not found, skipping...
[    2.7957] BIOS rom2 module not found, skipping...
[    2.7957] Opening CDVD...
[    2.7964] isoFile open ok: C:\HOME\game\ps2\rom\Haunting Ground (USA).iso
[    2.7964]     Image type  = DVD
[    2.7964]  * CDVD Disk Open: DVD, Single layer or unknown:
[    2.7964]  * * Track 1: Data (Mode 1) (2240944 sectors)
[    2.8757] [GameDB] Has not been initialized yet, initializing...
[    2.9183] [GameDB] 12783 games on record (loaded in 42.66ms)
[    2.9183] Disc changed to Haunting Ground (USA).iso.
[    2.9183]   Name: Haunting Ground
[    2.9183]   Serial: SLUS-21075
[    2.9183]   Version: 1.01
[    2.9183]   CRC: 901AAC09
[    2.9185] Loading game settings from 'C:\HOME\game\ps2\pcsx2-v1.7.4929-windows-x64-Qt\gamesettings\SLUS-21075_901AAC09.ini'...
[    2.9186] Applying settings...
[    2.9405] Reopening memory cards...
[    2.9406] McdSlot 0 [File]: C:\HOME\game\ps2\pcsx2-v1.7.4929-windows-x64-Qt\memcards\Mcd001.ps2
[    2.9408] McdSlot 1 [File]: C:\HOME\game\ps2\pcsx2-v1.7.4929-windows-x64-Qt\memcards\Mcd002.ps2
[    2.9418] Opening GS...
[    3.0576] No GPU requested, using first (NVIDIA GeForce GTX 1650 SUPER)
[    3.1649] VK_EXT_provoking_vertex is supported
[    3.1649] VK_EXT_memory_budget is supported
[    3.1649] VK_EXT_calibrated_timestamps is supported
[    3.1649] VK_EXT_rasterization_order_attachment_access is NOT supported
[    3.1649] VK_EXT_attachment_feedback_loop_layout is supported
[    3.1649] VK_EXT_full_screen_exclusive is supported
[    3.1649] VK_KHR_driver_properties is supported
[    3.1660] Read 225 entries from 'C:\HOME\game\ps2\pcsx2-v1.7.4929-windows-x64-Qt\cache\vulkan_shaders.idx'
[    3.2352] Vulkan Graphics Driver Info:
[    3.2353]     Driver 528.196.0
[    3.2353]     Vulkan 1.3.224
[    3.2353]     Conformance Version 1.3.3.1
[    3.2353]     528.49
[    3.2353]     NVIDIA
[    3.2353]     NVIDIA GeForce GTX 1650 SUPER
[    3.2634] Opening SPU2...
[    3.2645] Initializing SndBuffer at sample rate of 48000...
[    3.2673] (Cubeb) Using normal 2 speaker stereo output.
[    3.2703] (Cubeb) Minimum latency: 10.00 ms (480 audio frames)
[    3.3535] Initializing Pad...
[    3.3535] Initializin

WinDbg

Code:
************* Preparing the environment for Debugger Extensions Gallery repositories **************
   ExtensionRepository : Implicit
   UseExperimentalFeatureForNugetShare : false
   AllowNugetExeUpdate : false
   AllowNugetMSCredentialProviderInstall : false
   AllowParallelInitializationOfLocalRepositories : true

   -- Configuring repositories
      ----> Repository : LocalInstalled, Enabled: true
      ----> Repository : UserExtensions, Enabled: true

>>>>>>>>>>>>> Preparing the environment for Debugger Extensions Gallery repositories completed, duration 0.016 seconds

************* Waiting for Debugger Extensions Gallery to Initialize **************

>>>>>>>>>>>>> Waiting for Debugger Extensions Gallery to Initialize completed, duration 0.187 seconds
   ----> Repository : UserExtensions, Enabled: true, Packages count: 0
   ----> Repository : LocalInstalled, Enabled: true, Packages count: 36

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


Loading Dump File [C:\Users\bjenei\AppData\Local\CrashDumps\pcsx2-qt.exe.276.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: srv*
Executable search path is:
Windows 10 Version 19044 MP (12 procs) Free x64
Product: WinNt, suite: SingleUserTS
Edition build lab: 19041.1.amd64fre.vb_release.191206-1406
Debug session time: Sun Sep 10 15:15:25.000 2023 (UTC + 2:00)
System Uptime: not available
Process Uptime: 0 days 0:00:09.000
................................................................
................................................................
................
Loading unloaded module list
.........
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(114.4d58): Security check failure or stack buffer overrun - code c0000409 (first/second chance not available)
Subcode: 0x26 FAST_FAIL_INVALID_LONGJUMP_TARGET
For analysis of this file, run !analyze -v
ntdll!RtlFailFast2:
00007ffe`13572380 cd29            int     29h
0:042> !analyze -v
*******************************************************************************
*                                                                             *
*                        Exception Analysis                                   *
*                                                                             *
*******************************************************************************

*** WARNING: Check Image - Checksum mismatch - Dump: 0x1fb42f, File: 0x1fef31 - C:\ProgramData\Dbg\sym\ntdll.dll\2F715B171f8000\ntdll.dll

KEY_VALUES_STRING: 1

    Key  : Analysis.CPU.mSec
    Value: 1109

    Key  : Analysis.Elapsed.mSec
    Value: 30977

    Key  : Analysis.IO.Other.Mb
    Value: 16

    Key  : Analysis.IO.Read.Mb
    Value: 0

    Key  : Analysis.IO.Write.Mb
    Value: 51

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

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

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

    Key  : FailFast.Name
    Value: INVALID_LONGJUMP_TARGET

    Key  : FailFast.Type
    Value: 38

    Key  : Failure.Bucket
    Value: FAIL_FAST_INVALID_LONGJUMP_TARGET_c0000409_VCRUNTIME140.dll!__longjmp_internal

    Key  : Failure.Hash
    Value: {c1e3fa41-510c-e457-b4b7-7b57db3b1dfa}

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

    Key  : WER.OS.Branch
    Value: vb_release

    Key  : WER.OS.Version
    Value: 10.0.19041.1

    Key  : WER.Process.Version
    Value: 1.7.4997.0


FILE_IN_CAB:  pcsx2-qt.exe.276.dmp

NTGLOBALFLAG:  0

PROCESS_BAM_CURRENT_THROTTLED: 0

PROCESS_BAM_PREVIOUS_THROTTLED: 0

APPLICATION_VERIFIER_FLAGS:  0

CONTEXT:  (.ecxr)
rax=00007ff6a409a190 rbx=000000c7613fc200 rcx=0000000000000026
rdx=00007ff6a3f23399 rsi=00007ff6a3f23399 rdi=0000000000000000
rip=00007ffe13572380 rsp=000000c7613fb4f8 rbp=000000c7613fba00
r8=0000000000000000  r9=000000c7613fb4c0 r10=00007ff6a34e0078
r11=0000000000000001 r12=000000c7613fc2b0 r13=0000000000000000
r14=000000c7613fc240 r15=000000c7613fbce0
iopl=0         nv up ei pl zr na po nc
cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00000246
ntdll!RtlFailFast2:
00007ffe`13572380 cd29            int     29h
Resetting default scope

EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 00007ffe13572380 (ntdll!RtlFailFast2)
   ExceptionCode: c0000409 (Security check failure or stack buffer overrun)
  ExceptionFlags: 00000001
NumberParameters: 1
   Parameter[0]: 0000000000000026
Subcode: 0x26 FAST_FAIL_INVALID_LONGJUMP_TARGET

PROCESS_NAME:  pcsx2-qt.exe

ERROR_CODE: (NTSTATUS) 0xc0000409 - The system detected an overrun of a stack-based buffer in this application. This overrun could potentially allow a malicious user to gain control of this application.

EXCEPTION_CODE_STR:  c0000409

EXCEPTION_PARAMETER1:  0000000000000026

FAULTING_THREAD:  00004d58

STACK_TEXT: 
000000c7`613fb4f8 00007ffe`13590261     : 00000000`00000140 00007ff6`a409a190 00007ff6`a34e0078 000000c7`613fc200 : ntdll!RtlFailFast2
000000c7`613fb500 00007ffe`1353de02     : 000000c7`613fc240 000000c7`613fbae0 000000c7`613fc390 000000c7`00a43399 : ntdll!RtlGuardCheckLongJumpTarget+0x523a1
000000c7`613fb560 00007ffe`13500b66     : 00007ff6`a3f23608 00000000`00000002 00007ff6`a3f23608 00007ff6`b110f1a8 : ntdll!RtlGuardRestoreContext+0x52
000000c7`613fb590 00007ffe`13520edd     : 000000c7`613fbce0 000000c7`613fc1e0 00000000`0010000b 00000000`00000000 : ntdll!RtlUnwindEx+0x566
000000c7`613fbcb0 00007ffe`073e0709     : 00000000`00000000 00000000`ffffff11 000000c7`613fc390 00007ffe`073d1de4 : ntdll!RtlUnwind+0xcd
000000c7`613fc220 00007ff6`a3f1c540     : 00000000`00000000 00000000`ffffffff 000000c7`613fc2e0 00000000`00000008 : VCRUNTIME140!__longjmp_internal+0xe9
000000c7`613fc270 00007ff6`a3f23608     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : pcsx2_qt+0xa3c540
000000c7`613fc2b0 00007ff6`a3f24550     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : pcsx2_qt+0xa43608
000000c7`613fc320 00007ff6`a3d94454     : 000001e1`77f08020 000000c7`613ffad8 00000000`00007dc0 000000c7`613ff9d8 : pcsx2_qt+0xa44550
000000c7`613ff9a0 00007ff6`a3a59fbf     : 000001e1`77f08020 000001e1`77f08020 000001e1`77f08020 00007ffe`0735320f : pcsx2_qt+0x8b4454
000000c7`613ffa30 00007ff6`a3a5935c     : 03ffffff`ffffffff 000001e0`0f8596d0 000001e0`0f281650 000001e0`0f8596d0 : pcsx2_qt+0x579fbf
000000c7`613ffab0 00007ff6`a3da3477     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : pcsx2_qt+0x57935c
000000c7`613ffb80 00007ffe`10de1bb2     : 000001e0`0f281650 00000000`00000000 00000000`00000000 00000000`00000000 : pcsx2_qt+0x8c3477
000000c7`613ffbb0 00007ffe`12717604     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ucrtbase!thread_start<unsigned int (__cdecl*)(void *),1>+0x42
000000c7`613ffbe0 00007ffe`135226a1     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32!BaseThreadInitThunk+0x14
000000c7`613ffc10 00000000`00000000     : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : ntdll!RtlUserThreadStart+0x21


FAULTING_SOURCE_LINE:  D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\amd64\longjmp.asm

FAULTING_SOURCE_FILE:  D:\a\_work\1\s\src\vctools\crt\vcruntime\src\eh\amd64\longjmp.asm

FAULTING_SOURCE_LINE_NUMBER:  141

SYMBOL_NAME:  vcruntime140!__longjmp_internal+e9

MODULE_NAME: VCRUNTIME140

IMAGE_NAME:  VCRUNTIME140.dll

STACK_COMMAND:  ~42s ; .cxr ; kb

FAILURE_BUCKET_ID:  FAIL_FAST_INVALID_LONGJUMP_TARGET_c0000409_VCRUNTIME140.dll!__longjmp_internal

OS_VERSION:  10.0.19041.1

BUILDLAB_STR:  vb_release

OSPLATFORM_TYPE:  x64

OSNAME:  Windows 10

IMAGE_VERSION:  14.36.32532.0

FAILURE_ID_HASH:  {c1e3fa41-510c-e457-b4b7-7b57db3b1dfa}

Followup:     MachineOwner
---------
can you please update your gpu drivers ?
(09-10-2023, 04:58 PM)jesalvein Wrote: [ -> ]can you please update your gpu drivers ?

I did and now I am up to date, but to no avail, the crash persists
I got the same problem with GTA III. I've also tested it in another Pc and it's the only one with that problem

Edit: I just discover that (at least in my case) it was the cover image all along. If i change it or remove it, the game doesn't crash. Try it