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

RelayClient.publish(topic:payload:tag:prompt:ttl:) - app crash #1413

Open
alexanderkhitev opened this issue Sep 4, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@alexanderkhitev
Copy link

Describe the bug
We experienced an app crash linked to the Wallet Connect SDK, specifically on the com.walletconnect.sdk.relay_client
thread.

SDK Version

  • Client: Swift 5.9, iOS 17.6.1
  • Version 1.9.4

To Reproduce
Steps to reproduce the behavior:

          Crashed: com.walletconnect.sdk.relay_client
0  libswift_Concurrency.dylib     0x54564 swift_continuation_throwingResumeWithErrorImpl(swift::AsyncTask*, swift::SwiftError*) + 244
1  App                        0x7db5c0 closure #3 in closure #1 in RelayClient.publish(topic:payload:tag:prompt:ttl:) + 134 (RelayClient.swift:134)
2  Combine                        0x44fec Subscribers.Sink.receive(completion:) + 448
3  Combine                        0x44e20 protocol witness for Subscriber.receive(completion:) in conformance Subscribers.Sink<A, B> + 24
4  Combine                        0xfd098 Publishers.Timeout.Inner.timedOut() + 1000
5  libswiftDispatch.dylib         0x2c84 thunk for @escaping @callee_guaranteed () -> () + 36
6  libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
7  libdispatch.dylib              0x72d8 _dispatch_continuation_pop + 600
8  libdispatch.dylib              0x1b1c8 _dispatch_source_latch_and_call + 420
9  libdispatch.dylib              0x19d8c _dispatch_source_invoke + 832
10 libdispatch.dylib              0x7150 _dispatch_continuation_pop + 208
11 libdispatch.dylib              0x68f4 _dispatch_async_redirect_invoke + 584
12 libdispatch.dylib              0x15894 _dispatch_root_queue_drain + 392
13 libdispatch.dylib              0x1609c _dispatch_worker_thread2 + 156
14 libsystem_pthread.dylib        0x48f8 _pthread_wqthread + 228
15 libsystem_pthread.dylib        0x10cc start_wqthread + 8

Expected behavior
The app should not crash under these conditions.

Screenshots
Screenshot 2024-09-04 at 11 57 01 AM

@alexanderkhitev alexanderkhitev added the bug Something isn't working label Sep 4, 2024
@llbartekll llbartekll self-assigned this Sep 4, 2024
@llbartekll
Copy link
Contributor

hey @alexanderkhitev would you like to migrate to reown-swift and check if you are still experiencing this issue?

@alexanderkhitev
Copy link
Author

hey @alexanderkhitev would you like to migrate to reown-swift and check if you are still experiencing this issue?

Hey @llbartekll ! I'll have a look on this soon, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants