-
Notifications
You must be signed in to change notification settings - Fork 198
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
CRASH #103
Comments
https://developer.apple.com/forums/thread/118975 |
不太好复现,但的确能遇到。 xcode 调试时遇到崩溃会定位到: 15 HWPanModal 0x10298174c -[HWPanModalPresentableHandler haltScrolling:] (HWPanModalPresentableHandler.m:347) |
这个方法只是设置了contentOffset,很奇怪 |
有点像这2个问题 |
按照这个问题的 case 可以复现 @HeathWang 可以试试 |
这个可以修复crash吗? |
@devSC 你的分支2个commit解决这个问题没,我merge到master? |
@HeathWang 还有问题 |
遇到同样的问题: Thread 0 name: Tmcom-MapDRender Dispatch queue: com.apple.main-thread |
@HeathWang Crash demo: HWPanModal Crash Demo. And I create a PR to fix this issue. |
HWPanModal (0.9.4) successfully published, fix this crash. |
还是会崩 |
堆栈信息有吗 |
崩溃堆栈和上面一样的 |
请问下,这个问题有进展吗。这个崩溃进入了我app 的 top10 |
0 libsystem_c.dylib 0x478c __sfvwrite + 4 |
这个崩溃进入了我的 top3 , 请问各位有修复方案吗 或者替换的库也行 |
OS Version: iOS 14.6 (18F72)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: BUS_NOOP at 0x000000016fb33f20
Crashed Thread: 0
Application Specific Information:
center >
Stack overflow in (null)
Thread 0 Crashed:
0 QuartzCore 0x309d36680 CA::Layer::writable_state
1 QuartzCore 0x309d36858 CA::Layer::property_did_change
2 QuartzCore 0x309d367b8 CA::Layer::end_change
3 QuartzCore 0x309d3f748 CA::Layer::set_position
4 QuartzCore 0x309d2db00 -[CALayer setPosition:]
5 QuartzCore 0x309d2e194 -[CALayer setFrame:]
6 UIKitCore 0x30855bbb0 -[UIView(Geometry) setFrame:]
7 UIKitCore 0x308502274 -[UIScrollView _layoutHorizontalScrollIndicatorWithBounds:effectiveInset:contentOffset:fraction:additionalInset:cornerAdjust:showing:recalcSize:verticalIndicatorFrame:]
8 UIKitCore 0x30850165c -[UIScrollView _adjustScrollerIndicators:alwaysShowingThem:]
9 UIKitCore 0x3084ed9bc -[UIScrollView setContentOffset:]
10 UIKitCore 0x308279c48 -[UITableView setContentOffset:]
11 Foundation 0x305ef8c14 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:]
12 Foundation 0x305e3d63c -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:]
13 Foundation 0x305ef4650 _NSSetPointValueAndNotify
14 UIKitCore 0x308509fe4 -[UIScrollView _setContentOffset:animated:animationCurve:animationAdjustsForContentOffsetDelta:animation:animationConfigurator:]
15 HWPanModal 0x10298174c -[HWPanModalPresentableHandler haltScrolling:] (HWPanModalPresentableHandler.m:347)
16 HWPanModal 0x1029818d4 -[HWPanModalPresentableHandler didPanOnScrollViewChanged:]
17 HWPanModal 0x102989b24 -[KeyValueObserver didChange:] (KeyValueObserver.m:72)
18 Foundation 0x305ef6dac NSKeyValueNotifyObserver
19 Foundation 0x305ef91c4 NSKeyValueDidChange
20 Foundation 0x305ef8c50 -[NSObject(NSKeyValueObservingPrivate) _changeValueForKeys:count:maybeOldValuesDict:maybeNewValuesDict:usingBlock:]
21 Foundation 0x305e3d63c -[NSObject(NSKeyValueObservingPrivate) _changeValueForKey:key:key:usingBlock:]
22 Foundation 0x305ef4650 _NSSetPointValueAndNotify
23 UIKitCore 0x30825a7c4 -[UITableView _updateVisibleCellsNow:]
24 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
25 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
26 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
27 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
28 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
29 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
30 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
31 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
32 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
33 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
34 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
35 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
36 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
37 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
38 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
39 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
40 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
41 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
42 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
43 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
44 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
45 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
46 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
47 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
48 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
49 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
50 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
51 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
52 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
53 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
54 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
55 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
56 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
57 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
58 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
59 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
60 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
61 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
62 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
63 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
64 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
65 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
66 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
67 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
68 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
69 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
70 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
71 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
72 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
73 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
74 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
75 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
76 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
77 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
78 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
79 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
80 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
81 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
82 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
83 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
84 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
85 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
86 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
87 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
88 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
89 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
90 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
91 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
92 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
93 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
94 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
95 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
96 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
97 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
98 UIKitCore 0x30825a7ec [inlined] -[UITableView _updateVisibleCellsNow:]
99 UIKitCore 0x30825a7ec -[UITableView _updateVisibleCellsNow:]
The text was updated successfully, but these errors were encountered: