Skip to content
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] LLVM 19 build failures #105319

Closed
matouskozak opened this issue Jul 23, 2024 · 5 comments
Closed

[mono] LLVM 19 build failures #105319

matouskozak opened this issue Jul 23, 2024 · 5 comments
Labels
arch-x64 area-Codegen-LLVM-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Milestone

Comments

@matouskozak
Copy link
Member

matouskozak commented Jul 23, 2024

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=751577
Build error leg or test failing: Build Product
Affected CI: [android/iossimulator/maccatalyst]-x64 Release AllSubsets_Mono (runtime-extra-plaforms), linux-x64 Release AllSubsets_Mono_LLVMFULLAOT_[RuntimeIntrinsicsTests/RuntimeTests] llvmfullaot (runtime-llvm)
Range of commits: b252fa5...9477e94

Stack trace example:

  0.	Program arguments: /__w/1/s/artifacts/bin/mono/linux.x64.Release/llc -march=x86-64 -mcpu=generic -enable-implicit-null-checks -disable-fault-maps -asm-verbose=false -disable-gnu-eh-frame -enable-mono-eh-frame -mono-eh-frame-symbol=mono_aot_xunit_core_eh_frame -disable-tail-calls -no-x86-call-frame-opt -relocation-model=pic -filetype=obj -mattr=sse4.2,popcnt,lzcnt,bmi,bmi2,pclmul,aes,crc32 -o mono_aot_5bYF3T/temp-llvm.o mono_aot_5bYF3T/temp.opt.bc
  1.	Running pass 'Function Pass Manager' on module 'mono_aot_5bYF3T/temp.opt.bc'.
  2.	Running pass 'Implicit null checks' on function '@System_Runtime_CompilerServices_AsyncTaskMethodBuilder_1_System_Exception_GetStateMachineBox_Xunit_Record__ExceptionAsyncd__3_Xunit_Record__ExceptionAsyncd__3__System_Threading_Tasks_Task_1_System_Exception_'
   #0 0x000056e0131607e8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x2c847e8)
   #1 0x000056e01315e64e llvm::sys::RunSignalHandlers() (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x2c8264e)
   #2 0x000056e013160e85 (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x2c84e85)
   #3 0x00007893a12add20 __restore_rt (/lib64/libpthread.so.0+0x12d20)
   #4 0x000056e01298b0d1 llvm::Value::stripPointerCastsForAliasAnalysis() const (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x24af0d1)
   #5 0x000056e0120c269e llvm::BasicAAResult::aliasCheck(llvm::Value const*, llvm::LocationSize, llvm::Value const*, llvm::LocationSize, llvm::AAQueryInfo&, llvm::Instruction const*) (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x1be669e)
   #6 0x000056e0120c2614 llvm::BasicAAResult::alias(llvm::MemoryLocation const&, llvm::MemoryLocation const&, llvm::AAQueryInfo&, llvm::Instruction const*) (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x1be6614)
   #7 0x000056e0120b7d96 llvm::AAResults::alias(llvm::MemoryLocation const&, llvm::MemoryLocation const&) (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x1bdbd96)
   #8 0x000056e01241b18e (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x1f3f18e)
   #9 0x000056e0124ee267 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x2012267)
  #10 0x000056e0129369b6 llvm::FPPassManager::runOnFunction(llvm::Function&) (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x245a9b6)
  #11 0x000056e01293dd13 llvm::FPPassManager::runOnModule(llvm::Module&) (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x2461d13)
  #12 0x000056e0129376cd llvm::legacy::PassManagerImpl::run(llvm::Module&) (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x245b6cd)
  #13 0x000056e0118ad988 (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x13d1988)
  #14 0x000056e0118ab31d main (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x13cf31d)
  #15 0x00007893a03417e5 __libc_start_main (/lib64/libc.so.6+0x3a7e5)
  #16 0x000056e0118aaca9 _start (/__w/1/s/artifacts/bin/mono/linux.x64.Release/llc+0x13ceca9)

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "Running pass 'Function Pass Manager' on module",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=751577
Error message validated: [Running pass 'Function Pass Manager' on module]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/23/2024 3:02:51 PM UTC

Report

