-
Notifications
You must be signed in to change notification settings - Fork 222
Open
Labels
apiIssues related to the API categoryIssues related to the API categorybugSomething isn't workingSomething isn't workingdatastoreIssues related to the DataStore categoryIssues related to the DataStore category
Description
Describe the bug
Our production users are getting crash in AppSyncRealTimeClient.monitorHeartBeats(_:) + 428
Below is the crash log
Crashed: com.apple.root.default-qos
0 libswiftCore.dylib 0x4065b4 swift_isUniquelyReferenced_nonNull_native + 38
1 Combine 0x23d70 AnyCancellable.store(in:) + 48
2 Evie Ring 0x13e4024 closure #1 in AppSyncRealTimeClient.monitorHeartBeats(_:) + 428 (AppSyncRealTimeClient.swift:428)
3 Evie Ring 0x13e5998 partial apply for thunk for @escaping @callee_guaranteed () -> () + 4355873176 (<compiler-generated>:4355873176)
4 Combine 0xaecc Subscribers.Sink.receive(_:) + 92
5 Combine 0xae60 protocol witness for Subscriber.receive(_:) in conformance Subscribers.Sink<A, B> + 24
6 Combine 0x3322c ReduceProducer.receive(_:) + 2312
7 Combine 0x1a304 protocol witness for Subscriber.receive(_:) in conformance ReduceProducer<A, B, C, D, E> + 24
8 Combine 0x651bc closure #1 in Publishers.Debounce.Inner.receive(_:) + 2780
9 libswiftDispatch.dylib 0x2c84 thunk for @escaping @callee_guaranteed () -> () + 36
10 libdispatch.dylib 0x3dd4 _dispatch_client_callout + 20
11 libdispatch.dylib 0x72d8 _dispatch_continuation_pop + 600
12 libdispatch.dylib 0x1b1c8 _dispatch_source_latch_and_call + 420
13 libdispatch.dylib 0x19d8c _dispatch_source_invoke + 832
14 libdispatch.dylib 0x15894 _dispatch_root_queue_drain + 392
15 libdispatch.dylib 0x1609c _dispatch_worker_thread2 + 156
16 libsystem_pthread.dylib 0x48f8 _pthread_wqthread + 228
17 libsystem_pthread.dylib 0x10cc start_wqthread + 8
Steps To Reproduce
-
Expected behavior
It should not crash
Amplify Framework Version
2.33.6
Amplify Categories
API, DataStore
Dependency manager
Swift PM
Swift version
5.9.2
CLI version
12.11.1
Xcode version
15.0
Relevant log output
No response
Is this a regression?
Yes
Regression additional context
No response
Platforms
iOS
OS Version
iOS 17.5.1
Device
iPhone 13 :Pro
Specific to simulators
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
apiIssues related to the API categoryIssues related to the API categorybugSomething isn't workingSomething isn't workingdatastoreIssues related to the DataStore categoryIssues related to the DataStore category