[Swift CI] Build Failure: 0. OSS - Swift Incremental RA - Ubuntu 16.04 (master) #5778

Report

[FAILURE] oss-swift-incremental-RA-linux-ubuntu-16_04 [#5778]

Build URL:
https://ci.swift.org/job/oss-swift-incremental-RA-linux-ubuntu-16_04/5778/
Project:
oss-swift-incremental-RA-linux-ubuntu-16_04
Date of build:
Mon, 08 Oct 2018 21:47:03 -0500
Build duration:
8 min 8 sec

Tests:

Name: Swift(linux-x86_64)
Failed: 0 test(s), Passed: 9618 test(s), Total: 10861 test(s)
Name: Swift-Unit
Failed: 0 test(s), Passed: 502 test(s), Total: 502 test(s)

Changes

  • Commit cdf986f3058a401244eccb582a69e3a711a8d6ee by compnerd:
    test: use llvm-strings instead of strings

    • edit: test/Serialization/comments-params.swift
    • edit: test/lit.cfg
    • edit: test/CMakeLists.txt
  • Commit ff7eee0d882c51ae433bbfc7783539d4ec6a884d by compnerd:
    build: remove set of internal CMake variable

    • edit: CMakeLists.txt
  • Commit 5f9ff021d48488015cfb0c7a741816f50eb7e332 by harlan:
    [Sema] Allow non-public static property initializers in @_fixed_layout

    • edit: lib/Sema/ResilienceDiagnostics.cpp
    • edit: lib/AST/Decl.cpp
    • edit: test/attr/attr_inlinable.swift
    • edit: test/ParseableInterface/fixed-layout-property-initializers.swift

Segfault during LICM, while looking up a superclass. Doug, any ideas here?

 1.	While running pass #15259 SILFunctionTransform "LICM" on SILFunction "@$sSTsE7forEachyyy7ElementQzKXEKFSDys11AnyHashableVypG_Tg5096$s10Foundation015convertToStringD033_1D3CE3C9809CFBD6D82F8FC0DCEFD0F0LL10dictionarySDyS2SGSDys11dE31VypG_tFyAG3key_yp5valuet_tXEfU_SDyS2SGTf1cn_n".
for 'forEach(_:)' in module 'Swift'
2.	While evaluating request SuperclassTypeRequest(Foundation.(file).NSString@Foundation/NSString.swift:178:12, interface)
3.	While evaluating request InheritedTypeRequest(Foundation.(file).NSString@Foundation/NSString.swift:178:12, 0, interface)
4.	While resolving type NSObject at [Foundation/NSString.swift:178:23 - line:178:23] RangeText=""
#0 0x00000000045a0de4 PrintStackTraceSignalHandler(void*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x45a0de4)
#1 0x000000000459ebb0 llvm::sys::RunSignalHandlers() (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x459ebb0)
#2 0x00000000045a0f92 SignalHandler(int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x45a0f92)
#3 0x00007facf7aa8390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)
#4 0x000000000144b85d swift::TypeChecker::checkDeclarationAvailability(swift::Decl const*, swift::SourceLoc, swift::DeclContext const*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x144b85d)
#5 0x000000000145216b (anonymous namespace)::AvailabilityWalker::diagAvailability(swift::ValueDecl const*, swift::SourceRange, swift::ApplyExpr const*, bool, bool) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x145216b)
#6 0x0000000001450722 swift::diagnoseDeclAvailability(swift::ValueDecl const*, swift::TypeChecker&, swift::DeclContext*, swift::SourceRange, bool, bool) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x1450722)
#7 0x0000000001511286 swift::TypeChecker::resolveIdentifierType(swift::TypeResolution, swift::IdentTypeRepr*, swift::TypeResolutionOptions) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x1511286)
#8 0x00000000015125c1 (anonymous namespace)::TypeResolver::resolveType(swift::TypeRepr*, swift::TypeResolutionOptions) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x15125c1)
#9 0x00000000015106bd swift::TypeResolution::resolveType(swift::TypeRepr*, swift::TypeResolutionOptions) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x15106bd)
#10 0x00000000014f980f swift::InheritedTypeRequest::evaluate(swift::Evaluator&, llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int, swift::TypeResolutionStage) const (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x14f980f)
#11 0x00000000014fa465 swift::SimpleRequest<swift::InheritedTypeRequest, (swift::CacheKind)2, swift::Type, llvm::PointerUnion<swift::TypeDecl*, swift::ExtensionDecl*>, unsigned int, swift::TypeResolutionStage>::evaluateRequest(swift::InheritedTypeRequest const&, swift::Evaluator&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x14fa465)
#12 0x000000000148c2d1 llvm::Expected<swift::InheritedTypeRequest::OutputType> swift::Evaluator::getResultUncached<swift::InheritedTypeRequest>(swift::InheritedTypeRequest const&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x148c2d1)
#13 0x000000000148c023 llvm::Expected<swift::InheritedTypeRequest::OutputType> swift::Evaluator::getResultCached<swift::InheritedTypeRequest, (void*)0>(swift::InheritedTypeRequest const&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x148c023)
#14 0x000000000148b4f9 llvm::Expected<swift::InheritedTypeRequest::OutputType> swift::Evaluator::operator()<swift::InheritedTypeRequest>(swift::InheritedTypeRequest const&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x148b4f9)
#15 0x00000000014f99c6 swift::SuperclassTypeRequest::evaluate(swift::Evaluator&, swift::NominalTypeDecl*, swift::TypeResolutionStage) const (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x14f99c6)
#16 0x00000000014fa481 swift::SimpleRequest<swift::SuperclassTypeRequest, (swift::CacheKind)2, swift::Type, swift::NominalTypeDecl*, swift::TypeResolutionStage>::evaluateRequest(swift::SuperclassTypeRequest const&, swift::Evaluator&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x14fa481)
#17 0x0000000001848ad4 llvm::Expected<swift::SuperclassTypeRequest::OutputType> swift::Evaluator::getResultUncached<swift::SuperclassTypeRequest>(swift::SuperclassTypeRequest const&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x1848ad4)
#18 0x0000000001848853 llvm::Expected<swift::SuperclassTypeRequest::OutputType> swift::Evaluator::getResultCached<swift::SuperclassTypeRequest, (void*)0>(swift::SuperclassTypeRequest const&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x1848853)
#19 0x0000000001847ed9 llvm::Expected<swift::SuperclassTypeRequest::OutputType> swift::Evaluator::operator()<swift::SuperclassTypeRequest>(swift::SuperclassTypeRequest const&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x1847ed9)
#20 0x0000000001839f29 swift::SuperclassTypeRequest::OutputType swift::evaluateOrDefault<swift::SuperclassTypeRequest>(swift::Evaluator&, swift::SuperclassTypeRequest, swift::SuperclassTypeRequest::OutputType) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x1839f29)
#21 0x00000000018eca8b swift::TypeBase::getSuperclass(bool) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x18eca8b)
#22 0x00000000018ecf3d swift::TypeBase::isExactSuperclassOf(swift::Type) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x18ecf3d)
#23 0x00000000018ed8d5 swift::TypeBase::isBindableToSuperclassOf(swift::Type) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x18ed8d5)
#24 0x0000000000f9873d swift::AliasAnalysis::typesMayAlias(swift::SILType, swift::SILType) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xf9873d)
#25 0x0000000000f97981 swift::AliasAnalysis::aliasInner(swift::SILValue, swift::SILValue, swift::SILType, swift::SILType) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xf97981)
#26 0x0000000000f98afc swift::AliasAnalysis::alias(swift::SILValue, swift::SILValue, swift::SILType, swift::SILType) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xf98afc)
#27 0x0000000000fd8034 swift::SILInstructionVisitor<(anonymous namespace)::MemoryBehaviorVisitor, swift::SILInstruction::MemoryBehavior>::visit(swift::SILInstruction*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xfd8034)
#28 0x0000000000fd57bb swift::AliasAnalysis::computeMemoryBehaviorInner(swift::SILInstruction*, swift::SILValue, swift::RetainObserveKind) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xfd57bb)
#29 0x0000000000fd54ca swift::AliasAnalysis::computeMemoryBehavior(swift::SILInstruction*, swift::SILValue, swift::RetainObserveKind) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xfd54ca)
#30 0x00000000010bbdd1 (anonymous namespace)::LoopTreeOptimization::optimize() (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x10bbdd1)
#31 0x00000000010ba726 (anonymous namespace)::LICM::run() (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x10ba726)
#32 0x0000000000dd9937 swift::SILPassManager::runPassOnFunction(unsigned int, swift::SILFunction*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xdd9937)
#33 0x0000000000dda5f1 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xdda5f1)
#34 0x0000000000ddb7ae swift::SILPassManager::execute() (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xddb7ae)
#35 0x00000000005e1768 swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x5e1768)
#36 0x0000000000de2f3f swift::runSILOptimizationPasses(swift::SILModule&) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0xde2f3f)
#37 0x00000000004e9e01 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x4e9e01)
#38 0x00000000004e5d37 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x4e5d37)
#39 0x000000000048d1ee main (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x48d1ee)
#40 0x00007facf61d2830 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20830)
#41 0x000000000048b029 _start (/home/buildnode/jenkins/workspace/oss-swift-incremental-RA-linux-ubuntu-16_04/buildbot_incremental/swift-linux-x86_64/bin/swift+0x48b029)
Segmentation fault (core dumped)

Segfault during LICM, while looking up a superclass. Doug, any ideas here?

LICM seems to be reaching across file boundaries more than the type checker, and the type checker is gone. It’s similar in spirit to rdar://problem/45060773, which was also a crash when LICM triggered more type checking but the type checker wasn’t available any longer. That fix won’t help here, however.

Did you already radar this, Harlan?

- Doug
Terms of Service

Privacy Policy

Cookie Policy