Commit c999f5a
test(android): Use volatile to produce SIGSEGV in native crash test (#4919)
* test(android): Use volatile to produce SIGSEGV in native crash test
The null-pointer dereference was undefined behavior that the compiler
optimized into a trap instruction, producing SIGILL (x86_64) or SIGTRAP
(arm64) instead of a real crash. Adding volatile forces an actual memory
access, resulting in a consistent SIGSEGV across architectures.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: Skip buildnative on runners with NO_MOBILE
The buildnative action builds Android-specific supplemental libraries
that are only needed by Sentry.Bindings.Android. On linux-arm64 and
other NO_MOBILE runners, the solution filter excludes that project,
so building native deps is unnecessary and fails (no Android NDK).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* ci: Fix JAVA_HOME_11 selection for ARM64 runners
Select JAVA_HOME_11 based on runner architecture instead of OS. The
previous check only used ARM64 for macOS, leaving Windows ARM64
with the empty X64 variant.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 69d4a06 commit c999f5a
File tree
8 files changed
+7
-4
lines changed- .github
- actions/buildnative
- workflows
- integration-test
- lib/sentrysupplemental
- bin
- arm64-v8a
- armeabi-v7a
- x86_64
- x86
8 files changed
+7
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
| 200 | + | |
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| |||
372 | 372 | | |
373 | 373 | | |
374 | 374 | | |
| 375 | + | |
375 | 376 | | |
376 | 377 | | |
377 | 378 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
0 commit comments