hedge-dev / hedge-dev/UnleashedRecomp
Game crashes when i try and add files
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5.1k
- Forks
- 421
- PR merge metrics
- No merged PRs in 30d
Description
Validation
- I have checked the Issues page to see if my problem has already been reported
- I have confirmed that this bug does not occur in the original game running on original Xbox 360 hardware
If you have DLC installed, please specify which ones you have.
- Apotos & Shamar Adventure Pack
- Chun-nan Adventure Pack
- Empire City & Adabat Adventure Pack
- Holoska Adventure Pack
- Mazuri Adventure Pack
- Spagonia Adventure Pack
If you have mods enabled, please specify which ones you have.
No response
If you have codes enabled, please specify which ones you have.
No response
Describe the Bug
I open the flatpak, I click add files, game crashes
Running it in console gives me
(UnleashedRecomp:2): Gdk-WARNING **: 14:09:42.318: The program 'UnleashedRecomp' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
(Details: serial 174 error_code 10 request_code 130 (MIT-SHM) minor_code 1)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the GDK_SYNCHRONIZE environment
variable to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Steps to Reproduce
run flatpak
click add files
Expected Behavior
The game should open my file picker
Footage
https://github.com/user-attachments/assets/a49c30af-dca5-42c4-95bb-7bb41b10e104
Version
1.0.3
CPU
AMD Zen 2 4c/8t, 2.4-3.5GHz (up to 448 GFlops FP32)
GPU
AMD 8 RDNA 2 CUs, 1.6GHz (1.6 TFlops FP32)
GPU Driver
idk what driver the steam deck has
Memory
16
Operating System
SteamOS
Additional Context
No response
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the crash from the Flatpak on SteamOS by using the Add Files action, with GDK_SYNCHRONIZE enabled as suggested by the reported error. Trace the file-picker path from that action and investigate the reported GDK MIT-SHM failure. Done means the file picker opens without crashing in the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100