Build Definition Step Name Console log Pull Request
775397 dotnet/runtime AOT compile CoreCLR tests Log #105427
774046 dotnet/runtime AOT compile CoreCLR tests Log #105427
772314 dotnet/runtime Build product Log
763399 dotnet/runtime Build product Log
765139 dotnet/runtime Build product Log
764868 dotnet/runtime Build product Log
761344 dotnet/runtime Build product Log
758343 dotnet/runtime Build product Log
757260 dotnet/runtime Build product Log
756458 dotnet/runtime Build product Log
755747 dotnet/runtime Build product Log
751577 dotnet/runtime Build product Log
Build Definition Test Pull Request
2514115 dotnet-runtime release.Partition0.WorkItemExecution
2513479 dotnet-runtime release.Partition9.WorkItemExecution
2513394 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2513071 dotnet-runtime release.Partition9.WorkItemExecution
2512974 dotnet-runtime release.Partition9.WorkItemExecution
2512880 dotnet-runtime release.Partition9.WorkItemExecution
2512805 dotnet-runtime release.Partition9.WorkItemExecution
2512740 dotnet-runtime release.Partition9.WorkItemExecution
2512682 dotnet-runtime release.Partition9.WorkItemExecution
2512598 dotnet-runtime release.Partition9.WorkItemExecution
2512535 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2512457 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2512314 dotnet-runtime release.Partition9.WorkItemExecution
2512184 dotnet-runtime release.Partition9.WorkItemExecution
2512021 dotnet-runtime release.Partition9.WorkItemExecution
2512015 dotnet-runtime release.Partition9.WorkItemExecution
2511924 dotnet-runtime release.Partition9.WorkItemExecution
2511849 dotnet-runtime release.Partition9.WorkItemExecution
2511691 dotnet-runtime release.Partition9.WorkItemExecution
2511480 dotnet-runtime release.Partition9.WorkItemExecution
2511372 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2511129 dotnet-runtime release.Partition9.WorkItemExecution
2511119 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2511023 dotnet-runtime release.Partition9.WorkItemExecution
2510830 dotnet-runtime release.Partition9.WorkItemExecution
2510678 dotnet-runtime release.Partition9.WorkItemExecution
2510515 dotnet-runtime release.Partition9.WorkItemExecution
2509326 dotnet-runtime wasmaot.x64.micro.net9.0.Partition8.WorkItemExecution
2508853 dotnet-runtime release.Partition8.WorkItemExecution
2508067 dotnet-runtime release.Partition19.WorkItemExecution
2507365 dotnet-runtime wasmaot.x64.micro.net9.0.Partition5.WorkItemExecution
2507201 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2504909 dotnet-runtime release.Partition9.WorkItemExecution
2504631 dotnet-runtime release.Partition9.WorkItemExecution
2504252 dotnet-runtime release.Partition9.WorkItemExecution
2504168 dotnet-runtime release.Partition9.WorkItemExecution
2504059 dotnet-runtime release.Partition9.WorkItemExecution
2503898 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2503803 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2503692 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2503585 dotnet-runtime release.Partition9.WorkItemExecution
2503483 dotnet-runtime x64.micro_mono.net9.0.Partition8.WorkItemExecution
2502492 dotnet-runtime x64.micro_mono.net9.0.Partition6.WorkItemExecution
2502282 dotnet-runtime release.Partition9.WorkItemExecution
2502122 dotnet-runtime x64.micro_mono.net9.0.Partition9.WorkItemExecution
2501964 dotnet-runtime release.Partition9.WorkItemExecution
754300 dotnet/runtime System.Runtime.Tests.WorkItemExecution #105427
2501738 dotnet-runtime x64.micro_mono.net9.0.Partition5.WorkItemExecution
2501505 dotnet-runtime x64.micro_mono.net9.0.Partition8.WorkItemExecution
2501348 dotnet-runtime x64.micro_mono.net9.0.Partition5.WorkItemExecution
2501194 dotnet-runtime x64.micro_mono.net9.0.Partition7.WorkItemExecution
2500927 dotnet-runtime release.Partition9.WorkItemExecution
2500691 dotnet-runtime release.Partition9.WorkItemExecution

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
1 30 65
@matouskozak matouskozak added arch-x64 blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 23, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 23, 2024
Copy link
Contributor

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

@matouskozak
Copy link
Member Author

Likely related to #103585, cc: @radekdoulik @steveisok @lewing

@steveisok
Copy link
Member

@matouskozak is this error message too generic or does it only print in the case of a crash?

@matouskozak
Copy link
Member Author

@matouskozak is this error message too generic or does it only print in the case of a crash?

I've only seen it printed out in case of a crash but if you find any false positives let me know and we can change the match string.

@matouskozak
Copy link
Member Author

Fixed by #105867

@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-x64 area-Codegen-LLVM-mono blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab
Projects
None yet
Development

No branches or pull requests

3 participants