概述
A brief bug description:
日历控件几率闪退
Stack trace:
UIKit-[UICollectionViewData _setLayoutAttributes:atGlobalItemIndex:]:
0x18da1a5e8 : stp d15, d14, [sp, #-160]!
0x18da1a5ec : stp d13, d12, [sp, #16]
0x18da1a5f0 : stp d11, d10, [sp, #32]
0x18da1a5f4 : stp d9, d8, [sp, #48]
0x18da1a5f8 : stp x28, x27, [sp, #64]
0x18da1a5fc : stp x26, x25, [sp, #80]
0x18da1a600 : stp x24, x23, [sp, #96]
0x18da1a604 : stp x22, x21, [sp, #112]
0x18da1a608 : stp x20, x19, [sp, #128]
0x18da1a60c : stp x29, x30, [sp, #144]
0x18da1a610 : add x29, sp, #144 ; =144
0x18da1a614 : sub sp, sp, #16 ; =16
0x18da1a618 : mov x21, x3
0x18da1a61c : mov x20, x0
0x18da1a620 : mov x0, x2
0x18da1a624 : bl 0x186554090 ; objc_retain
0x18da1a628 : mov x22, x0
0x18da1a62c : adrp x8, 124607
0x18da1a630 : ldrsw x19, [x8, #1164]
0x18da1a634 : ldr x8, [x20, x19]
-> 0x18da1a638 : ldr x0, [x8, w21, sxtw #3]
0x18da1a63c : cmp x0, x22
0x18da1a640 : b.eq 0x18da1a86c ;
0x18da1a644 : sxtw x21, w21
0x18da1a648 : str xzr, [x8, x21, lsl #3]
0x18da1a64c : bl 0x186554150 ; objc_release
0x18da1a650 : adrp x8, 124531
0x18da1a654 : ldr x1, [x8, #2176]
0x18da1a658 : mov x0, x22
0x18da1a65c : bl 0x18654ef60 ; objc_msgSend
0x18da1a660 : ldr x9, [x20, x19]
0x18da1a664 : ldr x8, [x9, x21, lsl #3]
0x18da1a668 : str x0, [x9, x21, lsl #3]
0x18da1a66c : mov x0, x8
0x18da1a670 : bl 0x186554150 ; objc_release
0x18da1a674 : cbz x22, 0x18da1a86c ;
0x18da1a678 : adrp x8, 124531
0x18da1a67c : ldr x1, [x8, #1792]
0x18da1a680 : mov x0, x22
0x18da1a684 : str x22, [sp, #8]
0x18da1a688 : bl 0x18654ef60 ; objc_msgSend
0x18da1a68c : mov.16b v8, v0
0x18da1a690 : mov.16b v9, v1
0x18da1a694 : mov.16b v10, v2
0x18da1a698 : mov.16b v11, v3
0x18da1a69c : bl 0x1890d37b0 ; CGRectGetMinX
0x18da1a6a0 : mov.16b v12, v0
0x18da1a6a4 : adrp x27, 124581
0x18da1a6a8 : ldr x24, [x27, #3048]
0x18da1a6ac : adrp x28, 124536
0x18da1a6b0 : ldr x25, [x28, #440]
0x18da1a6b4 : adrp x19, 129517
0x18da1a6b8 : fmov d14, #-1.00000000
0x18da1a6bc : mov x22, x25
0x18da1a6c0 : mov x23, x24
0x18da1a6c4 : b 0x18da1a718 ;
0x18da1a6c8 : mov.16b v0, v8
0x18da1a6cc : mov.16b v1, v9
0x18da1a6d0 : mov.16b v2, v10
0x18da1a6d4 : mov.16b v3, v11
0x18da1a6d8 : bl 0x1890d3884 ; CGRectGetMaxY
0x18da1a6dc : fadd d1, d0, d14
0x18da1a6e0 : mov.16b v0, v12
0x18da1a6e4 : mov x0, x20
0x18da1a6e8 : mov x1, x24
0x18da1a6ec : bl 0x18654ef60 ; objc_msgSend
0x18da1a6f0 : mov x29, x29
0x18da1a6f4 : bl 0x18655648c ; objc_retainAutoreleasedReturnValue
0x18da1a6f8 : mov x26, x0
0x18da1a6fc : mov x1, x25
0x18da1a700 : mov x2, x21
0x18da1a704 : bl 0x18654ef60 ; objc_msgSend
0x18da1a708 : mov x0, x26
0x18da1a70c : bl 0x186554150 ; objc_release
0x18da1a710 : ldr d0, [x19, #520]
0x18da1a714 : fadd d12, d12, d0
0x18da1a718 : mov.16b v0, v8
0x18da1a71c : mov.16b v1, v9
0x18da1a720 : mov.16b v2, v10
0x18da1a724 : mov.16b v3, v11
0x18da1a728 : bl 0x1890d382c ; CGRectGetMinY
0x18da1a72c : ldr d2, [x19, #520]
0x18da1a730 : fdiv d1, d12, d2
0x18da1a734 : frintm d1, d1
0x18da1a738 : fmul d3, d2, d1
0x18da1a73c : fdiv d0, d0, d2
0x18da1a740 : frintm d0, d0
0x18da1a744 : fmul d1, d2, d0
0x18da1a748 : mov.16b v0, v3
0x18da1a74c : mov.16b v3, v2
0x18da1a750 : mov.16b v4, v8
0x18da1a754 : mov.16b v5, v9
0x18da1a758 : mov.16b v6, v10
0x18da1a75c : mov.16b v7, v11
0x18da1a760 : bl 0x1890d439c ; CGRectIntersectsRect
0x18da1a764 : mov.16b v0, v8
0x18da1a768 : mov.16b v1, v9
0x18da1a76c : mov.16b v2, v10
0x18da1a770 : mov.16b v3, v11
0x18da1a774 : cbz w0, 0x18da1a818 ;
0x18da1a778 : bl 0x1890d382c ; CGRectGetMinY
0x18da1a77c : mov.16b v13, v0
0x18da1a780 : ldr x23, [x27, #3048]
0x18da1a784 : ldr x22, [x28, #440]
0x18da1a788 : b 0x18da1a7c8 ;
0x18da1a78c : mov.16b v0, v12
0x18da1a790 : mov.16b v1, v13
0x18da1a794 : mov x0, x20
0x18da1a798 : mov x1, x23
0x18da1a79c : bl 0x18654ef60 ; objc_msgSend
0x18da1a7a0 : mov x29, x29
0x18da1a7a4 : bl 0x18655648c ; objc_retainAutoreleasedReturnValue
0x18da1a7a8 : mov x26, x0
0x18da1a7ac : mov x1, x22
0x18da1a7b0 : mov x2, x21
0x18da1a7b4 : bl 0x18654ef60 ; objc_msgSend
0x18da1a7b8 : mov x0, x26
0x18da1a7bc : bl 0x186554150 ; objc_release
0x18da1a7c0 : ldr d0, [x19, #520]
0x18da1a7c4 : fadd d13, d13, d0
0x18da1a7c8 : mov.16b v0, v8
0x18da1a7cc : mov.16b v1, v9
0x18da1a7d0 : mov.16b v2, v10
0x18da1a7d4 : mov.16b v3, v11
0x18da1a7d8 : bl 0x1890d37b0 ; CGRectGetMinX
0x18da1a7dc : ldr d2, [x19, #520]
0x18da1a7e0 : fdiv d0, d0, d2
0x18da1a7e4 : frintm d0, d0
0x18da1a7e8 : fmul d0, d2, d0
0x18da1a7ec : fdiv d1, d13, d2
0x18da1a7f0 : frintm d1, d1
0x18da1a7f4 : fmul d1, d2, d1
0x18da1a7f8 : mov.16b v3, v2
0x18da1a7fc : mov.16b v4, v8
0x18da1a800 : mov.16b v5, v9
0x18da1a804 : mov.16b v6, v10
0x18da1a808 : mov.16b v7, v11
0x18da1a80c : bl 0x1890d439c ; CGRectIntersectsRect
0x18da1a810 : cbnz w0, 0x18da1a78c ;
0x18da1a814 : b 0x18da1a6c8 ;
0x18da1a818 : bl 0x1890d3804 ; CGRectGetMaxX
0x18da1a81c : fadd d12, d0, d14
0x18da1a820 : mov.16b v0, v8
0x18da1a824 : mov.16b v1, v9
0x18da1a828 : mov.16b v2, v10
0x18da1a82c : mov.16b v3, v11
0x18da1a830 : bl 0x1890d3884 ; CGRectGetMaxY
0x18da1a834 : fadd d1, d0, d14
0x18da1a838 : mov.16b v0, v12
0x18da1a83c : mov x0, x20
0x18da1a840 : mov x1, x23
0x18da1a844 : bl 0x18654ef60 ; objc_msgSend
0x18da1a848 : mov x29, x29
0x18da1a84c : bl 0x18655648c ; objc_retainAutoreleasedReturnValue
0x18da1a850 : mov x20, x0
0x18da1a854 : mov x1, x22
0x18da1a858 : mov x2, x21
0x18da1a85c : bl 0x18654ef60 ; objc_msgSend
0x18da1a860 : mov x0, x20
0x18da1a864 : bl 0x186554150 ; objc_release
0x18da1a868 : ldr x22, [sp, #8]
0x18da1a86c : mov x0, x22
0x18da1a870 : sub sp, x29, #144 ; =144
0x18da1a874 : ldp x29, x30, [sp, #144]
0x18da1a878 : ldp x20, x19, [sp, #128]
0x18da1a87c : ldp x22, x21, [sp, #112]
0x18da1a880 : ldp x24, x23, [sp, #96]
0x18da1a884 : ldp x26, x25, [sp, #80]
0x18da1a888 : ldp x28, x27, [sp, #64]
0x18da1a88c : ldp d9, d8, [sp, #48]
0x18da1a890 : ldp d11, d10, [sp, #32]
0x18da1a894 : ldp d13, d12, [sp, #16]
0x18da1a898 : ldp d15, d14, [sp], #160
0x18da1a89c : b 0x186554150 ; objc_release
`
Integration method:manually
Full steps to reproduce:迅速打开关闭日历(又几率显示时崩溃)
Device modal and iOS version. iPhone 6s 6 6plus 6s plus iOS9.1 9.2 9.3 iOS 10.2
Xcode version. Xcode 8.1
FSCalendar version. FSCalenda 2.7.0
Does this happen in the demo project? Which one? Or a link to another demo project.
自定义显示方式
最后
以上就是健康金毛为你收集整理的android 日历控件闪退,日历控件几率闪退 · Issue #541 · WenchaoD/FSCalendar · GitHub的全部内容,希望文章能够帮你解决android 日历控件闪退,日历控件几率闪退 · Issue #541 · WenchaoD/FSCalendar · GitHub所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
发表评论 取消回复