Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save prachigauriar/b276bdf026606730b6d9b0b718f5c5ee to your computer and use it in GitHub Desktop.
Save prachigauriar/b276bdf026606730b6d9b0b718f5c5ee to your computer and use it in GitHub Desktop.
Backtrace with main thread hang on CFPREFERENCES_IS_WAITING_FOR_SYSTEM_CFPREFSD
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x0000000185297568 libsystem_kernel.dylib`mach_msg_trap + 8
frame #1: 0x00000001852973e0 libsystem_kernel.dylib`mach_msg + 72
frame #2: 0x0000000107482710 libdispatch.dylib`_dispatch_mach_send_and_wait_for_reply + 644
frame #3: 0x0000000107482bbc libdispatch.dylib`dispatch_mach_send_with_result_and_wait_for_reply + 56
frame #4: 0x0000000185407d7c libxpc.dylib`xpc_connection_send_message_with_reply_sync + 196
frame #5: 0x00000001857135a8 CoreFoundation`__78-[CFPrefsPlistSource sendRequestNewDataMessage:toConnection:retryCount:error:]_block_invoke + 24
frame #6: 0x0000000185741ed4 CoreFoundation`CFPREFERENCES_IS_WAITING_FOR_SYSTEM_CFPREFSD + 48
frame #7: 0x00000001857134ec CoreFoundation`-[CFPrefsPlistSource sendRequestNewDataMessage:toConnection:retryCount:error:] + 256
frame #8: 0x0000000185711640 CoreFoundation`-[CFPrefsPlistSource handleErrorReply:fromMessageSettingKey:toValue:retryCount:retryContinuation:] + 1040
frame #9: 0x0000000185712c2c CoreFoundation`-[CFPrefsPlistSource handleReply:toRequestNewDataMessage:onConnection:retryCount:error:] + 188
frame #10: 0x0000000185713514 CoreFoundation`-[CFPrefsPlistSource sendRequestNewDataMessage:toConnection:retryCount:error:] + 296
frame #11: 0x0000000185711640 CoreFoundation`-[CFPrefsPlistSource handleErrorReply:fromMessageSettingKey:toValue:retryCount:retryContinuation:] + 1040
frame #12: 0x0000000185712c2c CoreFoundation`-[CFPrefsPlistSource handleReply:toRequestNewDataMessage:onConnection:retryCount:error:] + 188
frame #13: 0x0000000185713514 CoreFoundation`-[CFPrefsPlistSource sendRequestNewDataMessage:toConnection:retryCount:error:] + 296
frame #14: 0x00000001857124e4 CoreFoundation`__50-[CFPrefsPlistSource alreadylocked_requestNewData]_block_invoke + 92
frame #15: 0x00000001857ea544 CoreFoundation`-[_CFXPreferences withConnectionForRole:performBlock:] + 48
frame #16: 0x0000000185712414 CoreFoundation`-[CFPrefsPlistSource alreadylocked_requestNewData] + 288
frame #17: 0x0000000185713ec8 CoreFoundation`-[CFPrefsPlistSource generationCount] + 572
frame #18: 0x0000000185741a34 CoreFoundation`-[CFPrefsSearchListSource handleReply:toRequestNewDataMessage:onConnection:retryCount:error:] + 132
frame #19: 0x00000001857424b8 CoreFoundation`__80-[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:]_block_invoke_3.143 + 80
frame #20: 0x00000001857ea544 CoreFoundation`-[_CFXPreferences withConnectionForRole:performBlock:] + 48
frame #21: 0x000000018574245c CoreFoundation`__80-[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:]_block_invoke_2.142 + 124
frame #22: 0x00000001853e8b54 libsystem_trace.dylib`_os_activity_initiate_impl + 60
frame #23: 0x00000001857423b4 CoreFoundation`__80-[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:]_block_invoke.140 + 124
frame #24: 0x0000000185741ed4 CoreFoundation`CFPREFERENCES_IS_WAITING_FOR_SYSTEM_CFPREFSD + 48
frame #25: 0x000000018574210c CoreFoundation`-[CFPrefsSearchListSource alreadylocked_generationCountFromListOfSources:count:] + 184
frame #26: 0x00000001857429c0 CoreFoundation`-[CFPrefsSearchListSource alreadylocked_copyDictionary] + 384
frame #27: 0x0000000185740c60 CoreFoundation`-[CFPrefsSearchListSource alreadylocked_copyValueForKey:] + 88
frame #28: 0x00000001857df224 CoreFoundation`-[CFPrefsSource copyValueForKey:] + 64
frame #29: 0x00000001857e92c0 CoreFoundation`__76-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:]_block_invoke + 40
frame #30: 0x00000001857444f0 CoreFoundation`__108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 268
frame #31: 0x0000000185743d0c CoreFoundation`normalizeQuintuplet + 356
frame #32: 0x00000001857443d8 CoreFoundation`-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 108
frame #33: 0x00000001857e9258 CoreFoundation`-[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 124
frame #34: 0x00000001857ebaf4 CoreFoundation`_CFPreferencesCopyAppValueWithContainer + 116
frame #35: 0x00000001860a1900 Foundation`-[NSUserDefaults(NSUserDefaults) objectForKey:] + 52
frame #36: 0x00000001030694a0 GrubHub`GKCache.browserIdV2.getter(self=0x00000001d4017ff0) at GKCache+GKClickstreamClientDataStorageProtocol.swift:64
frame #37: 0x00000001030692fc GrubHub`@objc GKCache.browserIdV2.getter at GKCache+GKClickstreamClientDataStorageProtocol.swift:0
frame #38: 0x000000010306a3c4 GrubHub`dynamic GKCache.browserIdV2.getter at GKCache+GKClickstreamClientDataStorageProtocol.swift:0
frame #39: 0x000000010306a34c GrubHub`protocol witness for GKClickstreamClientDataStorageProtocol.browserIdV2.getter in conformance GKCache at GKCache+GKClickstreamClientDataStorageProtocol.swift:0
frame #40: 0x000000010338a5b4 GrubHub`GKClickstreamClient.browserId.getter(self=0x0000000107cbae50) at GKClickstreamClient.swift:69
frame #41: 0x000000010338a2f4 GrubHub`@objc GKClickstreamClient.browserId.getter at GKClickstreamClient.swift:0
frame #42: 0x00000001060846c0 ClickstreamClient`CLSClickstreamManager.sendEvent(eventNamespace="clickstream", name="pageViewed", version=1, data=0x00000001d438a760, self=0x00000001d0201b90) at CLSClickstreamManager.swift:141
frame #43: 0x0000000106084530 ClickstreamClient`CLSClickstreamManager.sendEvent(eventNamespace=clickstream, name="pageViewed", version=1, data=0x00000001d438a760, self=0x00000001d0201b90) at CLSClickstreamManager.swift:125
frame #44: 0x0000000106080e3c ClickstreamClient`CLSClickstreamManager.sendPageViewed(pageViewed=0x00000001d438a760, incrementPageSequence=true, self=0x00000001d0201b90) at CLSClickstreamManager+CoreEvents.swift:56
frame #45: 0x0000000106080eb4 ClickstreamClient`@objc CLSClickstreamManager.sendPageViewed(_:incrementPageSequence:) at CLSClickstreamManager+CoreEvents.swift:0
frame #46: 0x000000010338727c GrubHub`GKClickstreamManager.sendPageViewedEvent(pageName="restaurants search results", screenSize=(origin = (x = 0, y = 0), size = (width = 375, height = 812)), optionalVars=nil, self=0x00000001d042b340) at GKClickstreamManager+CoreEvents.swift:154
frame #47: 0x00000001033876e4 GrubHub`@objc GKClickstreamManager.sendPageViewedEvent(pageName:screenSize:optionalVars:) at GKClickstreamManager+CoreEvents.swift:0
frame #48: 0x0000000102ef56b4 GrubHub`-[GKAnalyticsManager pushOpenScreenEvent:clearFields:completion:](self=0x00000001d404bb50, _cmd="pushOpenScreenEvent:clearFields:completion:", event=0x00000001c8448580, clearFields=0x0000000000000000, completion=(null)) at GKAnalyticsManager.m:422
frame #49: 0x0000000102f647c4 GrubHub`-[GKSearchResultsViewController(self=0x0000000108a06400, _cmd="sendOpenScreenAnalytics") sendOpenScreenAnalytics] at GKSearchResultsViewController+Analytics.m:55
frame #50: 0x0000000102f2a380 GrubHub`-[GKSearchResultsViewController viewDidBecomeVisible](self=0x0000000108a06400, _cmd="viewDidBecomeVisible") at GKSearchResultsViewController.m:254
frame #51: 0x0000000102f29700 GrubHub`-[GKSearchResultsViewController viewDidAppear:](self=0x0000000108a06400, _cmd="viewDidAppear:", animated=YES) at GKSearchResultsViewController.m:188
frame #52: 0x000000018eca0670 UIKit`-[UIViewController _setViewAppearState:isAnimating:] + 852
frame #53: 0x000000018eca0bdc UIKit`-[UIViewController _endAppearanceTransition:] + 228
frame #54: 0x000000018ed45e74 UIKit`-[UINavigationController navigationTransitionView:didEndTransition:fromView:toView:] + 1328
frame #55: 0x000000018ee0c8b0 UIKit`__49-[UINavigationController _startCustomTransition:]_block_invoke + 252
frame #56: 0x000000018ed98910 UIKit`-[_UIViewControllerTransitionContext completeTransition:] + 116
frame #57: 0x000000018eedcc98 UIKit`__53-[_UINavigationParallaxTransition animateTransition:]_block_invoke.124 + 752
frame #58: 0x000000018ecc0240 UIKit`-[UIViewAnimationBlockDelegate _didEndBlockAnimation:finished:context:] + 764
frame #59: 0x000000018ecbfbb4 UIKit`-[UIViewAnimationState sendDelegateAnimationDidStop:finished:] + 312
frame #60: 0x000000018ecbf8c0 UIKit`-[UIViewAnimationState animationDidStop:finished:] + 296
frame #61: 0x000000018ecbf960 UIKit`-[UIViewAnimationState animationDidStop:finished:] + 456
frame #62: 0x00000001897f8e14 QuartzCore`CA::Layer::run_animation_callbacks(void*) + 284
frame #63: 0x000000010746928c libdispatch.dylib`_dispatch_client_callout + 16
frame #64: 0x000000010746dea0 libdispatch.dylib`_dispatch_main_queue_callback_4CF + 1196
frame #65: 0x000000018574e544 CoreFoundation`__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
frame #66: 0x000000018574c120 CoreFoundation`__CFRunLoopRun + 2012
frame #67: 0x000000018566be58 CoreFoundation`CFRunLoopRunSpecific + 436
frame #68: 0x0000000187518f84 GraphicsServices`GSEventRunModal + 100
frame #69: 0x000000018eceb67c UIKit`UIApplicationMain + 236
frame #70: 0x0000000102fbf324 GrubHub`main(argc=4, argv=0x000000016d26b820) at main.m:14
frame #71: 0x000000018518856c libdyld.dylib`start + 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment