swiftlang / swift

The Swift Programming Language
https://swift.org
Apache License 2.0
67.58k stars 10.36k forks source link

[SR-15594] Trunk snapshot compiler for linux x86_64 crashes with 'Assertion `FragmentOffset >= OffsetInBits && "overlapping or duplicate fragments"' failed' when cross-compiling sourcekit-lsp for Android armv7 #57897

Closed finagolfin closed 2 years ago

finagolfin commented 2 years ago
Previous ID SR-15594
Radar None
Original Reporter @buttaface
Type Bug
Environment Fedora Core 33 with Android NDK 23b
Additional Detail from JIRA | | | |------------------|-----------------| |Votes | 1 | |Component/s | Compiler | |Labels | Bug | |Assignee | None | |Priority | Medium | md5: 68a20c8868510cca2857c14bdd584ada

Issue Description:

I recently added cross-compiling trunk sourcekit-lsp to my Android CI, but had to disable it for armv7 because of this crasher. That crashed with the official build of the Dec. 6 trunk snapshot compiler for Ubuntu 20.04 but didn't show the failing command, so I tried it in verbose mode with the official build of the Nov. 20 trunk snapshot on Fedora Core 35 and extracted the following crashing command and stack trace:

/home/snap/.termux-build/_cache/android-r23b-api-24-v5/sysroot/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend -frontend -c /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/CapabilityRegistry.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Clang/ClangLanguageServer.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/DocumentManager.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/DocumentTokens.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/IndexStoreDB+MainFilesProvider.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/SourceKitIndexDelegate.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/SourceKitLSPCommandMetadata.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/SourceKitServer+Options.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/SourceKitServer.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/CodeCompletion.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/CodeCompletionSession.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/CommentXML.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/CursorInfo.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/Diagnostic.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/EditorPlaceholder.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/ExpressionTypeInfo.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/SemanticRefactorCommand.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/SemanticRefactoring.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/SourceKitD+ResponseError.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/SwiftCommand.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/SwiftLanguageServer.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/SyntaxHighlightingToken.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/SyntaxHighlightingTokenParser.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Swift/VariableTypeInfo.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/ToolchainLanguageServer.swift /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/SourceKitLSP/Workspace.swift -supplementary-output-file-map /tmp/TemporaryDirectory.uqukUU/supplementaryOutputs-1 -target armv7-unknown-linux-android24 -disable-objc-interop -sdk /home/snap/.termux-build/_cache/android-r23b-api-24-v5/sysroot -I /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release -g -module-cache-path /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/ModuleCache -swift-version 5 -O -D SWIFT_PACKAGE -new-driver-path /home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-driver -resource-dir /data/data/com.termux/files/usr/lib/swift -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/IndexStoreDB_CIndexStoreDB.build/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/indexstore-db/lib/CIndexStoreDB/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/IndexStoreDB_Index.build/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/indexstore-db/lib/Index/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/indexstore-db/lib/Database/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/indexstore-db/lib/Database/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/indexstore-db/lib/Core/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/indexstore-db/lib/Core/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/indexstore-db/lib/Support/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/indexstore-db/lib/Support/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/indexstore-db/lib/LLVMSupport/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/indexstore-db/lib/LLVMSupport/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/yams/Sources/CYaml/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/yams/Sources/CYaml/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/swift-driver/Sources/CSwiftScan/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/swift-driver/Sources/CSwiftScan/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/llbuild/products/libllbuild/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/llbuild/products/libllbuild/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/llbuildNinja.build/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/llbuild/lib/Ninja/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/llbuildBuildSystem.build/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/llbuild/lib/BuildSystem/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/llbuildCore.build/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/llbuild/lib/Core/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/llbuildBasic.build/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/llbuild/lib/Basic/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/llvmSupport.build/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/llbuild/lib/llvm/Support/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/llvmDemangle.build/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/llbuild/lib/llvm/Demangle/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/swiftpm/Sources/PackageCollectionsSigningLibc/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/swiftpm/Sources/PackageCollectionsSigningLibc/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/swift-tools-support-core/Sources/TSCclibc/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/swift-tools-support-core/Sources/TSCclibc/include -Xcc -fmodule-map-file=/home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/Csourcekitd/include/module.modulemap -Xcc -I -Xcc /home/snap/.termux-build/swift/src/sourcekit-lsp/Sources/Csourcekitd/include -Xcc -I/data/data/com.termux/files/usr/include -Xcc -U_GNU_SOURCE -module-name SourceKitLSP -parse-as-library -num-threads 2 -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/CapabilityRegistry.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Clang/ClangLanguageServer.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/DocumentManager.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/DocumentTokens.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/IndexStoreDB+MainFilesProvider.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/SourceKitIndexDelegate.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/SourceKitLSPCommandMetadata.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/SourceKitServer+Options.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/SourceKitServer.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/CodeCompletion.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/CodeCompletionSession.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/CommentXML.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/CursorInfo.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/Diagnostic.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/EditorPlaceholder.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/ExpressionTypeInfo.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/SemanticRefactorCommand.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/SemanticRefactoring.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/SourceKitD+ResponseError.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/SwiftCommand.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/SwiftLanguageServer.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/SyntaxHighlightingToken.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/SyntaxHighlightingTokenParser.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Swift/VariableTypeInfo.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/ToolchainLanguageServer.swift.o -o /home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/Workspace.swift.o error: compile command failed due to signal 6 (use -v to see invocation)swift-frontend: /home/build-user/llvm-project/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp:661: void llvm::DwarfExpression::addFragmentOffset(const llvm::DIExpression *): Assertion `FragmentOffset >= OffsetInBits && "overlapping or duplicate fragments"' failed. Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the project and the crash backtrace. Stack dump:

  1. Running pass 'Function Pass Manager' on module '/home/snap/.termux-build/swift/build/sourcekitlsp-android-armv7/armv7-unknown-linux-android24/release/SourceKitLSP.build/CapabilityRegistry.swift.o'.
  2. Running pass 'ARM Assembly Printer' on function '@"$s12SourceKitLSP17EditorPlaceholderOyACSgSScfCTf4gd_n"'

    ​0 0x0000000005d4a293 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x5d4a293)

    ​1 0x0000000005d47fce llvm::sys::RunSignalHandlers() (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x5d47fce)

    ​2 0x0000000005d4a61f SignalHandler(int) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x5d4a61f)

    ​3 0x00007fc16759f760 __restore_rt (/lib64/libc.so.6+0x42760)

    ​4 0x00007fc1675ec85c __pthread_kill_implementation (/lib64/libc.so.6+0x8f85c)

    ​5 0x00007fc16759f6b6 raise (/lib64/libc.so.6+0x426b6)

    ​6 0x00007fc1675897d3 abort (/lib64/libc.so.6+0x2c7d3)

    ​7 0x00007fc1675896fb _nl_load_domain.cold (/lib64/libc.so.6+0x2c6fb)

    ​8 0x00007fc1675983a6 (/lib64/libc.so.6+0x3b3a6)

    ​9 0x000000000293032e (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x293032e)

    ​10 0x000000000298559c llvm::DwarfCompileUnit::constructVariableDIEImpl(llvm::DbgVariable const&, bool) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x298559c)

    ​11 0x000000000298410b llvm::DwarfCompileUnit::createScopeChildrenDIE(llvm::LexicalScope*, llvm::SmallVectorImpl<llvm::DIE*>&, bool*) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x298410b)

    ​12 0x0000000002982b69 llvm::DwarfCompileUnit::constructScopeDIE(llvm::LexicalScope*, llvm::SmallVectorImpl<llvm::DIE*>&) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x2982b69)

    ​13 0x0000000002984490 llvm::DwarfCompileUnit::createScopeChildrenDIE(llvm::LexicalScope*, llvm::SmallVectorImpl<llvm::DIE*>&, bool*) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x2984490)

    ​14 0x0000000002986638 llvm::DwarfCompileUnit::constructSubprogramScopeDIE(llvm::DISubprogram const*, llvm::LexicalScope*) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x2986638)

    ​15 0x00000000029144ef llvm::DwarfDebug::endFunctionImpl(llvm::MachineFunction const*) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x29144ef)

    ​16 0x000000000297b72e llvm::DebugHandlerBase::endFunction(llvm::MachineFunction const*) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x297b72e)

    ​17 0x00000000028e9968 llvm::AsmPrinter::emitFunctionBody() (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x28e9968)

    ​18 0x0000000002198e21 llvm::ARMAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x2198e21)

    ​19 0x000000000330ce5e llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x330ce5e)

    ​20 0x0000000005a57458 llvm::FPPassManager::runOnFunction(llvm::Function&) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x5a57458)

    ​21 0x0000000005a5dd71 llvm::FPPassManager::runOnModule(llvm::Module&) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x5a5dd71)

    ​22 0x0000000005a57b0c llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x5a57b0c)

    ​23 0x000000000094efe4 swift::compileAndWriteLLVM(llvm::Module*, llvm::TargetMachine*, swift::IRGenOptions const&, swift::UnifiedStatsReporter*, swift::DiagnosticEngine&, llvm::raw_pwrite_stream&, llvm::sys::SmartMutex*) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x94efe4)

    ​24 0x000000000094eb7d swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex, llvm::GlobalVariable, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, swift::UnifiedStatsReporter*) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x94eb7d)

    ​25 0x000000000095d7d6 (anonymous namespace)::LLVMCodeGenThreads::Thread::run() (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x95d7d6)

    ​26 0x000000000095d5d6 (anonymous namespace)::LLVMCodeGenThreads::runThread(void*) (/home/snap/.termux-build/swift/host-build/swift-DEVELOPMENT-SNAPSHOT-2021-11-20-a-centos8/usr/bin/swift-frontend+0x95d5d6)

    ​27 0x00007fc16785ac84 (/lib64/libstdc++.so.6+0xd9c84)

    ​28 0x00007fc1675eab17 start_thread (/lib64/libc.so.6+0x8db17)

    ​29 0x00007fc16766f6c0 clone3 (/lib64/libc.so.6+0x1126c0)

I'm able to cross-compile sourcekit-lsp for armv7 fine from Swift 5.5.2, so it looks like this regressed since 5.5 branched earlier this year.

finagolfin commented 2 years ago

This is no longer reproducible with the latest Jan. 9 trunk snapshot, but is still there with the Jan. 11 Swift 5.6 snapshot.

finagolfin commented 2 years ago

I still saw this crash as of the last snapshot from the 5.6 branch on Mar. 2, but it was gone in the final 5.6 release a couple weeks later. Leaving this issue open in case it recurs in future 5.6 snapshots.

finagolfin commented 2 years ago

I cannot reproduce with 5.6.1 or the 5.7 or trunk snapshots anymore, so closing.