Skip to content
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

nativeaot\\SmokeTests\\Reflection\\Reflection\\Reflection.cmd fails with Access Violation #105136

Closed
EgorBo opened this issue Jul 19, 2024 · 4 comments
Labels
area-NativeAOT-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab

Comments

@EgorBo
Copy link
Member

EgorBo commented Jul 19, 2024

NativeAOT smoketests fail on all PRs

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=747256
Build error leg or test failing: System.Reflection.Tests.WorkItemExecution
Pull request: #105118

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": ["Process terminated", "Access Violation: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. The application will be terminated since this platform does not support throwing an AccessViolationException"],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=747256
Error message validated: [Process terminated Access Violation: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. The application will be terminated since this platform does not support throwing an AccessViolationException]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/19/2024 10:47:22 PM UTC

Report

Build Definition Step Name Console log Pull Request
748218 dotnet/runtime Build Log #105162
Build Definition Test Pull Request
748914 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105162
747813 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105145
748705 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105162
748320 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105167
748460 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104583
748457 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #104955
748451 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #104502
748408 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105152
748350 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105151
748345 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #104686
748340 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105169
748332 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #104399
748298 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105166
748279 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105007
748272 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105164
748257 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104811
748254 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105036
748251 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #103755
748217 dotnet/runtime nativeaot/SmokeTests/UnitTests/UnitTests/UnitTests.sh #105162
748234 dotnet/runtime System.Reflection.Tests.WorkItemExecution #103504
748230 dotnet/runtime System.Reflection.Tests.WorkItemExecution
748206 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105161
748176 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105160
748179 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105113
747478 dotnet/runtime System.Reflection.Tests.WorkItemExecution #103585
747671 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105105
748156 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105119
748151 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104906
748136 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105158
748131 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105152
748115 dotnet/runtime System.Reflection.Tests.WorkItemExecution #103528
748100 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105143
748068 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104352
748050 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105104
748036 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104999
748007 dotnet/runtime System.Reflection.Tests.WorkItemExecution #103755
748000 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104961
747989 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105151
747992 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105113
747939 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104835
747923 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105103
747591 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105141
747857 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105149
747836 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105148
747528 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105027
747270 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104583
747537 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105109
747831 dotnet/runtime System.Reflection.Tests.WorkItemExecution #103528
747806 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105131
747800 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105106
747252 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104848
747769 dotnet/runtime System.Reflection.Tests.WorkItemExecution #102882
747756 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104558
747753 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105129
747740 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105143
747712 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105122
747715 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104856
747696 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104959
747452 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105094
747658 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104972
747638 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104957
747431 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104961
747581 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105140
747371 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105131
747532 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105109
747524 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104352
747517 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105099
747506 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104906
747492 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104972
747481 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105032
747441 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105073
747416 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104558
747427 dotnet/runtime nativeaot.SmokeTests.WorkItemExecution #105133
747395 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104443
747381 dotnet/runtime System.Reflection.Tests.WorkItemExecution
747345 dotnet/runtime System.Reflection.Tests.WorkItemExecution #104505
747326 dotnet/runtime System.Reflection.Tests.WorkItemExecution #102882
747297 dotnet/runtime System.Reflection.Tests.WorkItemExecution #103755
747256 dotnet/runtime System.Reflection.Tests.WorkItemExecution #105118

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
31 80 80
@EgorBo EgorBo added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 19, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jul 19, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 19, 2024
@am11 am11 added area-NativeAOT-coreclr and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jul 19, 2024
Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@MichalStrehovsky
Copy link
Member

The crash is at the last line of:

00007ff7`34181ef8 402e40f9 ldr     x0, [xpr, #0x58]
00007ff7`34181efc a21100f0 adrp    x2, Reflection!WKS::gc_heap::mark_queue (7ff7343b8000)
00007ff7`34181f00 42c01191 add     x2, x2, #0x470 (7ff7343b8470 = Reflection!_tls_index)
00007ff7`34181f04 420040b9 ldr     w2, [x2]
00007ff7`34181f08 025862f8 ldr     x2, [x0, w2 uxtw #3]
00007ff7`34181f0c 21004091 add     x1, x1, #0, lsl #0xC
00007ff7`34181f10 21100091 add     x1, x1, #4
00007ff7`34181f14 4000018b add     x0, x2, x1
00007ff7`34181f18 140040f9 ldr     x20, [x0]

@kunalspathak Does this look related to ARM64 TLS? We haven't had successful outerloop run in 2 weeks because of TLS and if this now affects innerloop runs, we'll need a revert if we don't have a fix.

@kunalspathak
Copy link
Member

The fix is in #104516 and waiting for review. The outerloop run passed with my fix - https://dev.azure.com/dnceng-public/public/_build/results?buildId=746922&view=results.

@jkotas
Copy link
Member

jkotas commented Jul 20, 2024

Fixed by #104516

@jkotas jkotas closed this as completed Jul 20, 2024
@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Jul 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-NativeAOT-coreclr blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Projects
Archived in project
Development

No branches or pull requests

5 participants