Closed amruth-movano closed 1 month ago
@5d @lawmicha Can you please check this on priority
Similar to what I mentioned in #3834 , would you be able to share more details around how we will be able to reproduce this crash in a local environment with symbolicated logs and verbose logs.
@harsh62 We are unable to reproduce this scenario using Xcode and the only stack trace which we have is I have already added
Hi @amruth-movano, can you try with the latest to reproduce and provide us with a full stack trace? see @5d's comment over here https://github.com/aws-amplify/amplify-swift/issues/3834/#issuecomment-2318322611
Hi @amruth-movano,
I've tried to subscribe/unsubscribe with 90 subscriptions several times to reproduce the issue. Unfortunately, I couldn't reproduce the issue.
var subscriptions = AtomicDictionary<String, Cancellable>()
Task {
for _ in 1...30 {
Task.detached {
subscriptions.set(
value: Amplify.API.subscribe(request: .subscription(to: Todo.self, subscriptionType: .onCreate)),
forKey: UUID().uuidString
)
}
Task.detached {
subscriptions.set(
value: Amplify.API.subscribe(request: .subscription(to: Todo.self, subscriptionType: .onUpdate)),
forKey: UUID().uuidString
)
}
Task.detached {
subscriptions.set(
value: Amplify.API.subscribe(request: .subscription(to: Todo.self, subscriptionType: .onDelete)),
forKey: UUID().uuidString
)
}
}
}
Would it be convenient for you to provide the complete crash symbol log from your side? Or if you have some confidential info inside the log, you can reach out to us with AWS support ticket.
This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
Prod users are facing crash in -
Steps To Reproduce
Expected behavior
App should not crash
Amplify Framework Version
2.33.6
Amplify Categories
API, Auth
Dependency manager
Swift PM
Swift version
5.9.2
CLI version
12.11.1
Xcode version
15.0
Relevant log output
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