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

Xcode 11.4.1, Swift 5.2.2 Abort trap: 6 points to Shallows #16

Closed
jbmaxwell opened this issue May 8, 2020 · 1 comment
Closed

Xcode 11.4.1, Swift 5.2.2 Abort trap: 6 points to Shallows #16

jbmaxwell opened this issue May 8, 2020 · 1 comment

Comments

@jbmaxwell
Copy link

jbmaxwell commented May 8, 2020

I'm hitting an Abort trap: 6 while trying to build my project and Shallows appears to be involved:

1.	Apple Swift version 5.2.2 (swiftlang-1103.0.32.6 clang-1103.0.32.51)
2.	While running pass #340 SILModuleTransform "MandatorySILLinker".
3.	While deserializing SIL function "$s8Shallows15StorageProtocolPAAE02asB0AA0B0Vy3KeyQz5ValueQzGyF"
0  swift                    0x00000001109e24ea PrintStackTraceSignalHandler(void*) + 42
1  swift                    0x00000001109e1cc0 SignalHandler(int) + 352
2  libsystem_platform.dylib 0x00007fff6f90842d _sigtramp + 29
3  libsystem_platform.dylib 0x00007ffbf001d1b0 _sigtramp + 2154909088
4  libsystem_c.dylib        0x00007fff6f7dda1c abort + 120
5  swift                    0x000000010d412470 std::__1::__vector_base<swift::Diagnostic, std::__1::allocator<swift::Diagnostic> >::clear() (.16933) + 0
6  swift                    0x000000010d420e40 swift::DeclDeserializer::deserializeAnyFunc(llvm::ArrayRef<unsigned long long>, llvm::StringRef, bool) + 0
7  swift                    0x000000010d43ed82 swift::SILDeserializer::readSILFunctionChecked(llvm::PointerEmbeddedInt<unsigned int, 31>, swift::SILFunction*, llvm::StringRef, bool, bool) + 11202
8  swift                    0x000000010d45f277 swift::SILDeserializer::lookupSILFunction(swift::SILFunction*, bool) + 679
9  swift                    0x000000010d0799cd swift::SILLinkerVisitor::maybeAddFunctionToWorklist(swift::SILFunction*) + 253
10 swift                    0x000000010d079c54 swift::SILLinkerVisitor::processFunction(swift::SILFunction*) + 244
11 swift                    0x000000010cf4cb10 (anonymous namespace)::SILLinker::run() + 304
12 swift                    0x000000010ce3e0d9 swift::SILPassManager::execute() + 2329
13 swift                    0x000000010ce43408 swift::runSILDiagnosticPasses(swift::SILModule&) + 2264
14 swift                    0x000000010ca40a02 swift::CompilerInstance::performSILProcessing(swift::SILModule*, swift::UnifiedStatsReporter*) + 66
15 swift                    0x000000010c73e450 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*) + 1712
16 swift                    0x000000010c73429a swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 48426
17 swift                    0x000000010c6abf53 main + 1283
18 libdyld.dylib            0x00007fff6f70f7fd start + 1
error: Abort trap: 6 (in target 'SpliqsTool' from project 'SpliqsTool')

Not sure whether this is Apple's issue or yours, but I thought I'd point it out.
The Shallows project, on its own, builds fine, so I'm not sure why linking to it in my project is an issue... Xcode... grrr...

@jbmaxwell
Copy link
Author

omg... rtfm... I've been using Shallows for ages and completely failed to read your updated README... SPM only. Apologies.

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

1 participant