-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Seg fault in Linq.Expression tests #105706
Comments
Tagging subscribers to this area: @cston |
See also #105704. |
Let me take a look; this seems to be happing frequently. |
Based on the windows x64 crash in https://dev.azure.com/dnceng-public/public/_build/results?buildId=764230&view=ms.vss-test-web.build-test-results-tab&runId=19436920&resultId=218614&paneView=dotnet-dnceng.dnceng-anon-build-release-tasks.helix-anon-test-information-tab There is a delegate that blows up the process when invoked. The method invoking the delegate is minopts.
Here the methodPtr is an invalid address. The methodPtrAux field is an indirection cell for
Locally (using CI assets) I was able to get 5 crashes in 200 runs, so I may be able to catch this live in the debugger. Aside from the AV there were also crashes like
Based on the above my guess is that this is an issue in the runtime with stub management? cc @mangod9 |
Can't quite figure out how to script this under the debugger, because some of the tests intentionally divide by zero. |
Adding @AaronRobinsonMSFT ? - some delegate changes were made in #105584 on Jul 27 which was a couple days before the first report on July 29. |
this looks similar to #106072 (comment), and a possible root cause PR has been reverted. |
I think this was fixed with #106072 (comment) /cc @jkotas |
Build Information
Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=759698
Build error leg or test failing: System.Linq.Expressions.Tests.WorkItemExecution
Pull request: #105636
Error Message
Fill the error message using step by step known issues guidance.
Log: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-105636-merge-95523dd4fead49c19e/System.Linq.Expressions.Tests/1/console.673b37a5.log?helixlogtype=result
Dump: https://helixre107v0xdcypoyl9e7f.blob.core.windows.net/dotnet-runtime-refs-pull-105636-merge-95523dd4fead49c19e/System.Linq.Expressions.Tests/1/coredump.20.dmp?helixlogtype=result
Relevant portion of crash analysis, some symbols missing cc @hoyosjs
Could be reflection, or codegen. cc @steveharter @AndyAyersMS in case they see anything.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=759698
Error message validated:
[SIGSEGV Illegal memory access. Deref invalid pointer, overrunning buffer System.Linq.Expressions.Interpreter.FuncCallInstruction
]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/30/2024 4:08:57 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: