Skip to content

fix(native): Preserve 32-bit fault addresses in Linux minidumps - #2305

Merged
jpnurmi merged 3 commits into
masterfrom
fix/linux-pointer-casts
Nov 13, 2026
Merged

jpnurmi merged 3 commits into
masterfrom
fix/linux-pointer-casts

Conversation

@limbonaut

Copy link
Copy Markdown
Collaborator

Convert pointers through uintptr_t in the Linux native crash backend to prevent high-bit 32-bit fault addresses from being sign-extended into incorrect 64-bit minidump addresses. Add a crash integration test that verifies the recorded fault address; it fails with the original casts and passes with the fix.

This removes five pointer-width compiler warnings observed in a Godot Linux x86_32 build.

@codecov

codecov Bot commented Nov 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.60%. Comparing base (20d450e) to head (00a5b88).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2305      +/-   ##
==========================================
- Coverage   75.74%   75.60%   -0.14%     
==========================================
  Files         104      104              
  Lines       28439    28443       +4     
  Branches     5220     5220              
==========================================
- Hits        21540    21504      -36     
- Misses       5547     5591      +44     
+ Partials     1352     1348       -4     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jpnurmi jpnurmi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jpnurmi
jpnurmi merged commit 65c623f into master Nov 13, 2026
115 of 116 checks passed
@jpnurmi
jpnurmi deleted the fix/linux-pointer-casts branch November 13, 2026 11:07
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.

2 participants