Skip to content
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] PhotoPickerPageHeaderView.layoutSubviews() #634

Closed
fuchenxi opened this issue Mar 13, 2024 · 1 comment
Closed

[Crash] PhotoPickerPageHeaderView.layoutSubviews() #634

fuchenxi opened this issue Mar 13, 2024 · 1 comment

Comments

@fuchenxi
Copy link

Fatal Exception: CALayerInvalidGeometry
0  CoreFoundation                 0x9d94 __exceptionPreprocess
1  libobjc.A.dylib                0x183d0 objc_exception_throw
2  CoreFoundation                 0xf7300 __CFDictionaryCreateGeneric
3  QuartzCore                     0x2830c CA::Layer::set_position(CA::Vec2<double> const&, bool)
4  QuartzCore                     0xf908 -[CALayer setPosition:]
5  QuartzCore                     0xf880 -[CALayer setFrame:]
6  UIKitCore                      0x9c07c8 -[UIView _backing_setFrame:]
7  UIKitCore                      0x42d0 -[UIView(Geometry) setFrame:]
8  HXPhotoPicker                  0x45ae50 PhotoPickerPageHeaderView.layoutSubviews() + 406 (PhotoPickerPageViewController.swift:406)
9  HXPhotoPicker                  0x45b4b4 @objc PhotoPickerPageHeaderView.layoutSubviews() (<compiler-generated>)
10 UIKitCore                      0x4ef4 -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
11 QuartzCore                     0xa4ac CA::Layer::layout_if_needed(CA::Transaction*)
12 QuartzCore                     0x1da28 CA::Layer::layout_and_display_if_needed(CA::Transaction*)
13 QuartzCore                     0x2ee54 CA::Context::commit_transaction(CA::Transaction*, double, double*)
14 QuartzCore                     0x5e3c0 CA::Transaction::commit()
15 QuartzCore                     0x48374 CA::Transaction::flush_as_runloop_observer(bool)
16 UIKitCore                      0x4fd5f4 _UIApplicationFlushCATransaction
17 UIKitCore                      0x64de00 _UIUpdateSequenceRun
18 UIKitCore                      0xcb1944 schedulerStepScheduledMainSection
19 UIKitCore                      0xcb0ea0 runloopSourceCallback
20 CoreFoundation                 0xd3208 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
21 CoreFoundation                 0xdf864 __CFRunLoopDoSource0
22 CoreFoundation                 0x646c8 __CFRunLoopDoSources0
23 CoreFoundation                 0x7a1c4 __CFRunLoopRun
24 CoreFoundation                 0x7f4dc CFRunLoopRunSpecific
25 GraphicsServices               0x135c GSEventRunModal
26 UIKitCore                      0x39d37c -[UIApplication _run]
27 UIKitCore                      0x39cfe0 UIApplicationMain
28 libswiftUIKit.dylib            0x350b0 UIApplicationMain(_:_:_:_:)
29 iShow                          0x156558 main (HSGiftListInfo.swift)
30 ???                            0x1aae3cdec (缺少)
@fuchenxi
Copy link
Author

CALayer position contains NaN: [nan 39.5]. Layer: <CALayer:0x28781e000; position = CGPoint (inf 0.5); bounds = CGRect (0 0; inf 1); delegate = <UIView: 0x1580d5400; frame = (nan 0; inf 1); backgroundColor = UIExtendedGrayColorSpace 1 1; layer = <CALayer: 0x28781e000>>; allowsGroupOpacity = YES; backgroundColor = <CGColor 0x281e1b2a0> [<CGColorSpace 0x281952dc0> (kCGColorSpaceICCBased; kCGColorSpaceModelMonochrome; ملف تعريف الرمادي العام Gamma 2.2; extended range)] ( 1 1 )>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant