SilenceLove / HXPHPicker

Photo/Video Selector-Supports LivePhoto, GIF selection, online download of resources on iCloud, and editing of photos/videos
MIT License
364 stars 74 forks source link

Fatal Exception: CALayerInvalidGeometry CALayer bounds contains NaN: [nan nan; 0 0]. Layer: <CALayer:0x2826c5940; position = CGPoint (0 0); bounds = CGRect (0 0; 0 0); delegate = <HXPHPicker.PhotoEditorScrollView: 0x1528e0600; baseClass = UIScrollView; frame = (0 0; 0 0); gestureRecognizers = <NSArray: 0x2828c2460>; layer = <CALayer: 0x2826c5940>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, nan, 0}>; sublayers = (<CALayer: 0x2826c74a0>); opaque = YES; allowsGroupOpacity = YES; > #83

Closed t3b123 closed 2 years ago

t3b123 commented 2 years ago

Fatal Exception: CALayerInvalidGeometry 0 CoreFoundation 0xa248 exceptionPreprocess 1 libobjc.A.dylib 0x17a68 objc_exception_throw 2 CoreFoundation 0xf9e04 CFDictionaryCreateGeneric 3 QuartzCore 0x287a8 CA::Layer::set_bounds(CA::Rect const&, bool) 4 QuartzCore 0xf9d0 -[CALayer setBounds:] 5 UIKitCore 0x327bc -[UIView(Geometry) setBounds:] 6 UIKitCore 0x3255c -[UIScrollView setBounds:] 7 UIKitCore 0x53a4c -[UIScrollView setContentOffset:] 8 HXPHPicker 0x4b9d8 (Missing UUID 1dc977d58aa03ccc84a569e9cedf52e8) 9 HXPHPicker 0x4dce8 (Missing UUID 1dc977d58aa03ccc84a569e9cedf52e8) 10 HXPHPicker 0xb4484 (Missing UUID 1dc977d58aa03ccc84a569e9cedf52e8) 11 UIKitCore 0xd0af0 +[UIView _setupAnimationWithDuration:delay:view:options:factory:animations:start:animationStateGenerator:completion:] 12 UIKitCore 0xa3da8 +[UIView(UIViewAnimationWithBlocks) animateWithDuration:delay:options:animations:completion:] 13 HXPHPicker 0x49ef0 (Missing UUID 1dc977d58aa03ccc84a569e9cedf52e8) 14 HXPHPicker 0x4b588 (Missing UUID 1dc977d58aa03ccc84a569e9cedf52e8) 15 HXPHPicker 0x909ec (Missing UUID 1dc977d58aa03ccc84a569e9cedf52e8) 16 HXPHPicker 0xf31cc (Missing UUID 1dc977d58aa03ccc84a569e9cedf52e8) 17 HXPHPicker 0x3aa40 (Missing UUID 1dc977d58aa03ccc84a569e9cedf52e8) 18 UIKitCore 0x24f6d8 -[UIApplication sendAction:to:from:forEvent:] 19 UIKitCore 0x24f3d8 -[UIControl sendAction:to:forEvent:] 20 UIKitCore 0x24ed6c -[UIControl _sendActionsForEvents:withEvent:] 21 UIKitCore 0x24ec10 -[UIButton _sendActionsForEvents:withEvent:] 22 UIKitCore 0x24e848 -[UIControl touchesEnded:withEvent:] 23 UIKitCore 0xfd268 -[UIWindow _sendTouchesForEvent:] 24 UIKitCore 0xfc684 -[UIWindow sendEvent:] 25 UIKitCore 0xfb944 -[UIApplication sendEvent:] 26 UIKitCore 0xfb000 dispatchPreprocessedEventFromEventQueue 27 UIKitCore 0x142d64 processEventQueue 28 UIKitCore 0x44b4dc eventFetcherSourceCallback 29 CoreFoundation 0xd622c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION 30 CoreFoundation 0xe2614 CFRunLoopDoSource0 31 CoreFoundation 0x6651c CFRunLoopDoSources0 32 CoreFoundation 0x7beb8 CFRunLoopRun 33 CoreFoundation 0x811e4 CFRunLoopRunSpecific 34 GraphicsServices 0x1368 GSEventRunModal 35 UIKitCore 0x3a2d88 -[UIApplication run] 36 UIKitCore 0x3a29ec UIApplicationMain 37 libswiftUIKit.dylib 0x352a0 UIApplicationMain(:::_:) 38 DEMOAPP 0x5dc4 main (Device.swift) 39 ??? 0x1b83d9948 (Missing)