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 4, 2020
· 2 comments
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfIRGenLLVM IR generation
Can you try building with a recent toolchain snapshot from https://swift.org/download/#snapshots? If this trips up an assert, it may help in narrowing down the issue. If you can privately share the project, you can also send a bug report through feedbackassistant.apple.com and attach your project.
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfIRGenLLVM IR generation
Attachment: Download
Additional Detail from JIRA
md5: d1f0f1f5bb562e371bab440e1bc19cdd
Issue Description:
when run Swift unit test,I encountered an error,This problem only appears when running unit tests,No clue how to solve the problem。
1. Apple Swift version 5.2.4 (swiftlang-1103.0.32.9 clang-1103.0.32.53)
2. While emitting ObjC metadata for 'LiveEngineService' (in module 'TutorEngineWrapper')
0 swift 0x00000001106bd4ea PrintStackTraceSignalHandler(void*) + 42
1 swift 0x00000001106bccc0 SignalHandler(int) + 352
2 libsystem_platform.dylib 0x00007fff732655fd _sigtramp + 29
3 libsystem_platform.dylib 0x000000000000004c _sigtramp + 2363075180
4 swift 0x000000010c4e216b swift::irgen::emitObjCProtocolData(swift::irgen::IRGenModule&, swift::ProtocolDecl*) + 971
5 swift 0x000000010c5b9223 swift::irgen::IRGenModule::emitLazyObjCProtocolDefinitions() + 115
6 swift 0x000000010c640615 swift::irgen::IRGenModule::finalize() + 405
7 swift 0x000000010c620e6d swift::performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl*, std::_1::unique_ptr<swift::SILModule, std::1::default_delete<swift::SILModule> >, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::LLVMContext&, llvm::ArrayRef<std::1::basic_string<char, std::1::char_traits<char>, std::_1::allocator<char> > >, llvm::GlobalVariable**) + 5005
8 swift 0x000000010c4199e1 performCompileStepsPostSILGen(swift::CompilerInstance&, swift::CompilerInvocation&, std::_1::unique_ptr<swift::SILModule, std::_1::default_delete<swift::SILModule> >, bool, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, bool, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 4129
9 swift 0x000000010c410b95 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 55813
10 swift 0x000000010c386b73 main + 1283
11 libdyld.dylib 0x00007fff7306ccc9 start + 1
12 libdyld.dylib 0x00000000000001ab start + 2365142243
error: Illegal instruction: 4 (in target 'TutorTeacherLive-Unit-Tests' from project 'Pods')
The text was updated successfully, but these errors were encountered: