-
Notifications
You must be signed in to change notification settings - Fork 120
fix(nswitch): Mark crashes synthetic so titles fall back to the crashing function #6253
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
153fa5a
fix(switch): Match the event types of other console/gaming errors
mujacica 49cd2e2
Fix changelog
mujacica 1dc962c
fix(nswitch): Gate reshape call behind processing feature
mujacica 108f668
fix(nswitch): Reject dying message with invalid magic instead of pani…
mujacica d2bea6e
fix(nswitch): Drop redundant handled flag from the crash reshape
JoshuaMoelans 4033144
Merge branch 'master' into fix/switch-events
JoshuaMoelans 7b7698e
ref(nswitch): Fix rustfmt violation in reshape test
JoshuaMoelans c47cd07
Merge remote-tracking branch 'origin/master' into fix/switch-events
JoshuaMoelans 6c2c1d0
add feature flag
JoshuaMoelans 06d77e2
cleanup
JoshuaMoelans 0232372
fmt
JoshuaMoelans 5b227ff
fix changelog
JoshuaMoelans dc8e013
Apply batched suggestions from code review
JoshuaMoelans ef999f2
add nnswitch crportal fixtures
JoshuaMoelans b2a2b97
wording cleanup
JoshuaMoelans ed0f163
Merge branch 'master' into fix/switch-events
JoshuaMoelans File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+4 KB
tests/integration/fixtures/native/nnswitch_crportal_dying_message_raw.dat
Binary file not shown.
115 changes: 115 additions & 0 deletions
115
tests/integration/fixtures/native/nnswitch_crportal_event.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,115 @@ | ||
| { | ||
| "event_id": "9938e40988cdd00b8b46c1d525f8abea", | ||
| "platform": "native", | ||
| "logger": "SentryNintendo@3.0.0", | ||
| "level": "error", | ||
| "timestamp": "2026-07-30T12:55:06+00:00", | ||
| "exception": { | ||
| "values": [ | ||
| { | ||
| "type": "2168-0002 ResultAccessViolationData", | ||
| "value": "Data access to an invalid memory region was performed. (2: Access Violation Data)", | ||
| "mechanism": { | ||
| "type": "2168-0002", | ||
| "handled": false | ||
| }, | ||
| "thread_id": 8440, | ||
| "stacktrace": { | ||
| "frames": [ | ||
| { | ||
| "package": "nnrtld", | ||
| "instruction_addr": "0x00000077616ba2e4" | ||
| }, | ||
| { | ||
| "package": "nnSdk", | ||
| "function": "nn::init::Start", | ||
| "instruction_addr": "0x0000007761723f10" | ||
| }, | ||
| { | ||
| "package": "SentryIntegrationTest.nss", | ||
| "filename": "main.cpp", | ||
| "function": "nnMain", | ||
| "lineno": 173, | ||
| "instruction_addr": "0x00000077601010a8", | ||
| "vars": { | ||
| "affinity_mask": "0x0000000000000001", | ||
| "current_core": 0, | ||
| "exception_address": "0x0000000000000000", | ||
| "exception_code": 2, | ||
| "exception_code_description": "Access Violation Data", | ||
| "exception_thread": "8440", | ||
| "ideal_core": 0, | ||
| "lr_called": true, | ||
| "priority": 16, | ||
| "stack_bottom": "0x000000775fce6000", | ||
| "stack_top": "0x000000775fde6000" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| ] | ||
| }, | ||
| "threads": { | ||
| "values": [ | ||
| { | ||
| "id": 8440, | ||
| "crashed": true, | ||
| "state": "Runnable", | ||
| "stacktrace": { | ||
| "frames": [ | ||
| { | ||
| "package": "nnrtld", | ||
| "instruction_addr": "0x00000077616ba2e4" | ||
| }, | ||
| { | ||
| "package": "nnSdk", | ||
| "function": "nn::init::Start", | ||
| "instruction_addr": "0x0000007761723f10" | ||
| }, | ||
| { | ||
| "package": "SentryIntegrationTest.nss", | ||
| "filename": "main.cpp", | ||
| "function": "nnMain", | ||
| "lineno": 173, | ||
| "instruction_addr": "0x00000077601010a8" | ||
| } | ||
| ] | ||
| } | ||
| }, | ||
| { | ||
| "id": 8451, | ||
| "crashed": false, | ||
| "state": "Waiting" | ||
| } | ||
| ] | ||
| }, | ||
| "user": { | ||
| "id": "2d0a3a3c0acd2ac5ab32276ab14091dceb78884b", | ||
| "username": "2d0a3a3c", | ||
| "ip_address": "0.0.0.0" | ||
| }, | ||
| "contexts": { | ||
| "app": { | ||
| "app_name": "SentryIntegrationTest", | ||
| "app_version": "1.0.0", | ||
| "app_build": "1" | ||
| }, | ||
| "device": { | ||
| "name": "Nintendo Switch", | ||
| "family": "Nintendo Switch", | ||
| "model": "Nintendo Switch", | ||
| "manufacturer": "Nintendo" | ||
| }, | ||
| "os": { | ||
| "name": "Nintendo OS", | ||
| "version": "22.1.0" | ||
| } | ||
| }, | ||
| "extra": { | ||
| "application_total_active_time": "1", | ||
| "occurrence_timestamp_net": "2026-07-30T12:55:06+00:00", | ||
| "posted_at": "2026-07-30T12:55:08+00:00", | ||
| "report_identifier": "efed2050-fb20-4f0f-9c7f-635767eed654" | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.