runtime: System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentBufferFiresRentedDiagnosticEvent failure
The test failed in CI on my PR (with change unrelated to the issue):
System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentBufferFiresRentedDiagnosticEvent [FAIL]
Half-way through waiting for remote process.
Timed out at 9/30/2020 1:52:32 AM after 60000ms waiting for remote process.
Process ID: 23479
Handle: 904
Name: dotnet
MainModule: /home/helixbot/work/A64809A4/p/dotnet
StartTime: 9/30/2020 1:51:32 AM
TotalProcessorTime: 00:00:00.0100000
Stack Trace:
/_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(224,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose(Boolean disposing)
/_/src/Microsoft.DotNet.RemoteExecutor/src/RemoteInvokeHandle.cs(57,0): at Microsoft.DotNet.RemoteExecutor.RemoteInvokeHandle.Dispose()
/_/src/libraries/System.Buffers/tests/ArrayPool/ArrayPoolTest.cs(44,0): at System.Buffers.ArrayPool.Tests.ArrayPoolTest.RemoteInvokeWithTrimming(Action action, Boolean trim)
/_/src/libraries/System.Buffers/tests/ArrayPool/UnitTests.cs(404,0): at System.Buffers.ArrayPool.Tests.ArrayPoolUnitTests.RentBufferFiresRentedDiagnosticEvent()
Runfo Tracking Issue: system.buffers.arraypool.tests.arraypoolunittests.rentbufferfiresrenteddiagnosticevent
| Build | Definition | Kind | Run Name |
|---|
Build Result Summary
| Day Hit Count | Week Hit Count | Month Hit Count |
|---|---|---|
| 0 | 0 | 0 |
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 21 (19 by maintainers)
Just based on the remote processes’ stacks above, I think it’s more likely this is a deadlock.
It is a classic A-B B-A deadlock:
Main thread is waiting for this lock:
The lock is taken by this thread that is waiting on a lock taken by the main thread:
I can take a look at fixing this @safern. Please tag/assign me in the issue you open.