pujiaxin33 / JXCategoryView

A powerful and easy to use category view (segmentedcontrol, segmentview, pagingview, pagerview, pagecontrol) (腾讯新闻、今日头条、QQ音乐、网易云音乐、京东、爱奇艺、腾讯视频、淘宝、天猫、简书、微博等所有主流APP分类切换滚动视图)
MIT License
6.08k stars 1.15k forks source link

友盟报错 #446

Open xygkevin opened 2 years ago

xygkevin commented 2 years ago

CrashDoctor Diagnosis: Attempted to dereference garbage pointer 0xc8c2a7f40. Thread 0 Crashed: 0 libobjc.A.dylib 0x00000001991733f0 objc_retain 1 ZD_AppStore 0x00000001046b32e4 0x1044c8000 + 2011876 2 ZD_AppStore 0x00000001046b2f18 0x1044c8000 + 2010904 3 ZD_AppStore 0x000000010451e550 0x1044c8000 + 353616 4 ZD_AppStore 0x000000010451c59c 0x1044c8000 + 345500 5 UIKitCore 0x0000000182ef58a4 -[UIViewController _setViewAppearState:isAnimating:] 6 UIKitCore 0x00000001830248c0 -[UIViewController viewWillAppear:] 7 JXCategoryView 0x0000000105970b3c -[JXCategoryListContainerView listWillAppear:] + [JXCategoryListContainerView.m : 0] 8 JXCategoryView 0x000000010596e7b0 46-[JXCategoryListContainerView initializeViews]_block_invoke + [JXCategoryListContainerView.m : 81] 9 JXCategoryView 0x000000010596d7a4 -[JXCategoryListContainerViewController viewWillAppear:] + [JXCategoryListContainerView.m : 30] 10 UIKitCore 0x0000000182ef58a4 -[UIViewController _setViewAppearState:isAnimating:] 11 UIKitCore 0x00000001836e9508 52-[UIViewController _setViewAppearState:isAnimating:]_block_invoke_2 12 UIKitCore 0x00000001830179c8 52-[UIViewController _setViewAppearState:isAnimating:]_block_invoke 13 CoreFoundation 0x00000001808ade18 NSARRAY_IS_CALLING_OUT_TO_A_BLOCK 14 CoreFoundation 0x00000001809346f0 -[NSSingleObjectArrayI enumerateObjectsWithOptions:usingBlock:] 15 UIKitCore 0x0000000182ef5b50 -[UIViewController _setViewAppearState:isAnimating:] 16 UIKitCore 0x00000001830248c0 -[UIViewController __viewWillAppear:] 17 UIKitCore 0x00000001833225d0 -[UINavigationController viewWillAppear:] 18 UIKitCore 0x0000000182ef58a4 -[UIViewController _setViewAppearState:isAnimating:] 19 UIKitCore 0x00000001830248c0 -[UIViewController viewWillAppear:] 20 UIKitCore 0x00000001830f5868 -[UITabBarController transitionFromViewController:toViewController:transition:shouldSetSelected:] 21 UIKitCore 0x0000000183037198 -[UITabBarController _setSelectedViewController:] 22 UIKitCore 0x0000000182fa6adc -[UITabBarController setSelectedViewController:] 23 UIKitCore 0x00000001836493dc -[UITabBarController _setSelectedViewControllerAndNotify:] 24 UIKitCore 0x0000000183649160 -[UITabBarController _tabBarItemClicked:] 25 UIKitCore 0x0000000183211a98 -[UIApplication sendAction:to:from:forEvent:] 26 UIKitCore 0x00000001835575fc -[UITabBar _sendAction:withEvent:] 27 UIKitCore 0x0000000183211a98 -[UIApplication sendAction:to:from:forEvent:] 28 UIKitCore 0x000000018333ddb8 -[UIControl sendAction:to:forEvent:] 29 UIKitCore 0x00000001830b8f90 -[UIControl _sendActionsForEvents:withEvent:] 30 UIKitCore 0x00000001835586b0 -[UITabBar _buttonUp:] 31 UIKitCore 0x0000000183211a98 -[UIApplication sendAction:to:from:forEvent:] 32 UIKitCore 0x000000018333ddb8 -[UIControl sendAction:to:forEvent:] 33 UIKitCore 0x00000001830b8f90 -[UIControl _sendActionsForEvents:withEvent:] 34 UIKitCore 0x00000001833e8b40 -[UIControl touchesEnded:withEvent:] 35 UIKitCore 0x0000000182ebb58c -[UIWindow _sendTouchesForEvent:] 36 UIKitCore 0x0000000182eecf48 -[UIWindow sendEvent:] 37 UIKitCore 0x000000018309ce34 -[UIApplication sendEvent:] 38 UIKitCore 0x0000000182ec0140 dispatchPreprocessedEventFromEventQueue 39 UIKitCore 0x0000000182eb4f2c processEventQueue 40 UIKitCore 0x0000000183cfbd54 updateCycleEntry 41 UIKitCore 0x0000000183526b44 _UIUpdateSequenceRun 42 UIKitCore 0x0000000183ba384c schedulerStepScheduledMainSection 43 UIKitCore 0x0000000183ba2e3c runloopSourceCallback 44 CoreFoundation 0x000000018095b0d0

pujiaxin33 commented 2 years ago

看起来应该是由于野指针引起的crash。能否复现呢?