Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: PCSX2 will crash if ROMs filename was including "%" in the name when make gamelist. #12011

Open
nassau-tk opened this issue Nov 16, 2024 · 2 comments
Labels
Milestone

Comments

@nassau-tk
Copy link

Describe the Bug

PCSX2 will crash if ROMs filename was including "%" in the name when make gamelist.

If not refresh the romlist then it will not happen crash.
So, Maybe, The issue will not happen older ver.

It may occur with other symbols, but % definitely occurs.

This seems to be the cause of some of the crashing issues seen here and there on the forums.

Reproduction Steps

The error condition is that there is a % immediately after the number in the rom name.

Like below...

abcd 100% xyz .chd <== Crash
abcd 1%00 xyz .chd <== Crash
abcd 100 % xyz .chd <== Crash (include a space)

abc %100 xyz .chd <== Not Crash

Expected Behavior

Correct the file name rules to avoid errors.

At the same time, if possible, I would be happy if the file format of gamelist.cache became UTF-8.
Because 2-byte characters become garbled.

PCSX2 Revision

v2.3.17

Operating System

Windows 10 (64bit)

If Linux - Specify Distro

No response

CPU

Ryzen 7 5800X

GPU

RTX3060

GS Settings

No response

Emulation Settings

No response

GS Window Screenshots

No response

Logs & Dumps

No response

@nassau-tk nassau-tk added the Bug label Nov 16, 2024
@lightningterror lightningterror added this to the Release 2.4 milestone Nov 16, 2024
@nassau-tk
Copy link
Author

And, This crash will logged below.

ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF6FA06F80)
00007FFF6FA06F80 (ucrtbase): (filename not available): wcsnlen
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF6F9F245A)
00007FFF6F9F245A (ucrtbase): (filename not available): strtol
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF6F9F114A)
00007FFF6F9F114A (ucrtbase): (filename not available): wcstol
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF6F9F0D9E)
00007FFF6F9F0D9E (ucrtbase): (filename not available): wcstol
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF6F9F0BFB)
00007FFF6F9F0BFB (ucrtbase): (filename not available): wcstol
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF633F9FCD5)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF633F9FCD5)
00007FF633F9FCD5 (pcsx2-qt): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF633F8B382)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF633F8B382)
00007FF633F8B382 (pcsx2-qt): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF6336B7706)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF6336B7706)
00007FF6336B7706 (pcsx2-qt): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF6336B579F)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF6336B579F)
00007FF6336B579F (pcsx2-qt): (filename not available): (function-name not available)
ERROR: SymGetSymFromAddr64, GetLastError: 487 (Address: 00007FF633CC266A)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FF633CC266A)
00007FF633CC266A (pcsx2-qt): (filename not available): (function-name not available)
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFED2FFF8B0)
00007FFED2FFF8B0 (Qt6Core): (filename not available): QThread::start
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF70307374)
00007FFF70307374 (KERNEL32): (filename not available): BaseThreadInitThunk
ERROR: SymGetLineFromAddr64, GetLastError: 487 (Address: 00007FFF7217CC91)
00007FFF7217CC91 (ntdll): (filename not available): RtlUserThreadStart

@F0bes
Copy link
Member

F0bes commented Nov 16, 2024

I'm unable to reproduce this.
Can you provide me the .dmp file generated either with the pcsx2 executable or in the data directory? The data directory is usually in C:\Users\%USERPROFILE%\Documents\PCSX2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants