Skip to content

Windows 11 24H2 triggers ancient bug causing Skimmer plane to get propelled to broken coordinates on spawn #4179

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

Open
1 task done
holmes000 opened this issue Apr 26, 2025 · 5 comments
Labels
bug Something isn't working

Comments

@holmes000
Copy link

Describe the bug

Very detailed explanation here: https://cookieplmonster.github.io/2025/04/23/gta-san-andreas-win11-24h2-bug/

Short: Missing vehicles.ide values should have always caused issues, but only in 24H2 fgets/LeaveCriticalSection uses enough stack to scramble the stale values in CFileLoader::LoadVehicleObject.

Fix in SilentPatchSA by CookiePLMonster: CookiePLMonster/SilentPatch@881aded

Steps to reproduce

  1. Install Windows 24H2
  2. Launch MTA:SA
  3. Spawn Skimmer through freeroam (spawns nearby, teleports to invalid coords, you don't get to see it) or through admin panel (spawns and warps you inside, you get launched to invalid coords)

Version

No response

Additional context

No response

Relevant log output

Security Policy

  • I have read and understood the Security Policy and this issue is not security related.
@holmes000 holmes000 added the bug Something isn't working label Apr 26, 2025
@Xenius97
Copy link
Contributor

Unable to reproduce, updated my PC to latest KB5055627

Image

MTA_.San.Andreas.2025-04-29.14-00-50.mp4

@CookiePLMonster
Copy link

MTA is likely hooking the IDE loading in a way that remedies this bug already. The main point is just those few potentially-uninitialized values.

@holmes000
Copy link
Author

holmes000 commented Apr 30, 2025

I created this issue after reproducing it in latest debug build of MTA from master branch, Windows build 26100.3909, KB5055627

@Xenius97
Copy link
Contributor

I've updated everything on my PC and i can't figure out what and why causes. Everything looks normal. I have latest Windows & latest nVidia drivers.
RTX 3060 + i5-10400

@CookiePLMonster
Copy link

As this is caused by uninitialized variables, it's likely that this either only manifests in Debug builds or only in Shipping builds. It's easiest to just check the IDE loading code, the bug is understood well enough that you don't particularly need to reproduce it to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants