{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/FBRetainCycleDetector/issues/35","repository_url":"https://api.github.com/repos/facebook/FBRetainCycleDetector","labels_url":"https://api.github.com/repos/facebook/FBRetainCycleDetector/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/facebook/FBRetainCycleDetector/issues/35/comments","events_url":"https://api.github.com/repos/facebook/FBRetainCycleDetector/issues/35/events","html_url":"https://github.com/facebook/FBRetainCycleDetector/issues/35","id":252594372,"number":35,"title":"\"Segmentation fault: 11\" during a compilation or \"The LLDB RPC server has crashed\" during a runtime","user":{"login":"devcatch","id":7778202,"avatar_url":"https://avatars0.githubusercontent.com/u/7778202?v=4","gravatar_id":"","url":"https://api.github.com/users/devcatch","html_url":"https://github.com/devcatch","followers_url":"https://api.github.com/users/devcatch/followers","following_url":"https://api.github.com/users/devcatch/following{/other_user}","gists_url":"https://api.github.com/users/devcatch/gists{/gist_id}","starred_url":"https://api.github.com/users/devcatch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devcatch/subscriptions","organizations_url":"https://api.github.com/users/devcatch/orgs","repos_url":"https://api.github.com/users/devcatch/repos","events_url":"https://api.github.com/users/devcatch/events{/privacy}","received_events_url":"https://api.github.com/users/devcatch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-24T13:02:57Z","updated_at":"2017-08-24T13:02:57Z","closed_at":null,"body":"I have installed FBRetainCycleDetector by cocoapods.\r\nI successfully created FBRetainCycleDetector and added candidates.\r\n\r\nWhen I try to call findRetainCycles by LLDB I get next \r\n\"The LLDB RPC server has crashed\"\r\n`\r\nThread 0 Crashed:: Dispatch queue: com.apple.main-thread\r\n0   com.XXXX-gmbh.XXXX        \t0x00000001024e0edb _TFC6XXX23XXXX14viewWillAppearfSbT_ + 363 (AnalyticsServiceInterface.swift:137)\r\n1   com.XXXX-gmbh.XXXX        \t0x00000001024e0f06 _TToFC6XXXX23XXXX14viewWillAppearfSbT_ + 38\r\n2   com.apple.UIKit               \t0x000000010586a2bd -[UIViewController _setViewAppearState:isAnimating:] + 710\r\n3   com.apple.UIKit               \t0x000000010586a958 -[UIViewController __viewWillAppear:] + 149\r\n4   com.apple.UIKit               \t0x00000001058a9c83 -[UINavigationController _startTransition:fromViewController:toViewController:] + 781\r\n5   com.apple.UIKit               \t0x00000001058aac4d -[UINavigationController _startDeferredTransitionIfNeeded:] + 890\r\n6   com.apple.UIKit               \t0x00000001058abd0b -[UINavigationController __viewWillLayoutSubviews] + 57\r\n7   com.apple.UIKit               \t0x0000000105a5a503 -[UILayoutContainerView layoutSubviews] + 248\r\n8   com.apple.UIKit               \t0x0000000105784980 -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 703\r\n9   com.apple.QuartzCore          \t0x00000001053d4c00 -[CALayer layoutSublayers] + 146\r\n10  com.apple.QuartzCore          \t0x00000001053c908e CA::Layer::layout_if_needed(CA::Transaction*) + 366\r\n11  com.apple.QuartzCore          \t0x00000001053c8f0c CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 24\r\n12  com.apple.QuartzCore          \t0x00000001053bd3c9 CA::Context::commit_transaction(CA::Transaction*) + 277\r\n13  com.apple.QuartzCore          \t0x00000001053eb086 CA::Transaction::commit() + 486\r\n14  com.apple.QuartzCore          \t0x00000001053eb7f8 CA::Transaction::observer_callback(__CFRunLoopObserver*, unsigned long, void*) + 92\r\n15  com.apple.CoreFoundation      \t0x0000000107d37c37 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23\r\n16  com.apple.CoreFoundation      \t0x0000000107d37ba7 __CFRunLoopDoObservers + 391\r\n17  com.apple.CoreFoundation      \t0x0000000107d2d7fb __CFRunLoopRun + 1147\r\n18  com.apple.CoreFoundation      \t0x0000000107d2d0f8 CFRunLoopRunSpecific + 488\r\n19  com.apple.GraphicsServices    \t0x000000010bd90ad2 GSEventRunModal + 161\r\n20  com.apple.UIKit               \t0x00000001056c9f09 UIApplicationMain + 171\r\n21  com.xxxx-gmbh.xxxx        \t0x00000001024851e0 main + 48 (AppDelegate.swift:17)\r\n22  libdyld.dylib                 \t0x00000001094c592d start + 1`\r\n\r\nWhen I try add a next code:\r\nlet cycles = detector.findRetainCycles()\r\nprint(cycles)\r\nI get \"Segmentation fault: 11\" during compilation.\r\n\r\n`0  swift                    0x000000010aaaa4f7 PrintStackTraceSignalHandler(void*) + 39\r\n1  swift                    0x000000010aaa99a6 SignalHandler(int) + 646\r\n2  libsystem_platform.dylib 0x00007fffe361fb3a _sigtramp + 26\r\n3  libsystem_platform.dylib 0x00007fff583a8be8 _sigtramp + 1960349896\r\n4  swift                    0x0000000107909c76 swift::irgen::emitArchetypeWitnessTableRef(swift::irgen::IRGenFunction&, swift::CanTypeWrapper<swift::ArchetypeType>, swift::ProtocolDecl*) + 246\r\n5  swift                    0x00000001079f9686 swift::irgen::emitWitnessTableRef(swift::irgen::IRGenFunction&, swift::CanType, llvm::Value**, swift::ProtocolConformanceRef) + 102\r\n6  swift                    0x00000001079f9da0 void llvm::function_ref<void (swift::irgen::GenericRequirement)>::callback_fn<(anonymous namespace)::EmitPolymorphicArguments::emit(swift::CanTypeWrapper<swift::SILFunctionType>, llvm::ArrayRef<swift::Substitution>, swift::irgen::WitnessMetadata*, swift::irgen::Explosion&)::$_14>(long, swift::irgen::GenericRequirement) + 544\r\n7  swift                    0x00000001079f7ce2 void llvm::function_ref<void (swift::irgen::GenericRequirement)>::callback_fn<(anonymous namespace)::PolymorphicConvention::enumerateUnfulfilledRequirements(llvm::function_ref<void (swift::irgen::GenericRequirement)> const&)::$_7>(long, swift::irgen::GenericRequirement) + 162\r\n8  swift                    0x00000001079ef32d (anonymous namespace)::PolymorphicConvention::enumerateRequirements(llvm::function_ref<void (swift::irgen::GenericRequirement)> const&) + 253\r\n9  swift                    0x00000001079f98bf swift::irgen::emitPolymorphicArguments(swift::irgen::IRGenFunction&, swift::CanTypeWrapper<swift::SILFunctionType>, swift::CanTypeWrapper<swift::SILFunctionType>, llvm::ArrayRef<swift::Substitution>, swift::irgen::WitnessMetadata*, swift::irgen::Explosion&) + 431\r\n10 swift                    0x0000000107a5dee5 (anonymous namespace)::IRGenSILFunction::visitFullApplySite(swift::FullApplySite) + 2453\r\n11 swift                    0x0000000107a459ca swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 9626\r\n12 swift                    0x000000010795d691 swift::irgen::IRGenerator::emitGlobalTopLevel() + 1041\r\n13 swift                    0x0000000107a2c45f performIRGeneration(swift::IRGenOptions&, swift::ModuleDecl*, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule> >, llvm::StringRef, llvm::LLVMContext&, swift::SourceFile*, llvm::GlobalVariable**, unsigned int) + 1695\r\n14 swift                    0x00000001078ca747 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 51031\r\n15 swift                    0x0000000107877d6c main + 9052\r\n16 libdyld.dylib            0x00007fffe3410235 start + 1`\r\n\r\nDid I do something wrong?"}}
{"actor":{"display_login":"devcatch"}}