Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : Abort Trap: 6 #349

Open
nonfungibletunji opened this issue Nov 17, 2018 · 3 comments
Open

Error : Abort Trap: 6 #349

nonfungibletunji opened this issue Nov 17, 2018 · 3 comments

Comments

@nonfungibletunji
Copy link

When attempting to build the PointFree package , with the target of my computer. per instructions , I get the following build error:

Assertion failed: (stored.TheOffset.isStatic() && "resilient class metadata layout unsupported!"), function getStaticMethodOffset, file /Users/buildnode/jenkins/workspace/oss-swift-4.2-package-osx/swift/lib/IRGen/MetadataLayout.cpp, line 407.
0 swift 0x000000010734a638 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 40
1 swift 0x0000000107349877 llvm::sys::RunSignalHandlers() + 39
2 swift 0x000000010734acb2 SignalHandler(int) + 258
3 libsystem_platform.dylib 0x00007fff728aab3d _sigtramp + 29
4 swift 0x00000001086f0488 cmark_strbuf__initbuf + 127459
5 libsystem_c.dylib 0x00007fff727691c9 abort + 127
6 libsystem_c.dylib 0x00007fff72731868 basename_r + 0
7 swift 0x0000000103cf86e9 swift::irgen::ClassMetadataLayout::getStaticMethodOffset(swift::SILDeclRef) const + 153
8 swift 0x0000000103c32528 emitKeyPathComponent(swift::irgen::IRGenModule&, swift::irgen::ConstantStructBuilder&, swift::KeyPathPatternComponent const&, bool, swift::GenericEnvironment*, llvm::ArrayRefswift::irgen::GenericRequirement, swift::CanType, llvm::ArrayRef, bool) + 2136
9 swift 0x0000000103c317d9 swift::irgen::IRGenModule::getAddrOfKeyPathPattern(swift::KeyPathPattern*, swift::SILLocation) + 1849
10 swift 0x0000000103cc8cfa swift::SILInstructionVisitor<(anonymous namespace)::IRGenSILFunction, void>::visit(swift::SILInstruction*) + 18154
11 swift 0x0000000103cc0916 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 8070
12 swift 0x0000000103bd105b swift::irgen::IRGenerator::emitLazyDefinitions() + 1051
13 swift 0x0000000103c9bf96 performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl*, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::LLVMContext&, swift::SourceFile*, llvm::GlobalVariable**, unsigned int) + 1382
14 swift 0x0000000103c9c4de swift::performIRGeneration(swift::IRGenOptions&, swift::SourceFile&, std::__1::unique_ptr<swift::SILModule, std::__1::default_deleteswift::SILModule >, llvm::StringRef, swift::PrimarySpecificPaths const&, llvm::LLVMContext&, unsigned int, llvm::GlobalVariable**) + 94
15 swift 0x0000000103b342c0 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*, swift::UnifiedStatsReporter*) + 15536
16 swift 0x0000000103b2f5f2 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2946
17 swift 0x0000000103ae9f9e main + 1134
18 libdyld.dylib 0x00007fff726c108d start + 1

@nonfungibletunji
Copy link
Author

any suggestions? or fix available

@stephencelis
Copy link
Member

Hey, sorry about that! Looks like you're hitting a compiler crash, which would be useful to share with the Swift core team. Can you give us more information about your build environment and how you set it up? All details would be helpful. From the trace it looks like you're using a Jenkins workspace rather than a typical macOS Developer environment.

And more specifically:

OS and Version:
Swift Version (toolchain if applicable):
Xcode Version (if applicable):
Command or description of how you are building the package:

@nonfungibletunji
Copy link
Author

nonfungibletunji commented Nov 26, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants