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

Avoid Unsafe.As for Memory<T> and ReadOnlyMemory<T> conversion #111023

Merged
merged 3 commits into from
Jan 29, 2025

Merge branch 'main' into BitCast-Memory

355d14a
Select commit
Loading
Failed to load commit list.
Merged

Avoid Unsafe.As for Memory<T> and ReadOnlyMemory<T> conversion #111023

Merge branch 'main' into BitCast-Memory
355d14a
Select commit
Loading
Failed to load commit list.
Build Analysis / Build Analysis succeeded Jan 28, 2025 in 0s

.NET Result Analysis

Details

⚠️ The following pipeline(s) will not be analyzed as has been explicited excluded from analysis

All checks completed

[runtime]

[runtime-dev-innerloop]

Build Rerun

✔️ Build passed after 1 retries.

(Attempt #1) [link to build]

runtime / Build / browser-wasm linux Release LibraryTests_Smoke_AOT / Send to Helix

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌.packages/microsoft.dotnet.helix.sdk/10.0.0-beta.25058.4/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item WasmTestOnChrome-ST-System.Runtime.Tests in job 5a89af58-c0f1-47e5-b309-efc4a5de1884 has failed. [Failure log]

runtime / Build / linux-x64 Debug Mono_Interpreter_LibrariesTests / Send to Helix

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌.packages/microsoft.dotnet.helix.sdk/10.0.0-beta.25058.4/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item LibraryImportGenerator.Tests in job 1c202727-25bf-481f-9bae-58622c45abdf has failed. [Failure log]
    ❌.packages/microsoft.dotnet.helix.sdk/10.0.0-beta.25058.4/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item LibraryImportGenerator.Tests in job d6491b96-b04b-4a75-95d5-bd46eaa4e2ed has failed. [Failure log]

runtime / Build / linux-x64 Debug Mono_MiniJIT_LibrariesTests / Send to Helix

[ 🚧 Report infrastructure issue] [ 📄 Report repository issue]
    ❌.packages/microsoft.dotnet.helix.sdk/10.0.0-beta.25058.4/tools/Microsoft.DotNet.Helix.Sdk.MultiQueue.targets(91,5): error : (NETCORE_ENGINEERING_TELEMETRY=Test) Work item LibraryImportGenerator.Tests in job ea98ec62-2512-4eac-93dd-731e61291c07 has failed. [Failure log]

Non-Deterministic Test Failures Detected

baseservices/exceptions/stackoverflow/stackoverflowtester/stackoverflowtester.cmd [Console] [Details] [Artifacts] [0.79% failure rate]
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]

Failing Configuration

Exception Message
cmdLine:/datadisks/disk1/work/A2DC08D1/w/9D5A08C3/e/baseservices/exceptions/baseservices-exceptions/../stackoverflow/stackoverflowtester/stackoverflowtester.sh Timed Out (timeout in milliseconds: 600000 from variable __TestTimeout, start: 1/27/2025 10:55:09 PM, end: 1/27/2025 11:05:09 PM)

