Skip to content

Thread hang risk #1104

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

Open
mokagio opened this issue Aug 10, 2023 · 0 comments
Open

Thread hang risk #1104

mokagio opened this issue Aug 10, 2023 · 0 comments
Labels
bug Something isn't working. [Type] Bug

Comments

@mokagio
Copy link
Contributor

mokagio commented Aug 10, 2023

I bumped into this while running 2.19 #1103 from Xcode.

image
Thread Performance Checker: Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions
PID: 18748, TID: 7522316
Backtrace
=================================================================
3   Simperium_OSX                       0x00000001037c5dd4 -[_SPRRunLoopThread runLoop] + 44
4   Simperium_OSX                       0x00000001037c5b18 __45+[NSRunLoop(SPRWebSocket) SPR_networkRunLoop]_block_invoke + 124
5   libdispatch.dylib                   0x00000001033d699c _dispatch_client_callout + 20
6   libdispatch.dylib                   0x00000001033d88bc _dispatch_once_callout + 160
7   Simperium_OSX                       0x00000001037c5a74 +[NSRunLoop(SPRWebSocket) SPR_networkRunLoop] + 88
8   Simperium_OSX                       0x00000001037bf544 -[SPRWebSocket openConnection] + 76
9   Simperium_OSX                       0x00000001037be250 -[SPRWebSocket open] + 240
10  Simperium_OSX                       0x00000001037c9904 -[SPWebSocket open] + 76
11  Simperium_OSX                       0x00000001037d3e08 -[SPWebSocketInterface openWebSocket] + 672
12  Simperium_OSX                       0x00000001037d3f50 -[SPWebSocketInterface start:] + 268
13  Simperium_OSX                       0x0000000103776eac -[Simperium startNetworkManagers] + 992
14  Simperium_OSX                       0x000000010377b1a0 -[Simperium authenticationDidSucceedForUsername:token:] + 72
15  Simperium_OSX                       0x0000000103785c28 -[SPAuthenticator authenticateIfNecessary] + 1960
16  Simperium_OSX                       0x000000010377b580 -[Simperium authenticateIfNecessary] + 260
17  Simperium_OSX                       0x0000000103778670 -[Simperium startWithAppID:APIKey:] + 592
18  Simperium_OSX                       0x0000000103778294 -[Simperium authenticateWithAppID:APIKey:window:] + 304
19  Simplenote                          0x0000000102a812fc -[SimplenoteAppDelegate applicationWillFinishLaunching:] + 364
20  CoreFoundation                      0x0000000183f1b180 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
21  CoreFoundation                      0x0000000183fb6eec ___CFXRegistrationPost_block_invoke + 88
22  CoreFoundation                      0x0000000183fb6e34 _CFXRegistrationPost + 440
23  CoreFoundation                      0x0000000183eec4cc _CFXNotificationPost + 704
24  Foundation                          0x0000000184e4a8f4 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
25  AppKit                              0x0000000187139584 -[NSApplication finishLaunching] + 248
26  AppKit                              0x0000000187139270 -[NSApplication run] + 252
27  AppKit                              0x0000000187110794 NSApplicationMain + 880
28  Simplenote                          0x0000000102a81040 main + 36
29  dyld                                0x0000000183aeff28 start + 2236
@mokagio mokagio added bug Something isn't working. [Type] Bug labels Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. [Type] Bug
Projects
None yet
Development

No branches or pull requests

1 participant