Skip to content

Fix uploading of symbols to Mozilla.#19130

Merged
SaschaCowley merged 1 commit into
nvaccess:masterfrom
jcsteh:dumpSyms
Oct 24, 2025
Merged

Fix uploading of symbols to Mozilla.#19130
SaschaCowley merged 1 commit into
nvaccess:masterfrom
jcsteh:dumpSyms

Conversation

@jcsteh

@jcsteh jcsteh commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

Link to issue number:

None.

Summary of the issue:

NVDA builds are intended to upload debug symbols to Mozilla. This makes it easier to diagnose issues related to NVDA's in-process code in Firefox (both crash analysis and profiling), which helps both projects. Unfortunately, this broke years ago for various reasons.

Description of user facing changes:

None.

Description of developer facing changes:

Mozilla crash reports and profiles will show useful symbols for NVDA code.
I haven't included a change log entry for NVDA because this doesn't impact NVDA developers normally, only if they're working with Firefox.

Description of development approach:

  1. The version of dump_syms.exe in miscDeps from Google Breakpad is very outdated and probably no longer works. Mozilla completely rewrote this a few years ago. Download that from GitHub releases and use that instead.
  2. mozillaSyms.py uses relative paths, but the script was moved in bd6b99e, which broke these paths. Update the script accordingly.
  3. The structure of NVDA's lib directory has changed significantly in the last few years. Furthermore, NVDA now supports more architectures (arm64, arm64ec). Update mozillaSyms.py accordingly.
  4. Remove some unnecessary actions from the uploadSymbols CI job.

Testing strategy:

Confirmed that symbols were uploaded successfully in a try run.

Known issues with pull request:

None.

Code Review Checklist:

  • Documentation:
    • Change log entry
    • User Documentation
    • Developer / Technical Documentation
    • Context sensitive help for GUI changes
  • Testing:
    • Unit tests
    • System (end to end) tests
    • Manual testing
  • UX of all users considered:
    • Speech
    • Braille
    • Low Vision
    • Different web browsers
    • Localization in other languages / culture than English
  • API is compatible with existing add-ons.
  • Security precautions taken.

@jcsteh jcsteh requested a review from a team as a code owner October 23, 2025 02:38
@jcsteh jcsteh requested a review from SaschaCowley October 23, 2025 02:38
Comment thread .github/workflows/testAndPublish.yml

@SaschaCowley SaschaCowley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks, @jcsteh

@SaschaCowley SaschaCowley merged commit 360a0de into nvaccess:master Oct 24, 2025
29 checks passed
@github-actions github-actions Bot added this to the 2026.1 milestone Oct 24, 2025
bramd pushed a commit to bramd/nvda that referenced this pull request Nov 11, 2025
### Summary of the issue:
NVDA builds are intended to upload debug symbols to Mozilla. This makes
it easier to diagnose issues related to NVDA's in-process code in
Firefox (both crash analysis and profiling), which helps both projects.
Unfortunately, this broke years ago for various reasons.

### Description of user facing changes:
None.

### Description of developer facing changes:
Mozilla crash reports and profiles will show useful symbols for NVDA
code.
I haven't included a change log entry for NVDA because this doesn't
impact NVDA developers normally, only if they're working with Firefox.

### Description of development approach:
1. The version of dump_syms.exe in miscDeps from Google Breakpad is very
outdated and probably no longer works. Mozilla completely rewrote this a
few years ago. Download that from GitHub releases and use that instead.
2. mozillaSyms.py uses relative paths, but the script was moved in
bd6b99e, which broke these paths. Update the script accordingly.
3. The structure of NVDA's lib directory has changed significantly in
the last few years. Furthermore, NVDA now supports more architectures
(arm64, arm64ec). Update mozillaSyms.py accordingly.
4. Remove some unnecessary actions from the uploadSymbols CI job.

### Testing strategy:
Confirmed that [symbols were uploaded successfully in a try
run](https://github.com/nvaccess/nvda/actions/runs/18735136393/job/53440453068).

### Known issues with pull request:
None.
@jcsteh jcsteh deleted the dumpSyms branch May 25, 2026 04:01
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.

3 participants