Return code: -100
Raw output file: /datadisks/disk1/work/A2DC08D1/w/9D5A08C3/uploads/stackoverflow/stackoverflowtester/output.txt
Raw output:
BEGIN EXECUTION
/datadisks/disk1/work/A2DC08D1/p/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true stackoverflowtester.dll ''
Running stackoverflow test(smallframe main)
"Stack overflow."
"Repeated 174473 times:"
"--------------------------------"
" at TestStackOverflow.Program.InfiniteRecursionA()"
" at TestStackOverflow.Program.InfiniteRecursionC()"
" at TestStackOverflow.Program.InfiniteRecursionB()"
"--------------------------------"
" at TestStackOverflow.Program.InfiniteRecursionA()"
" at TestStackOverflow.Program.Test(Boolean)"
" at TestStackOverflow.Program.Main(System.String[])"
""
Running stackoverflow test(largeframe main)
"Stack overflow."
"Repeated 42 times:"
"--------------------------------"
" at TestStackOverflow.Program.InfiniteRecursionB2()"
" at TestStackOverflow.Program.InfiniteRecursionA2()"
" at TestStackOverflow.Program.InfiniteRecursionC2()"
"--------------------------------"
" at TestStackOverflow.Program.InfiniteRecursionB2()"
" at TestStackOverflow.Program.InfiniteRecursionA2()"
" at TestStackOverflow.Program.Test(Boolean)"
" at TestStackOverflow.Program.Main(System.String[])"
""
Running stackoverflow test(smallframe secondary)
"Stack overflow."
"Repeated 174645 times:"
"--------------------------------"
" at TestStackOverflow.Program.InfiniteRecursionA()"
" at TestStackOverflow.Program.InfiniteRecursionC()"
" at TestStackOverflow.Program.InfiniteRecursionB()"
"--------------------------------"
" at TestStackOverflow.Program.InfiniteRecursionA()"
" at TestStackOverflow.Program.Test(Boolean)"
" at TestStackOverflow.Program+<>c__DisplayClass7_0.<SecondaryThreadsTest>b__0()"
" at System.Threading.Thread+StartHelper.RunWorker()"
""
Running stackoverflow test(largeframe secondary)
"Stack overflow."
"Repeated 42 times:"
"--------------------------------"
" at TestStackOverflow.Program.InfiniteRecursionB2()"
" at TestStackOverflow.Program.InfiniteRecursionA2()"
" at TestStackOverflow.Program.InfiniteRecursionC2()"
"--------------------------------"
" at TestStackOverflow.Program.InfiniteRecursionB2()"
" at TestStackOverflow.Program.InfiniteRecursionA2()"
" at TestStackOverflow.Program.Test(Boolean)"
" at TestStackOverflow.Program+<>c__DisplayClass7_0.<SecondaryThreadsTest>b__0()"
" at System.Threading.Thread+StartHelper.RunWorker()"

cmdLine:/datadisks/disk1/work/A2DC08D1/w/9D5A08C3/e/baseservices/exceptions/baseservices-exceptions/../stackoverflow/stackoverflowtester/stackoverflowtester.sh Timed Out (timeout in milliseconds: 600000 from variable __TestTimeout, start: 1/27/2025 10:55:09 PM, end: 1/27/2025 11:05:09 PM)
Printing stacktrace from '/home/helixbot/dotnetbuild/dumps/crashdump_76422.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Stack trace:

Thread Id: 0x12a86
Child SP IP Call Site
0x7ffd2b6eb090 0x776472691117 libc.so.6!
0x7ffd2b6eb0d0 0x776472693a41 libc.so.6!pthread_cond_wait
0x7ffd2b6eb1b0 0x7764724c559b libcoreclr.so!CorUnix::CPalSynchronizationManager::ThreadNativeWait(CorUnix::_ThreadNativeWaitData*, unsigned int, CorUnix::ThreadWakeupReason*, unsigned int*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:476:28
0x7ffd2b6eb210 0x7764724c4b28 libcoreclr.so!CorUnix::CPalSynchronizationManager::BlockThread(CorUnix::CPalThread*, unsigned int, bool, bool, CorUnix::ThreadWakeupReason*, unsigned int*) at /__w/1/s/src/coreclr/pa

CallStack
   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 141
   at Program.<<Main>$>g__TestExecutor14|0_15(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass0_0&)
LibraryImportGenerator.Tests.WorkItemExecution [Console] [Details] [Artifacts] [1.62% failure rate]
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

Failing Configurations (3)

WasmTestOnChrome-ST-System.Runtime.Tests.WorkItemExecution [Console] [Details] [Artifacts] [2.16% failure rate]
[ 🚧 Report test infrastructure issue] [ 📄 Report test repository issue]
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]

Failing Configuration

Was this helpful? Yes No