You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
aschwaighofer opened this issue
Oct 26, 2017
· 2 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of software
SR-6333 AsyncNinja source breakage: Assertion failed: (t->is() || t->isExistentialType() && "expected a class, archetype or existential"), function getSuperclassForDecl, file swift/lib/AST/Type.cpp, line 3341.
Issue Description:
$ swift-LOCAL-2017-10-25-a.xctoolchain.base2/usr/bin/swiftc -v
Apple Swift version 4.1-dev (LLVM a2bdb45198, Clang bb20a94e86, Swift ec19cad)
Target: x86_64-apple-darwin17.2.0
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfcrashBug: A crash, i.e., an abnormal termination of software
Additional Detail from JIRA
md5: 1b5a7d34baa8cfaba09cbd0b63086610
is duplicated by:
Issue Description:
$ swift-LOCAL-2017-10-25-a.xctoolchain.base2/usr/bin/swiftc -v
Apple Swift version 4.1-dev (LLVM a2bdb45198, Clang bb20a94e86, Swift ec19cad)
Target: x86_64-apple-darwin17.2.0
(swift/utils/build-toolchain swift build)
source-compat-suite: 112421c (HEAD -> master, origin/master, origin/HEAD) Merge pull request #96 from graydon/misc-run_cperf-fixes
./runner.py --swift-branch master --projects projects.json --swift-version 3 --include-actions 'action.startswith("Build")' --swiftc .../usr
/bin/swiftc
I think we don't see the failure on the bot because the bot builds without assertions.
Assertion failed: (t->is<ArchetypeType>() || t->isExistentialType() && "expected a class, archetype or existential"), function getSuperclassForDecl, file /Volumes/Transcend/CompilerGithub9/swift/lib/AST/Type.cpp, line 3245.
0 swift 0x0000000109ab49d8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1 swift 0x0000000109ab3926 llvm::sys::RunSignalHandlers() + 86
2 swift 0x0000000109ab4f9e SignalHandler(int) + 366
3 libsystem_platform.dylib 0x00007fff79dd5f5a _sigtramp + 26
4 libsystem_platform.dylib 0x00007ffcf5c74800 _sigtramp + 2078927040
5 libsystem_c.dylib 0x00007fff79c0130a abort + 127
6 libsystem_c.dylib 0x00007fff79bc9360 basename_r + 0
7 swift 0x00000001077962e4 swift::TypeBase::getSuperclassForDecl(swift::ClassDecl const*) + 308
8 swift 0x000000010779640f swift::TypeBase::getContextSubstitutions(swift::DeclContext const*, swift::GenericEnvironment*) + 255
9 swift 0x0000000107791c13 swift::TypeBase::getContextSubstitutionMap(swift::ModuleDecl*, swift::DeclContext const*, swift::GenericEnvironment*) + 67
10 swift 0x0000000106e9d554 swift::devirtualizeClassMethod(swift::FullApplySite, swift::SILValue) + 580
11 swift 0x0000000106e9f886 swift::tryDevirtualizeApply(swift::ApplySite, swift::ClassHierarchyAnalysis*) + 758
12 swift 0x0000000106f9b5f4 runOnFunctionRecursively(swift::SILFunction*, swift::FullApplySite, swift::SILOptions::LinkingMode, llvm::DenseSet<swift::SILFunction*, llvm::DenseMapInfo<swift::SILFunction*> >&, llvm::ImmutableSet<swift::SILFunction*, llvm::ImutContainerInfo<swift::SILFunction*> >::Factory&, llvm::ImmutableSet<swift::SILFunction*, llvm::ImutContainerInfo<swift::SILFunction*> >, swift::ClassHierarchyAnalysis*) + 756
13 swift 0x0000000106f9b047 (anonymous namespace)::MandatoryInlining::run() + 423
14 swift 0x0000000106f1ea1b swift::SILPassManager::runModulePass(swift::SILModuleTransform*) + 1355
15 swift 0x0000000106f1f5a3 swift::SILPassManager::runOneIteration() + 1043
16 swift 0x00000001067de40b swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 187
17 swift 0x0000000106f27a36 swift::runSILDiagnosticPasses(swift::SILModule&) + 166
18 swift 0x000000010669b841 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 10193
19 swift 0x0000000106698143 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3315
20 swift 0x0000000106658e30 main + 3360
21 libdyld.dylib 0x00007fff79b55145 start + 1
The text was updated successfully, but these errors were encountered: