WalletConnect / WalletConnectSwiftV2

WalletConnect Swift SDK v2
https://docs.walletconnect.com
Apache License 2.0
368 stars 181 forks source link

Dispatcher.handleFallbackIfNeeded(error:) App Crash #1299

Open alexanderkhitev opened 8 months ago

alexanderkhitev commented 8 months ago

Describe the bug A clear and concise description of what the bug is.

SDK Version

Hello! I noticed an app crash in Firebase Crashlytics. It shows these logs

Crashed: com.walletconnect.sdk.dispatcher
0  CoreFoundation                 0x6bd4 <redacted> + 76
1  CoreFoundation                 0xca54 CFRelease + 60
2  CFNetwork                      0x1f984 _CFNetworkSetHSTSStoragePath + 95940
3  CFNetwork                      0x21111c _CFHTTPServerResponseEnqueue + 56304
4  CoreFoundation                 0xc0a0 <redacted> + 292
5  CFNetwork                      0x36c4 CFURLRequestSetURL + 348
6  Foundation                     0x429278 <redacted> + 268
7  Foundation                     0x429730 $s10Foundation10URLRequestV3urlAA3URLVSgvs + 52
8  App                        0x3f03a8 Dispatcher.handleFallbackIfNeeded(error:) + 143 (Dispatching.swift:143)
9  App                        0x3eff70 closure #3 in Dispatcher.protectedSend(_:completion:) + 85 (Dispatching.swift:85)
10 Combine                        0x376d8 Subscribers.Sink.receive(completion:) + 448
11 Combine                        0x3750c protocol witness for Subscriber.receive(completion:) in conformance Subscribers.Sink<A, B> + 24
12 Combine                        0xf4a2c Publishers.Timeout.Inner.timedOut() + 984
13 libswiftDispatch.dylib         0xe5d8 thunk for @escaping @callee_guaranteed () -> () + 36
14 libdispatch.dylib              0x4300 <redacted> + 20
15 libdispatch.dylib              0x77b8 <redacted> + 600
16 libdispatch.dylib              0x1b5c0 <redacted> + 420
17 libdispatch.dylib              0x1a190 <redacted> + 832
18 libdispatch.dylib              0x7630 <redacted> + 208
19 libdispatch.dylib              0x6dd4 <redacted> + 584
20 libdispatch.dylib              0x15be4 <redacted> + 392
21 libdispatch.dylib              0x163ec <redacted> + 156
22 libsystem_pthread.dylib        0x1928 _pthread_wqthread + 228
23 libsystem_pthread.dylib        0x1a04 start_wqthread + 8

At present, our app is experiencing infrequent crashes.

alexanderkhitev commented 7 months ago

Hello the Wallet Connect team! Any news/updates?