Skip to content
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

Thread running at QOS_CLASS_USER_INTERACTIVE waiting on a lower QoS thread running at QOS_CLASS_DEFAULT. Investigate ways to avoid priority inversions #1569

Closed
lighthouse-beacon-01 opened this issue Jan 12, 2023 · 3 comments

Comments

@lighthouse-beacon-01
Copy link

lighthouse-beacon-01 commented Jan 12, 2023

Which version of the Ably SDK are you using?

PODS:

  • Ably (1.2.1):
    • AblyDeltaCodec (= 1.2.0)
    • KSCrashAblyFork (= 1.15.20-ably-6)
    • msgpack (= 0.3.1)
    • SAMKeychain (= 1.5.3)
    • SocketRocketAblyFork (= 0.5.2-ably-7)
    • ULID (= 1.1.0)
  • AblyDeltaCodec (1.2.0)

On which platform does the issue happen?

iOS 13.1.3 to iOS 16.2

Are you using Carthage?

No

Are you using Cocoapods?

Yes, 1.11.3

Which version of Xcode are you using?

14.0.1 on M1 mac

What did you do?

I'm getting a Hang Risk warning on Xcode on one of the dependency pods for Ably regarding the usage of dispatch_group_wait primitive (https://developer.apple.com/documentation/xcode/diagnosing-performance-issues-early)
image
image

We've linked this to crashes that we've been experiencing since about 6 to 7 months ago with "C++ Exception: ARTException"

Does anyone have an idea of maybe what I might be doing wrong? or if this is a known issue?
I saw that the latest version of the SDK is 1.2.19 but I tried updating it to that and Cocoapods throws me an error saying that it can't be found

@sync-by-unito
Copy link

sync-by-unito bot commented Jan 12, 2023

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3235

@maratal
Copy link
Collaborator

maratal commented Mar 27, 2023

This was fixed in v1.2.18
Couldn't you post your Podfile here? (at least the line with the ably-cocoa) @lighthouse-beacon-01

@maratal
Copy link
Collaborator

maratal commented Apr 2, 2023

@lighthouse-beacon-01 you need to run one of these: pod repo update or pod install --repo-update

@maratal maratal closed this as completed Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants