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

App crash SIGABRT , caused by the GeometryReader in the FrameGetter and SafeAreaGetter of the Util class #184

Open
kobeisgod opened this issue Apr 8, 2024 · 3 comments

Comments

@kobeisgod
Copy link

After opening the App from the widget, it's likely for the App to crash.Error message as follows:

$s14ExytePopupView11FrameGetterV4body7contentQr7SwiftUI01_C16Modifier_ContentVyACG_tFAF03AnyC0VAF13GeometryProxyVcfU_yyScMYccfU_ + 140

$s14ExytePopupView14SafeAreaGetterV4body7contentQr7SwiftUI01_C16Modifier_ContentVyACG_tFAF03AnyC0VAF13GeometryProxyVcfU_yyScMYccfU_ + 40

The crash is likely caused by the GeometryReader in the FrameGetter and SafeAreaGetter of the Util class. Could you please take a look at how to fix this bug?

1
2

@kobeisgod kobeisgod changed the title App crash SIGABRT App crash SIGABRT caused by the GeometryReader in the FrameGetter and SafeAreaGetter of the Util class Apr 8, 2024
@kobeisgod kobeisgod changed the title App crash SIGABRT caused by the GeometryReader in the FrameGetter and SafeAreaGetter of the Util class App crash SIGABRT , caused by the GeometryReader in the FrameGetter and SafeAreaGetter of the Util class Apr 8, 2024
@bunsberry
Copy link

I had the same crush - so I used swiftui instrument to check the body getters. There were severe hangs because of popup view and another problem of mine. It seems the problem is not the exyte popupview itself but the code that keeps calling the popup. And it could be you just ran out of memory and system terminated the app at another popup go. When I fixed my issue the SIGABRT went away. Maybe it's the same for you

@kobeisgod
Copy link
Author

@bunsberry
I greatly appreciate your suggestions. I'm going to check my code again and see if I can fix this issue.

@f3dm76
Copy link
Collaborator

f3dm76 commented May 6, 2024

Hey @kobeisgod, did you manage to locate what causes the problem? This FrameGetter is a standard frame getting practice in SwiftUI, as far as I know, and shouldn't cause any issues by itself. If you think exyte popup causes this issue, please attach a minimal example so I can reproduce the crash

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

3 participants