Skip to content
This repository has been archived by the owner on Jan 5, 2020. It is now read-only.

Segmentation fault: 11 when archiving app for release #5

Closed
tthbalazs opened this issue Sep 28, 2016 · 3 comments
Closed

Segmentation fault: 11 when archiving app for release #5

tthbalazs opened this issue Sep 28, 2016 · 3 comments

Comments

@tthbalazs
Copy link

tthbalazs commented Sep 28, 2016

The offending file is UIButton+Mixed.swift

0  swift                    0x000000010d3ffb6d PrintStackTraceSignalHandler(void*) + 45
1  swift                    0x000000010d3ff5b6 SignalHandler(int) + 470
2  libsystem_platform.dylib 0x00007fff9fc5852a _sigtramp + 26
3  libsystem_platform.dylib 000000000000000000 _sigtramp + 1614445296
4  swift                    0x000000010a99f472 (anonymous namespace)::GlobalNumberState::getNumber(llvm::GlobalValue*) + 82
5  swift                    0x000000010a99e3be (anonymous namespace)::FunctionComparator::cmpConstants(llvm::Constant const*, llvm::Constant const*) const + 622
6  swift                    0x000000010a99c497 (anonymous namespace)::SwiftMergeFunctions::FunctionNodeCmp::operator()((anonymous namespace)::SwiftMergeFunctions::EquivalenceClass const&, (anonymous namespace)::SwiftMergeFunctions::EquivalenceClass const&) const + 5447
7  swift                    0x000000010a997026 (anonymous namespace)::SwiftMergeFunctions::runOnModule(llvm::Module&) + 3158
8  swift                    0x000000010d24aada llvm::legacy::PassManager::run(llvm::Module&) + 890
9  swift                    0x000000010a94a3f1 performLLVM(swift::IRGenOptions&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef) + 6145
10 swift                    0x000000010a9484b2 performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl*, swift::SILModule*, llvm::StringRef, llvm::LLVMContext&, swift::SourceFile*, unsigned int) + 2514
11 swift                    0x000000010a8161c7 performCompile(swift::CompilerInstance&, swift::CompilerInvocation&, llvm::ArrayRef<char const*>, int&, swift::FrontendObserver*) + 23687
12 swift                    0x000000010a80e265 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 17029
13 swift                    0x000000010a7cb82d main + 8685
14 libdyld.dylib            0x00007fff8e3745ad start + 1
15 libdyld.dylib            0x0000000000000068 start + 1908980412

It runs great on device (but I am currently not using the UIButton extension), I just cannot archive the project.

@ArturGasparyan
Copy link

I also have issues archiving the app and assume it has something to do with NightNight. I'm on the swift3.0 branch... any updates on this?

@ArturGasparyan
Copy link

This is producing a warning (not an error), but it fails to archive:

NNMutableAttributedString.swift:81:31: warning: expression of type 'MixedColor?' is unused mixedAttrs[name]?.removeValue(forKey: range)

@draveness
Copy link
Owner

draveness commented Jan 24, 2017

close by 0677862

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

No branches or pull requests

3 participants