Skip to content

[mono] Assertion at jit-info.c:918, condition '!ji->async' #121404

@vitek-karas

Description

@vitek-karas

Build Information

Build: 20251105.5, 20251105.1, 20251104.5

Build error leg or test failing: Loader.WorkItemExecution, the specific test failing is ExtendedLayoutTests.ExtendedLayout.ExtendedLayout_NoExtendedLayoutAttribute

Affected CI jobs: linux_x64_Release_AllSubsets_Mono_LLVMFULLAOT_RuntimeTests

Commit range: started to fail on 10/14 2025, but there's a large hole in data before that date, so it's possible it was earlier.

Summary

  • Native crash triggered by SIGABRT from Mono runtime assertion failure during test execution
  • Failures occur on linux_x64_Release_AllSubsets_Mono_LLVMFULLAOT_RuntimeTests job on linux x64 platform
  • AOT-only mode fails to load 'ExtendedLayout.dll.so', causing runtime errors in mono/metadata/jit-info.c
  • Mono runtime assertion at line 918 fails with condition '!ji->async' not met during test
  • Tests exit with code 0 instead of expected 100, resulting in test failure with exit code 1

Work Items

Work Item Job Name Build Console Log
Loader linux_x64_Release_AllSubsets_Mono_LLVMFULLAOT_RuntimeTests 20251105.5
View Extract
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

...
03:02:15.733 Running test: _ExtendedLayout::ExtendedLayoutTests.ExtendedLayout.ExtendedLayout_NoExtendedLayoutAttribute()
Failed to load AOT module '/datadisks/disk1/work/A14E093D/w/97AB0850/e/Loader/Loader/ExtendedLayout.dll.so' ('/datadisks/disk1/work/A14E093D/w/97AB0850/e/Loader/Loader/ExtendedLayout.dll') in aot-only mode.


=================================================================
Native Crash Reporting
=================================================================


...

=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
* Assertion at /__w/1/s/src/mono/mono/metadata/jit-info.c:918, condition `!ji->async' not met
App Exit Code: 0
Expected: 100
Actual: 0
END EXECUTION - FAILED
+ test_exit_code=1
Full Log
Loader linux_x64_Release_AllSubsets_Mono_LLVMFULLAOT_RuntimeTests 20251105.1
View Extract
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

14:54:10.861 Running test: _ExtendedLayout::ExtendedLayoutTests.ExtendedLayout.ExtendedLayout_NoExtendedLayoutAttribute()
Failed to load AOT module '/datadisks/disk1/work/A4560917/w/A41B08D0/e/Loader/Loader/ExtendedLayout.dll.so' ('/datadisks/disk1/work/A4560917/w/A41B08D0/e/Loader/Loader/ExtendedLayout.dll') in aot-only mode.

=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
* Assertion at /__w/1/s/src/mono/mono/metadata/jit-info.c:918, condition `!ji->async' not met
App Exit Code: 0
Expected: 100
Actual: 0
END EXECUTION - FAILED
+ test_exit_code=1
Full Log
Loader linux_x64_Release_AllSubsets_Mono_LLVMFULLAOT_RuntimeTests 20251104.5
View Extract
=================================================================
Native Crash Reporting
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

=================================================================
Native stacktrace:

...
02:55:15.378 Running test: _ExtendedLayout::ExtendedLayoutTests.ExtendedLayout.ExtendedLayout_NoExtendedLayoutAttribute()
Failed to load AOT module '/datadisks/disk1/work/AEE109AB/w/B2FB09E9/e/Loader/Loader/ExtendedLayout.dll.so' ('/datadisks/disk1/work/AEE109AB/w/B2FB09E9/e/Loader/Loader/ExtendedLayout.dll') in aot-only mode.


=================================================================
Native Crash Reporting
=================================================================


...

=================================================================
Managed Stacktrace:
=================================================================
at <unknown> <0xffffffff>
* Assertion at /__w/1/s/src/mono/mono/metadata/jit-info.c:918, condition `!ji->async' not met
App Exit Code: 0
Expected: 100
Actual: 0
END EXECUTION - FAILED
+ test_exit_code=1
Full Log

Error Message

{
  "ErrorMessage": [
    "Failed to load AOT module",
    "* Assertion at /__w/1/s/src/mono/mono/metadata/jit-info.c:918, condition \u0060!ji-\u003Easync\u0027 not met"
  ],
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Notes

The test only fails on the linux_x64_Release_AllSubsets_Mono_LLVMFULLAOT configuration, it passes in all other configs.

Report

Build Definition Test Pull Request
1196167 dotnet/runtime Loader.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 1 1

Report

Build Definition Test Pull Request
1204837 dotnet/runtime Loader.WorkItemExecution
1204656 dotnet/runtime Loader.WorkItemExecution
1204467 dotnet/runtime Loader.WorkItemExecution
1204288 dotnet/runtime Loader.WorkItemExecution
1203861 dotnet/runtime Loader.WorkItemExecution
1203101 dotnet/runtime Loader.WorkItemExecution
1202589 dotnet/runtime Loader.WorkItemExecution
1201762 dotnet/runtime Loader.WorkItemExecution
1201228 dotnet/runtime Loader.WorkItemExecution
1200686 dotnet/runtime Loader.WorkItemExecution
1200207 dotnet/runtime Loader.WorkItemExecution
1199607 dotnet/runtime Loader.WorkItemExecution
1199144 dotnet/runtime Loader.WorkItemExecution
1198606 dotnet/runtime Loader.WorkItemExecution #121488
1198528 dotnet/runtime Loader.WorkItemExecution
1198197 dotnet/runtime Loader.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 16

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions