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

[9.0][osx][ios] Failure: llvm::SmallVectorBase<unsigned long long>::set_size(unsigned long) #107569

Open
carlossanlop opened this issue Sep 9, 2024 · 2 comments
Assignees
Labels
arch-arm64 area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS os-mac-os-x macOS aka OSX runtime-mono specific to the Mono runtime
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Sep 9, 2024

Looks very similar to this one which was closed not too long ago: #105516

Build Information

Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=801852
Build error leg or test failing: net9.0-ios-Release-arm64-Mono_Release-OSX.13.Amd64.Iphone.Open -> iOS.Device.ExportManagedSymbols.Test Work Item

Error Message

{
  "ErrorMessage" : "llvm::SmallVectorBase<unsigned long long>::set_size(unsigned long)",
  "BuildRetry" : false,
  "ExcludeConsoleLog" : false
}
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : Precompiling failed for /tmp/helix/working/AD880961/w/AB180982/e/publish/System.Text.Json.dll with exit code 1. [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : Stack dump: [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 0.	Program arguments: /tmp/helix/working/AD880961/p/build/cross/llc -enable-implicit-null-checks -disable-fault-maps -march=aarch64 -asm-verbose=false -mtriple=arm64-ios -disable-gnu-eh-frame -enable-mono-eh-frame -mono-eh-frame-symbol=_mono_aot_System_Text_Json_eh_frame -disable-tail-calls -relocation-model=static -filetype=obj -mattr=+crc -o /tmp/helix/working/AD880961/w/AB180982/e/obj/Release/net9.0/ios-arm64/mobile/System.Text.Json.dll-llvm.o /tmp/helix/working/AD880961/w/AB180982/e/obj/Release/net9.0/ios-arm64/mobile/System.Text.Json.dll.s.opt.bc [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 1.	Running pass 'Function Pass Manager' on module '/tmp/helix/working/AD880961/w/AB180982/e/obj/Release/net9.0/ios-arm64/mobile/System.Text.Json.dll.s.opt.bc'. [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 2.	Running pass 'Greedy Register Allocator' on function '@System_Text_Json_System_Text_Json_Serialization_IEnumerableConverterFactoryHelpers_GetImmutableEnumerableConstructingType_System_Type' [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it): [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 0  llc                      0x00000001082f2727 llvm::SmallVectorBase<unsigned long long>::set_size(unsigned long) + 434903 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 1  llc                      0x00000001082f07d8 llvm::SmallVectorBase<unsigned long long>::set_size(unsigned long) + 426888 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 2  llc                      0x00000001082f2de0 llvm::SmallVectorBase<unsigned long long>::set_size(unsigned long) + 436624 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 3  libsystem_platform.dylib 0x00007ff8008d65ed _sigtramp + 29 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 4  libsystem_platform.dylib 0x00007fa8bf0fffe0 _sigtramp + 18446743733308398096 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 5  libsystem_c.dylib        0x00007ff8007cfb45 abort + 123 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 6  libsystem_malloc.dylib   0x00007ff8006e6752 malloc_vreport + 888 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 7  libsystem_malloc.dylib   0x00007ff8006e9b31 malloc_report + 151 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 8  llc                      0x00000001074cb686 llvm::Pass* llvm::callDefaultCtor<llvm::BasicBlockSectionsProfileReaderWrapperPass, true>() + 12118 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 9  llc                      0x00000001074cb5e0 llvm::Pass* llvm::callDefaultCtor<llvm::BasicBlockSectionsProfileReaderWrapperPass, true>() + 11952 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 10 llc                      0x00000001074c9a4f llvm::Pass* llvm::callDefaultCtor<llvm::BasicBlockSectionsProfileReaderWrapperPass, true>() + 4895 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 11 llc                      0x00000001077d541d llvm::Pass* llvm::callDefaultCtor<llvm::ReachingDefAnalysis, true>() + 134669 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 12 llc                      0x000000010765503c llvm::Pass* llvm::callDefaultCtor<llvm::MachineDominatorTree, true>() + 151244 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 13 llc                      0x0000000107aafe5b llvm::Attribute llvm::CallBase::getFnAttrOnCalledFunction<llvm::StringRef>(llvm::StringRef) const + 182955 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 14 llc                      0x0000000107ab6043 llvm::Attribute llvm::CallBase::getFnAttrOnCalledFunction<llvm::StringRef>(llvm::StringRef) const + 208019 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 15 llc                      0x0000000107ab04d5 llvm::Attribute llvm::CallBase::getFnAttrOnCalledFunction<llvm::StringRef>(llvm::StringRef) const + 184613 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 16 llc                      0x00000001067bc7a9 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 17 llc                      0x00000001067b9c9f [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : 18 dyld                     0x00007ff80054f41f start + 1903 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : AOT of image /private/tmp/helix/working/AD880961/w/AB180982/e/publish/System.Text.Json.dll failed. [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : Mono Ahead of Time compiler - compiling assembly /private/tmp/helix/working/AD880961/w/AB180982/e/publish/System.Text.Json.dll [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : AOTID 1E819B03-CD18-37CC-38E8-7121ECF92CF8 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : Compiled: 5656/5703 [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : Executing opt: "/tmp/helix/working/AD880961/p/build/cross/opt" -f -disable-tail-calls -passes="default<O2>,place-safepoints" -spp-all-backedges -mattr=+crc -o "/tmp/helix/working/AD880961/w/AB180982/e/obj/Release/net9.0/ios-arm64/mobile/System.Text.Json.dll.s.opt.bc" "/tmp/helix/working/AD880961/w/AB180982/e/obj/Release/net9.0/ios-arm64/mobile/System.Text.Json.dll.s.bc" [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
/tmp/helix/working/AD880961/p/build/apple/AppleBuild.targets(248,5): error : Executing llc: "/tmp/helix/working/AD880961/p/build/cross/llc"  -enable-implicit-null-checks -disable-fault-maps -march=aarch64 -asm-verbose=false -mtriple=arm64-ios -disable-gnu-eh-frame -enable-mono-eh-frame -mono-eh-frame-symbol=_mono_aot_System_Text_Json_eh_frame -disable-tail-calls -relocation-model=static -filetype=obj -mattr=+crc -o "/tmp/helix/working/AD880961/w/AB180982/e/obj/Release/net9.0/ios-arm64/mobile/System.Text.Json.dll-llvm.o" "/tmp/helix/working/AD880961/w/AB180982/e/obj/Release/net9.0/ios-arm64/mobile/System.Text.Json.dll.s.opt.bc" [/private/tmp/helix/working/AD880961/w/AB180982/e/publish/ProxyProjectForAOTOnHelix.proj]
  [177/183] xunit.runner.utility.netcoreapp10.dll -> xunit.runner.utility.netcoreapp10.dll.s, xunit.runner.utility.netcoreapp10.dll-llvm.o, xunit.runner.utility.netcoreapp10.aotdata
  [178/183] xunit.execution.dotnet.dll -> xunit.execution.dotnet.dll.s, xunit.execution.dotnet.dll-llvm.o, xunit.execution.dotnet.aotdata
  [179/183] System.Security.Cryptography.dll -> System.Security.Cryptography.dll.s, System.Security.Cryptography.dll-llvm.o, System.Security.Cryptography.aotdata
  [180/183] System.Private.CoreLib.dll -> System.Private.CoreLib.dll.s, System.Private.CoreLib.dll-llvm.o, System.Private.CoreLib.aotdata
  [181/183] System.Private.Xml.dll -> System.Private.Xml.dll.s, System.Private.Xml.dll-llvm.o, System.Private.Xml.aotdata
  [182/183] aot-instances.dll -> aot-instances.dll.s, aot-instances.dll-llvm.o, aot-instances.aotdata
Signing bundle /tmp/helix/working/AD880961/w/AB180982/e/iOS.Device.ExportManagedSymbols.Test.app
No embedded provisioning profile found at /tmp/helix/working/AD880961/w/AB180982/e/iOS.Device.ExportManagedSymbols.Test.app/embedded.mobileprovision! Failed to sign the app!

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=801852
Error message validated: [llvm::SmallVectorBase<unsigned long long>::set_size(unsigned long)]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 9/9/2024 8:53:08 PM UTC

Report

Build Definition Test Pull Request
801852 dotnet/runtime iOS.Device.ExportManagedSymbols.Test.WorkItemExecution #107498

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 1
@carlossanlop carlossanlop added arch-arm64 os-mac-os-x macOS aka OSX runtime-mono specific to the Mono runtime os-ios Apple iOS Known Build Error Use this to report build issues in the .NET Helix tab labels Sep 9, 2024
@carlossanlop carlossanlop added this to the 9.0.0 milestone Sep 9, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 9, 2024
Copy link
Contributor

Tagging subscribers to 'os-ios': @vitek-karas, @kotlarmilos, @ivanpovazan, @steveisok, @akoeplinger
See info in area-owners.md if you want to be subscribed.

@vitek-karas
Copy link
Member

@BrzVlad could you please check if we can repro it and if it's something which looks like related to the new LLVM?

@vcsjones vcsjones removed the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-arm64 area-Codegen-AOT-mono Known Build Error Use this to report build issues in the .NET Helix tab os-ios Apple iOS os-mac-os-x macOS aka OSX runtime-mono specific to the Mono runtime
Projects
None yet
Development

No branches or pull requests

5 participants