Skip to content

ntsync-android 7ce6435 release notes + fix wineserver startup crash in init_user_sid patch - #37

Merged
joshuatam merged 2 commits into
proton_11.0-2from
dev/p11-2-fix-ntsync-update
Aug 30, 2026
Merged

ntsync-android 7ce6435 release notes + fix wineserver startup crash in init_user_sid patch#37
joshuatam merged 2 commits into
proton_11.0-2from
dev/p11-2-fix-ntsync-update

Conversation

@joshuatam

Copy link
Copy Markdown
Collaborator

CI builds ntsync-android HEAD (now 7ce6435, already pushed to GameNative/ntsync-android). This updates the release-notes commit pin and adds changelog entries for:

  • Adaptive spin-before-block (NTSYNC_SPIN_ITERS, default off) with on-device validation (P5R 60-76% burst win rate; other games self-throttle)
  • Sweep-trigger relocation + bounded-scan RSS fix (664->112 kB)
  • On-device NTSYNC_DEBUG stats validation across four games

Merging into proton_11.0-2 triggers the release build.

CI already builds ntsync-android HEAD (now 7ce6435). Update the pinned
commit reference in the release notes and add changelog entries for
adaptive spin-before-block (NTSYNC_SPIN_ITERS), the sweep-trigger
RSS fix, and the on-device stats validation.
The machine-id patch assigned f only inside if (getenv(WINEPREFIX));
GameNative sets PREFIX instead, so f stayed uninitialized and fread()
ran on a garbage FILE pointer - intermittent SIGSEGV at init_user_sid
during wineserver start (seen in tombstone as init_user_sid+200 from
main), most visible in GameNative pre-install chains that kill and
restart wineserver between steps.

Accept PREFIX as fallback, and bail out with a zero machine id when
neither variable is set or the file cannot be opened (also covers the
prefix-set-but-unwritable case, which had the same NULL-deref).
@joshuatam

Copy link
Copy Markdown
Collaborator Author

Added a second commit: wineserver startup crash fix.

Root cause from the tombstone (init_user_sid+200 from main): the android machine-id patch in server/token.c assigned f only when WINEPREFIX was set; GameNative sets PREFIX, so f was uninitialized and fread() ran on a garbage FILE pointer - intermittent SIGSEGV at wineserver start, most visible in pre-install chains (wineserver -k between steps). Not ntsync-related; proton_11.0 does not have this patch at all.

Fix: accept PREFIX as fallback, bail out with a zero machine id when neither is set or the file cannot be opened. Patch verified with git apply --check and rendered output review.

@joshuatam joshuatam changed the title ci: bump ntsync-android notes to 7ce6435, extend release changelog ntsync-android 7ce6435 release notes + fix wineserver startup crash in init_user_sid patch Aug 30, 2026
@joshuatam
joshuatam merged commit b71efff into proton_11.0-2 Aug 30, 2026
3 checks passed
@joshuatam
joshuatam deleted the dev/p11-2-fix-ntsync-update branch August 31, 2026 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant