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
swift-ci opened this issue
Nov 20, 2018
· 1 comment
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
This compiles fine. But when I add a type constraint to T (Syncable), Xcode crashes. The crash is reproducible. Sorry I couldn’t get the crashtrace to paste here without losing line breaks. Here is the very top of the crashtrace (the full crash log is attached):
0 swift 0x000000010c2344b6 swift::irgen::CallEmission::emitCallSite() + 102
1 swift 0x000000010c23701c swift::irgen::CallEmission::emitToExplosion(swift::irgen::Explosion&, bool) + 940
2 swift 0x000000010c3c15cc (anonymous namespace)::IRGenSILFunction::visitFullApplySite(swift::FullApplySite) + 2940
3 swift 0x000000010c39fdd1 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 9825
4 swift 0x000000010c282c90 swift::irgen::IRGenerator::emitLazyDefinitions() + 1472
5 swift 0x000000010c3804ca performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl*, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::LLVMContext&, swift::SourceFile*, llvm::GlobalVariable**, unsigned int) + 1562
6 swift 0x000000010c1c0a10 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 46928
A reduction (an Xcode project) that demonstrates the issue is attached.
The text was updated successfully, but these errors were encountered:
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Attachment: Download
Environment
Xcode 10.0 on macOS 10.14.1
Additional Detail from JIRA
md5: 3b26e3f6b69fd1ce6c6fd4b2981b9952
Issue Description:
I have this class:
This compiles fine. But when I add a type constraint to T (Syncable), Xcode crashes. The crash is reproducible. Sorry I couldn’t get the crashtrace to paste here without losing line breaks. Here is the very top of the crashtrace (the full crash log is attached):
A reduction (an Xcode project) that demonstrates the issue is attached.
The text was updated successfully, but these errors were encountered: