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

Invalid frame dimension (negative or non-finite) #217

Open
AvdLee opened this issue Aug 11, 2022 · 0 comments
Open

Invalid frame dimension (negative or non-finite) #217

AvdLee opened this issue Aug 11, 2022 · 0 comments

Comments

@AvdLee
Copy link

AvdLee commented Aug 11, 2022

See:

CleanShot 2022-08-11 at 16 13 36@2x

Xcode 14 shows these as purple warnings, whereas Xcode 13 only shows them as system logs.

The affected method:

CleanShot 2022-08-11 at 16 14 10@2x

(lldb) po totalHeight
96.0

(lldb) po value
-97134000.0

(lldb) po maxValue
149426000.0

(lldb) po divideByZeroProtection(CGFloat.self, value, maxValue)
-0.6500475151580046

(lldb) po totalHeight * divideByZeroProtection(CGFloat.self, value, maxValue)
-62.40456145516845

It starts with this method:

CleanShot 2022-08-11 at 16 15 51@2x

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