alpha-wallet-ios icon indicating copy to clipboard operation
alpha-wallet-ios copied to clipboard

Crash while actionsheet is visible to approve Uniswap approve transaction (probably unrelated to the transaction) with WalletConnect

Open hboon opened this issue 2 years ago • 0 comments

Screenshot 2023-02-21 at 11 28 27 AM Screenshot 2023-02-21 at 11 28 45 AM

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: 8E6D1F57-7ED5-43F4-97E6-066E7D6E2B08
CrashReporter Key:   192F1E55-BEA3-C6C2-D63B-A7DD0728F6EA
Hardware Model:      MacBookPro18,2
Process:             AlphaWallet [42303]
Path:                /Users/USER/Library/Developer/CoreSimulator/Devices/81388865-6939-4D15-9A65-173857923DF0/data/Containers/Bundle/Application/20115676-35AA-4D51-9042-2BB1FCF45504/AlphaWallet.app/AlphaWallet
Identifier:          com.stormbird.alphawallet
Version:             3.62 (472)
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd_sim [3791]
Coalition:           com.apple.CoreSimulator.SimDevice.81388865-6939-4D15-9A65-173857923DF0 [1351]
Responsible Process: SimulatorTrampoline [1318]

Date/Time:           2023-02-21 11:26:53.6902 +0800
Launch Time:         2023-02-21 11:22:36.2060 +0800
OS Version:          macOS 13.2 (22D49)
Release Type:        User
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x000000010773afd0
Exception Codes: 0x0000000000000002, 0x000000010773afd0
VM Region Info: 0x10773afd0 is in 0x107720000-0x107750000;  bytes after start: 110544  bytes before end: 86063
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      __DATA_CONST                1076f8000-107720000    [  160K] r--/rwx SM=COW  ...letFoundation
--->  __DATA                      107720000-107750000    [  192K] rw-/rwx SM=COW  ...letFoundation
      __DATA                      107750000-107780000    [  192K] rw-/rwx SM=PRV  ...letFoundation
Termination Reason: SIGNAL 10 Bus error: 10
Terminating Process: exc handler [42303]

Triggered by Thread:  83

Thread 0::  Dispatch queue: com.apple.main-thread
0   UIKitCore                     	       0x10e3ddaac -[UIPanGestureRecognizer shouldReceiveEvent:] + 0
1   UIKitCore                     	       0x10ec65904 -[UIScrollViewPanGestureRecognizer shouldReceiveEvent:] + 152
2   UIKitCore                     	       0x10e3d4a84 -[UIGestureRecognizer _internalShouldReceiveEvent:] + 116
3   UIKitCore                     	       0x10e3d4ff4 -[UIGestureRecognizer _internalShouldReceiveTouch:forEvent:recognizerView:] + 516
4   UIKitCore                     	       0x10e8a0808 __80-[UITouchesEvent _addGestureRecognizersForGestureOwner:toTouch:forContinuation:]_block_invoke + 248
5   UIKitCore                     	       0x10e8a03a4 __70-[UITouchesEvent _collectGestureRecognizersForGestureOwner:withBlock:]_block_invoke + 492
6   UIKitCore                     	       0x10e89fea4 -[UITouchesEvent _collectGestureRecognizersForGestureOwner:withBlock:] + 236
7   UIKitCore                     	       0x10e8a06e4 -[UITouchesEvent _addGestureRecognizersForGestureOwner:toTouch:forContinuation:] + 136
8   UIKitCore                     	       0x10e8a0a64 -[UITouchesEvent _addTouch:forDelayedDelivery:] + 556
9   UIKitCore                     	       0x10e8b7000 _AddTouchToEventAndDetermineIfNeedsCancel + 296
10  UIKitCore                     	       0x10e8b737c ____updateTouchesWithDigitizerEventAndDetermineIfShouldSend_block_invoke.49 + 100
11  CoreFoundation                	       0x18035d908 __NSDICTIONARY_IS_CALLING_OUT_TO_A_BLOCK__ + 16
12  CoreFoundation                	       0x18035de40 ____NSDictionaryEnumerate_block_invoke_2 + 52
13  CoreFoundation                	       0x180443798 CFBasicHashApply + 140
14  CoreFoundation                	       0x18035da3c __NSDictionaryEnumerate + 188
15  UIKitCore                     	       0x10e8b89ec __dispatchPreprocessedEventFromEventQueue + 2856
16  UIKitCore                     	       0x10e8bb5d0 __processEventQueue + 5612
17  UIKitCore                     	       0x10e8b44ac __eventFetcherSourceCallback + 220
18  CoreFoundation                	       0x18037318c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
19  CoreFoundation                	       0x1803730d4 __CFRunLoopDoSource0 + 172
20  CoreFoundation                	       0x180372844 __CFRunLoopDoSources0 + 232
21  CoreFoundation                	       0x18036ceb0 __CFRunLoopRun + 756
22  CoreFoundation                	       0x18036c7a4 CFRunLoopRunSpecific + 584
23  GraphicsServices              	       0x188ff7c98 GSEventRunModal + 160
24  UIKitCore                     	       0x10e82237c -[UIApplication _run] + 868
25  UIKitCore                     	       0x10e826374 UIApplicationMain + 124
26  AlphaWallet                   	       0x10307c37c main + 64 (AppDelegate.swift:6)
27  dyld_sim                      	       0x104f6dfa0 start_sim + 20
28  dyld                          	       0x104e81e50 start + 2544

Thread 83 Crashed::  Dispatch queue: org.alphawallet.swift.walletData.processingPipeline
0   ???                           	       0x10773afd0 type metadata for AssetInternalValue + 0
1   libswiftCore.dylib            	       0x18c01d1a4 _swift_release_dealloc + 28
2   AlphaWalletFoundation         	       0x10707a248 destroy for AssetInternalValue + 92
3   AlphaWalletFoundation         	       0x1071a9c8c outlined destroy of A? + 80
4   AlphaWalletFoundation         	       0x107435844 Subscribable.deinit + 92
5   AlphaWalletFoundation         	       0x1074358c8 Subscribable.__deallocating_deinit + 40
6   libswiftCore.dylib            	       0x18c01d1a4 _swift_release_dealloc + 28
7   AlphaWalletFoundation         	       0x10704a808 destroy for AssetAttributeSyntaxValue + 556
8   libswiftCore.dylib            	       0x18c010cb8 swift_arrayDestroy + 68
9   libswiftCore.dylib            	       0x18bdcca2c _DictionaryStorage.deinit + 484
10  libswiftCore.dylib            	       0x18bdcca50 _DictionaryStorage.__deallocating_deinit + 12
11  libswiftCore.dylib            	       0x18c01d1a4 _swift_release_dealloc + 28
12  AlphaWalletFoundation         	       0x107502254 destroy for TokenScript.Token + 200
13  libswiftCore.dylib            	       0x18c010cb8 swift_arrayDestroy + 68
14  libswiftCore.dylib            	       0x18bda619c _ContiguousArrayStorage.__deallocating_deinit + 44
15  libswiftCore.dylib            	       0x18c01d1a4 _swift_release_dealloc + 28
16  AlphaWalletFoundation         	       0x10749690c outlined destroy of [TokenScript.Token] + 24
17  AlphaWalletFoundation         	       0x1074b449c TokenHolder.deinit + 36
18  AlphaWalletFoundation         	       0x1074b44dc TokenHolder.__deallocating_deinit + 28
19  libswiftCore.dylib            	       0x18c01d1a4 _swift_release_dealloc + 28
20  libswiftCore.dylib            	       0x18c010cb8 swift_arrayDestroy + 68
21  libswiftCore.dylib            	       0x18bda619c _ContiguousArrayStorage.__deallocating_deinit + 44
22  libswiftCore.dylib            	       0x18c01d1a4 _swift_release_dealloc + 28
23  AlphaWalletFoundation         	       0x1074fbefc TokenAdaptor.titleInPluralFormOptional(token:) + 192
24  AlphaWalletFoundation         	       0x1074fcac4 TokenAdaptor.shortTitleInPluralForm(token:) + 448 (TokenScriptSupportable.swift:92)
25  AlphaWalletFoundation         	       0x10755444c TokenScriptOverrides.init(token:tokenAdaptor:) + 472 (TokenViewModel.swift:47)
26  AlphaWalletFoundation         	       0x10748e170 TokenAdaptor.tokenScriptOverrides(token:) + 92 (TokenAdaptor.swift:60)
27  AlphaWalletFoundation         	       0x10752c1b4 closure #1 in WalletDataProcessingPipeline.applyTokenScriptOverrides(tokens:) + 316 (TokensProcessingPipeline.swift:233)
28  AlphaWalletFoundation         	       0x10752df50 partial apply for closure #1 in WalletDataProcessingPipeline.applyTokenScriptOverrides(tokens:) + 20
29  libswiftCore.dylib            	       0x18bd39978 Collection.map<A>(_:) + 428
30  AlphaWalletFoundation         	       0x1075245fc WalletDataProcessingPipeline.applyTokenScriptOverrides(tokens:) + 136 (TokensProcessingPipeline.swift:231)
31  AlphaWalletFoundation         	       0x107524474 closure #6 in WalletDataProcessingPipeline.tokenViewModels.getter + 184 (TokensProcessingPipeline.swift:65)
32  Combine                       	       0x19bb35abc Publishers.Map.Inner.receive(_:) + 80
33  Combine                       	       0x19bb13720 Publishers.SwitchToLatest.Outer.receiveInner(_:_:) + 220
34  Combine                       	       0x19bb13638 Publishers.SwitchToLatest.Outer.Side.receive(_:) + 20
35  Combine                       	       0x19bb05038 Result.Publisher.Inner.request(_:) + 460
36  Combine                       	       0x19bb05140 protocol witness for Subscription.request(_:) in conformance Result<A, B>.Publisher.Inner<A1> + 20
37  Combine                       	       0x19bb1361c Publishers.SwitchToLatest.Outer.receiveInner(subscription:_:) + 364
38  Combine                       	       0x19bb134a4 Publishers.SwitchToLatest.Outer.Side.receive(subscription:) + 20
39  Combine                       	       0x19bb04a20 Result.Publisher.receive<A>(subscriber:) + 660
40  Combine                       	       0x19bb350a8 PublisherBox.receive<A>(subscriber:) + 36
41  Combine                       	       0x19bb352f8 AnyPublisher.receive<A>(subscriber:) + 36
42  Combine                       	       0x19bb14210 Publishers.SwitchToLatest.Outer.receive(_:) + 512
43  Combine                       	       0x19bb149dc protocol witness for Subscriber.receive(_:) in conformance Publishers.SwitchToLatest<A, B>.Outer<A1> + 20
44  Combine                       	       0x19bb35ad4 Publishers.Map.Inner.receive(_:) + 104
45  Combine                       	       0x19bb35ad4 Publishers.Map.Inner.receive(_:) + 104
46  Combine                       	       0x19bb04388 partial apply for closure #2 in Publishers._Merged.receive(_:_:) + 40
47  Combine                       	       0x19baf8680 Publishers._Merged.guardedApplyDownstream<A>(_:) + 120
48  Combine                       	       0x19baf8e0c Publishers._Merged.receive(_:_:) + 204
49  Combine                       	       0x19baf8d34 Publishers._Merged.Side.receive(_:) + 20
50  Combine                       	       0x19bad851c closure #1 in Publishers.ReceiveOn.Inner.receive(_:) + 208
51  libswiftDispatch.dylib        	       0x1a1a97cd4 thunk for @escaping @callee_guaranteed () -> () + 28
52  libdispatch.dylib             	       0x180133fa4 _dispatch_call_block_and_release + 24
53  libdispatch.dylib             	       0x180135768 _dispatch_client_callout + 16
54  libdispatch.dylib             	       0x18013d7f8 _dispatch_lane_serial_drain + 780
55  libdispatch.dylib             	       0x18013e43c _dispatch_lane_invoke + 392
56  libdispatch.dylib             	       0x18014a624 _dispatch_workloop_worker_thread + 772
57  libsystem_pthread.dylib       	       0x1b059a8fc _pthread_wqthread + 284
58  libsystem_pthread.dylib       	       0x1b05996c0 start_wqthread + 8


Thread 83 crashed with ARM Thread State (64-bit):
    x0: 0x00000001077381e0   x1: 0x000000018c01dd98   x2: 0x000000010773afd0   x3: 0x00000001b904de28
    x4: 0x000000018c0ba034   x5: 0x00000001b904de28   x6: 0x0000000000000000   x7: 0x0000000000000000
    x8: 0x000000010773afd0   x9: 0x00000001258e6818  x10: 0xfffffffe00000000  x11: 0x00000001258e6818
   x12: 0x00000001258e6818  x13: 0x000000018c019b1c  x14: 0x0000000000000000  x15: 0x0000000091e2381c
   x16: 0x000000018c057f2c  x17: 0x0000000012000000  x18: 0x0000000000000000  x19: 0x000000010773a1e0
   x20: 0x00000001077381e0  x21: 0x00000002d38ebce8  x22: 0x000000010773a180  x23: 0x0000000000000050
   x24: 0x0000000000000001  x25: 0x0000000000000000  x26: 0x00000002d38eba48  x27: 0x000000002029de40
   x28: 0x0000000000000000   fp: 0x00000002d73b3d70   lr: 0x000000018c01d1a4
    sp: 0x00000002d73b3d60   pc: 0x000000010773afd0 cpsr: 0x60001000
   far: 0x000000010773afd0  esr: 0x8200000f (Instruction Abort) Permission fault

hboon avatar Feb 21 '23 03:02 hboon