adsense728x90


xcode 6 beta 3 compiler swift extension bug iOS



xcode 6 beta 3에서 extension에 calculated var (property)를 작성했더니, swift compiler가 seg fault로 죽는다. -0-

0  swift                    0x000000010432fde8 llvm::sys::PrintStackTrace(__sFILE*) + 40

1  swift                    0x00000001043302d4 SignalHandler(int) + 452

2  libsystem_platform.dylib 0x00007fff97b285aa _sigtramp + 26

3  libsystem_platform.dylib 0x0000000000000008 _sigtramp + 1749908088

4  swift                    0x0000000103703de2 swift::irgen::emitVirtualMethodValue(swift::irgen::IRGenFunction&, llvm::Value*, swift::SILType, swift::SILDeclRef, swift::CanTypeWrapper<swift::SILFunctionType>, swift::ResilienceExpansion) + 434

5  swift                    0x000000010377048d swift::SILVisitor<(anonymous namespace)::IRGenSILFunction, void>::visit(swift::ValueBase*) + 46205

6  swift                    0x0000000103764800 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 8896

7  swift                    0x00000001036e5d18 swift::irgen::IRGenModule::emitGlobalTopLevel() + 200

8  swift                    0x0000000103751575 performIRGeneration(swift::IRGenOptions&, swift::Module*, swift::SILModule*, llvm::StringRef, llvm::LLVMContext&, swift::SourceFile*, unsigned int) + 1829

9  swift                    0x0000000103751f23 swift::performIRGeneration(swift::IRGenOptions&, swift::SourceFile&, swift::SILModule*, llvm::StringRef, llvm::LLVMContext&, unsigned int) + 51

10 swift                    0x00000001036c3b8e frontend_main(llvm::ArrayRef<char const*>, char const*, void*) + 4958

11 swift                    0x00000001036c281d main + 1533

12 libdyld.dylib            0x00007fff972575fd start + 1

Stack dump:


<unknown>:0: error: unable to execute command: Segmentation fault: 11

<unknown>:0: error: swift frontend command failed due to signal (use -v to see invocation)


전에도 optional 물음표를 어딘가 썼더니 죽던뎅.

근데, 안 죽을 때도 있는 것 같네 -0- 잘 모르겠다. 


덧글

댓글 입력 영역