You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Linux][arm] System.Memory.Tests failed with SIGSEGV on rolling build #60825
But since it's a Linux arm64 dump file, you need to follow the instructions in the how-to-debug-dump.md file:
Download the Cross DAC Binaries, open it and choose the flavor that matches the dump you are to debug, and copy those files to C:\helix_payload\System.Memory.Tests\shared\Microsoft.NETCore.App\7.0.0.
The C:\helix_payload folder seems to refer to the contents of the zip file located in D:\repos\runfo_results\correlation-payload\test-runtime-net7.0-Linux-Release-arm64.zip. So I extracted it, and then copied the contents of the downloaded DAC Binaries zip file into the right location.
I opened the dump file with WinDBG, I made sure to specify the right symbols folder, and this is what I got:
Definitely not consistent repro, For rolling builds that's a single instance I've seen in the last month. I'm not sure about PRs or other pipelines. I'll see if I can find the data (runfo is crashing when I try the search)
Jobs
| where Queued > ago (180d)
| where Source == "ci/public/dotnet/runtime/refs/heads/main"
| distinct Name
| join WorkItems on$left.Name == $right.JobName
| where FriendlyName == "System.Memory.Tests"
| where ExitCode == 139
| project WorkItemId, Finished, MachineName, QueueName//, ConsoleUri
WorkItemId
Finished
MachineName
QueueName
752668191
2021-08-24 03:12:44.8050000
ddvsotx2l245
ubuntu.1804.armarch.open
774521271
2021-09-14 14:52:11.9630000
ddvsotx2l167
ubuntu.1804.armarch.open
777373949
2021-09-16 09:54:37.6740000
ddvsotx2l234
ubuntu.1804.armarch.open
783435802
2021-09-22 08:16:38.3710000
ddvsotx2l008
ubuntu.1804.armarch.open
810964964
2021-10-23 08:59:49.8400000
ddvsotx2l182
ubuntu.1804.armarch.open
just looking at the last 30 days, it does seem Arm32 is particularly segfaulty:
Jobs
| where Queued > ago (30d)
| where Source == "ci/public/dotnet/runtime/refs/heads/main"
| distinct Name
| join WorkItems on$left.Name == $right.JobName
| where ExitCode == 139
| summarizecount() by FriendlyName, QueueName
| sortby count_ desc
Activity
danmoseley commentedon Oct 26, 2021
can we get a dump?
carlossanlop commentedon Oct 26, 2021
There's a dump file in this folder:
But since it's a Linux arm64 dump file, you need to follow the instructions in the
how-to-debug-dump.mdfile:The
C:\helix_payloadfolder seems to refer to the contents of the zip file located inD:\repos\runfo_results\correlation-payload\test-runtime-net7.0-Linux-Release-arm64.zip. So I extracted it, and then copied the contents of the downloaded DAC Binaries zip file into the right location.I opened the dump file with WinDBG, I made sure to specify the right symbols folder, and this is what I got:
Error message:
Callstack:
coreclr/gc/gc.cpp:
danmoseley commentedon Oct 26, 2021
Thanks @carlossanlop ! GC folks, do you believe this is GC, or more likely some memory corruption caused by a libraries bug?
mangod9 commentedon Oct 26, 2021
Is this a consistent repro? This looks to be some kind of heap/stack corruption.
carlossanlop commentedon Oct 26, 2021
@krwq how often is it happening?
krwq commentedon Oct 27, 2021
Definitely not consistent repro, For rolling builds that's a single instance I've seen in the last month. I'm not sure about PRs or other pipelines. I'll see if I can find the data (runfo is crashing when I try the search)
danmoseley commentedon Oct 28, 2021
just looking at the last 30 days, it does seem Arm32 is particularly segfaulty:
That might be consistent with a runtime/GC bug.
mdh1418 commentedon Jan 24, 2022
This was hit on #64028 (unrelated PR) after running
/azp run runtime-extra-platformsin lane Libraries Test Run release coreclr Linux arm64 Releasebuild: https://dev.azure.com/dnceng/public/_build/results?buildId=1568796&view=logs&j=9cb1381d-24cb-5e30-2541-f5a7019e38a7&t=cf48b56d-64ac-5ce6-dedf-4720159e9799
log: https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-64028-merge-2b2b7142febb4cabb6/System.Memory.Tests/1/console.d09cc3ec.log?sv=2019-07-07&se=2022-02-13T17%3A17%3A16Z&sr=c&sp=rl&sig=8gyAc54ymrQrzg34oI7dtYmGZfX4s%2BFQYN7veoywvpM%3D
mangod9 commentedon Aug 3, 2022
This was being hit early during the 7 timeframe, but the same assert hasnt reproed since Jan, so closing for now.