Skip to content

Test Failure: MethodTable::Validate SanityCheck() assert (arm32 jitstress) in source-generator unit test work items #128595

Closed as duplicate

Description

@kg

Summary:
ComInterfaceGenerator.Unit.Tests (jitstress2_tiered) and LibraryImportGenerator.Unit.Tests (jitstress2_jitstressregs0x2000), both on linux arm32, abort with Expression: SanityCheck() in MethodTable::Validate at methodtable.cpp:8659. Process exits 134 (SIGABRT).

Failed in (2):

Console Log: Console Log
Source: runtime-coreclr libraries-jitstress / net11.0-linux-Release-arm-jitstress2_tiered-(Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:9ee81df17d6a4bf96b7b2f785a1352a3a762aec2a01b2bb8ffd691520aad7dee / ComInterfaceGenerator.Unit.Tests

Failed tests:

runtime-coreclr libraries-jitstress
- net11.0-linux-Release-arm-jitstress2_tiered-(Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:9ee81df17d6a4bf96b7b2f785a1352a3a762aec2a01b2bb8ffd691520aad7dee
runtime-coreclr libraries-jitstress2-jitstressregs
- net11.0-linux-Release-arm-jitstress2_jitstressregs0x2000-(Debian.13.Arm32.Open)[email protected]/dotnet-buildtools/prereqs:debian-13-helix-arm32v7@sha256:9ee81df17d6a4bf96b7b2f785a1352a3a762aec2a01b2bb8ffd691520aad7dee
  - ComInterfaceGenerator.Unit.Tests
  - LibraryImportGenerator.Unit.Tests

Error Message:

ASSERT FAILED
	Expression: SanityCheck()
	Location:   /__w/1/s/src/coreclr/vm/methodtable.cpp:8659
	Function:   Validate
	Process:    20
[createdump] Gathering state for process 20 dotnet
[createdump] Crashing thread 0038 signal 5 (0005)
[createdump] Writing crash report to file /datadisks/disk1/dumps/coredump.20.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /datadisks/disk1/dumps/coredump.20.dmp
[createdump] Written 637722624 bytes (155694 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 1285ms
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
./RunTests.sh: line 175:    20 Aborted                 (core dumped) "$RUNTIME_PATH/dotnet" exec --runtimeconfig ComInterfaceGenerator.Unit.Tests.runtimeconfig.json --depsfile ComInterfaceGenerator.Unit.Tests.deps.json xunit.console.dll ComInterfaceGenerator.Unit.Tests.dll -xml testResults.xml -nologo -nocolor -notrait category=IgnoreForCI -notrait category=OuterLoop -notrait category=failing $RSP_FILE
cat: /proc/sys/kernel/coredump_filter: No such file or directory
dmesg: read kernel buffer failed: Operation not permitted
/root/helix/work/workitem/e
----- end Tue May 26 08:05:09 AM UTC 2026 ----- exit code 134 ----------------------------------------------------------
exit code 134 means SIGABRT Abort. Managed or native assert, or runtime check such as heap corruption, caused call to abort(). Core dumped.

Stack Trace:


(unresolved frames marked `??`)

Analysis:
Two occurrences in distinct pipelines (libraries-jitstress and libraries-jitstress2-jitstressregs) under different jitstress modes, both on linux arm32, both unit test assemblies for the source generator infrastructure (ComInterfaceGenerator and LibraryImportGenerator). The assert location and architecture differ from the existing windows-x86 SanityCheck umbrella #128330 (which fires at methodtable.cpp:8697 from Object::Validate during GC scan on windows-x86 jitstress2_jitstressregs3). The closed #125685 covered ComInterfaceGenerator.Unit.Tests crashes under jitstressregs on windows-x64 with AccessViolationException -- similar pipelines but different platform (x64 not arm32) and different signature (AV not SanityCheck assert). The #128590 umbrella covers a different assert (HijackThread) on the same arm32 pipelines. No open issue with matching arch + assert line + scenario. Flagged as NEW.

Generated by ci-pipeline-monitor/scripts/update_github.py

Activity

  1. added this to the 11.0.0 milestone on May 26, 2026
  2. dotnet-policy-service commented on May 26, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
    See info in area-owners.md if you want to be subscribed.

  3. added and removed
    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
    on Jun 2, 2026
  4. JulieLeeMSFT commented on Jun 2, 2026

    @JulieLeeMSFT
    Member

    Possibly duplicate of #128590.

  5. dotnet-policy-service commented on Jun 2, 2026

    @dotnet-policy-service
    Contributor

    Tagging subscribers to this area: @anicka-net, @dotnet/gc
    See info in area-owners.md if you want to be subscribed.

  6. locked and limited conversation to collaborators on Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions