Skip to content

遇到了大量的 CRASH !!! #153

@make1a

Description

@make1a

我们在HWPanModal最新的版本 遇到了大量的崩溃如下:

    Crashed: com.apple.main-thread
0  CoreFoundation                 0x8230 CFAllocatorAllocate + 4
1  CoreFoundation                 0x6d60 __CFStringChangeSizeMultiple + 660
2  CoreFoundation                 0x6920 __CFStringAppendBytes + 548
3  CoreFoundation                 0x3732c __CFStringAppendFormatCore + 9708
4  CoreFoundation                 0x348e0 _CFStringCreateWithFormatAndArgumentsReturningMetadata + 184
5  CoreFoundation                 0x3481c _CFStringCreateWithFormatAndArgumentsAux2 + 44
6  Foundation                     0x242e4 +[NSString stringWithFormat:] + 68
7  FBSDKCoreKit                   0x61674 +[FBSDKSwizzler object:ofClass:addSelector:] + 323 (FBSDKSwizzler.m:323)
8  FBSDKCoreKit                   0x625a4 fb_findSwizzle + 81 (FBSDKSwizzler.m:81)
9  FBSDKCoreKit                   0x61dc8 fb_swizzledMethod_2 + 90 (FBSDKSwizzler.m:90)
10 UIKitCore                      0x29aa0 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1716
11 UIKitCore                      0x29698 -[UIView(Internal) _didMoveFromWindow:toWindow:] + 684
12 UIKitCore                      0x1aa70 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 124
13 CoreAutoLayout                 0x11f14 -[NSISEngine withBehaviors:performModifications:] + 84
14 UIKitCore                      0x1d914 -[UIView _postMovedFromSuperview:] + 504
15 UIKitCore                      0x1c3d0 -[UIView(Internal) _addSubview:positioned:relativeTo:] + 2200
16 UIKitCore                      0x161e4c -[UITableView _addSubview:positioned:relativeTo:] + 100
17 UIKitCore                      0x1eada0 CreateScrollIndicator + 280
18 UIKitCore                      0x1e8468 -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:] + 292
19 HelloTalk_Binary               0x25ec320 -[HWPanModalPresentableHandler trackScrolling:] + 302 (HWPanModalPresentableHandler.m:302)
20 HelloTalk_Binary               0x25ec4c8 -[HWPanModalPresentableHandler didPanOnScrollViewChanged:] + 340 (HWPanModalPresentableHandler.m:340)
21 HelloTalk_Binary               0x25f2380 -[KeyValueObserver didChange:] + 69 (KeyValueObserver.m:69)
22 Foundation                     0x1a684 NSKeyValueNotifyObserver + 252
23 Foundation                     0x1a378 NSKeyValueDidChange + 356
24 Foundation                     0x147c58 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 684
25 Foundation                     0x1478ac -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 64
26 Foundation                     0x146fa4 _NSSetPointValueAndNotify + 300
27 UIKitCore                      0x418a18 -[UIScrollView _setContentOffset:animated:animationCurve:animationAdjustsForContentOffsetDelta:animation:animationConfigurator:] + 428
28 HelloTalk_Binary               0x25ec384 -[HWPanModalPresentableHandler haltScrolling:] + 312 (HWPanModalPresentableHandler.m:312)
29 HelloTalk_Binary               0x25ec4fc -[HWPanModalPresentableHandler didPanOnScrollViewChanged:] + 361 (HWPanModalPresentableHandler.m:361)
30 HelloTalk_Binary               0x25f2380 -[KeyValueObserver didChange:] + 69 (KeyValueObserver.m:69)
31 Foundation                     0x1a684 NSKeyValueNotifyObserver + 252
32 Foundation                     0x1a378 NSKeyValueDidChange + 356
33 Foundation                     0x147c58 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:] + 684
34 Foundation                     0x1478ac -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:] + 64
35 Foundation                     0x146fa4 _NSSetPointValueAndNotify + 300
36 UIKitCore                      0x257734 -[UITableView _updateVisibleCellsNow:] + 1784
37 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
38 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
39 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
40 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
41 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
42 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
43 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
44 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
45 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
46 UIKitCore                      0x25775c -[UITableView _updateVisibleCellsNow:] + 1824
47 UIKitCore                      0x335830 -[UITableView layoutSubviews] + 148
48 UIKitCore                      0x10a4c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1528
49 QuartzCore                     0x7e3b4 CA::Layer::layout_if_needed(CA::Transaction*) + 504
50 QuartzCore                     0x7df38 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 148
51 QuartzCore                     0xd90e0 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 464
52 QuartzCore                     0x4e028 CA::Transaction::commit() + 648
53 UIKitCore                      0xb69c44 ___UIUpdateCycleNotifyIdle_block_invoke + 1040
54 libdispatch.dylib              0x213c _dispatch_call_block_and_release + 32
55 libdispatch.dylib              0x3dd4 _dispatch_client_callout + 20
56 libdispatch.dylib              0x125a4 _dispatch_main_queue_drain + 988
57 libdispatch.dylib              0x121b8 _dispatch_main_queue_callback_4CF + 44
58 CoreFoundation                 0x56710 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 16
59 CoreFoundation                 0x53914 __CFRunLoopRun + 1996
60 CoreFoundation                 0x52cd8 CFRunLoopRunSpecific + 608
61 GraphicsServices               0x11a8 GSEventRunModal + 164
62 UIKitCore                      0x40a90c -[UIApplication _run] + 888
63 UIKitCore                      0x4be9d0 UIApplicationMain + 340

请问有修复方案吗? 感激不尽

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions