-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
[mono] Failed to load AOT module "Methodical_*" #105395
Comments
Could the regression be introduced by #105156 @steveisok ? We've seen the same failure on the Bump LLVM 19 PR #103585 (comment) but since it's failing on fullAOT-mini job I suspect it's likely not related... |
I don't think it's likely. The change in #105156 was on the AOT compiler side and specific to marshaling COM interop types. It went from the AOT compiler exiting with a not supported message to emitting an exception instead. |
That means the test would have to have failed before, but just in a different way. That does not seem to be the case. |
Is there something else from this range b252fa5...9477e94 that strikes you as a possible cause for this? |
No, I suspect it's not related to that commit range. Can you check to see if it happens every time now? |
yes, last 3 rolling builds of |
I bisected the range and seems to be caused by the LLVM bump #103585. Radek had an idea that perhaps we default to use the new clang 19 shipped with the LLVM for AOT compilation... |
@matouskozak can you reproduce locally and get more info from the backtrace? The logs on CI aren't very helpful. |
I believe that @BrzVlad has a fixed for these already based on #103585 (comment). It looks like the way the tests were disabled is not the correct way for Mono fullAOT. |
Ok, I'm going to proactively close this issue then. |
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=751577
Build error leg or test failing:
Methodical_[r,d][o,1]
Affected CI:
linux_x64_release_allsubsets_mono_minifullaot_runtimetests
(runtime-extra-platforms
)Range of commits: b252fa5...9477e94
Steps to reproduce locally:
./build.sh -s mono+libs+clr.hosts -c Debug
./src/tests/build.sh -mono debug -tree:JIT/Methodical/ /p:LibrariesConfiguration=Debug
./src/tests/build.sh -log:MonoAot -mono_fullaot debug -tree:JIT/Methodical/ /p:LibrariesConfiguration=Debug /p:RuntimeVariant=minifullaot
MONO_ENV_OPTIONS=--full-aot bash ./artifacts/tests/coreclr/linux.x64.Debug/JIT/Methodical/Methodical_do/Methodical_do.sh -coreroot=$PWD/artifacts/tests/coreclr/linux.x64.Debug/Tests/Core_Root
Error Message
Fill the error message using step by step known issues guidance.
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=751577
Error message validated:
[Failed to load AOT module '.*\/JIT\/Methodical\/Methodical_[r,d][o,1]\/Methodical_[r,d][o,1]\.dll\.so' \('.*\/JIT\/Methodical\/Methodical_[r,d][o,1]\/Methodical_[r,d][o,1]\.dll'\) in aot-only mode\.
]Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/24/2024 12:41:43 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: