Skip to content

Segfault when running Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests on mono interpreter #48929

@ericstj

Description

@ericstj

Description

Tests are failing with segfault. Log copied here. Dump analysis is in log, but no dump was uploaded.
Here's the test run: https://dev.azure.com/dnceng/public/_build/results?buildId=1017231&view=ms.vss-test-web.build-test-results-tab&runId=31667100&resultId=177595&paneView=attachments
dump file
console.987db203.txt

Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.

The same tests do not run in WASM since it doesn't support threading. Some sort of similar failure happening on wasm once I condition other tests.

https://helixre8s23ayyeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-48858-merge-d6ce1ef45cca4ad4a1/Microsoft.Extensions.DependencyInjection.ExternalContainers.Tests/console.54597576.log?sv=2019-07-07&se=2021-03-22T01%3A15%3A54Z&sr=c&sp=rl&sig=AbpJoBnrs89xxTtxzFTrB8vlq1JFZCFCRc5805maIHg%3D

Tests pass when run without the interpreter on both mono and coreclr.

Configuration

  • Which version of .NET is the code running on? .NET 6
  • What OS and version, and what distro if applicable? Debian
  • What is the architecture (x64, x86, ARM, ARM64)? x64
  • Do you know whether it is specific to that configuration? Yes, specific to desktop interpreter

Regression?

No

Identified in #48858 which reenabled these tests.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions