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
Fatal signal 6 (SIGABRT) crash on android release when forcing screen orientation #22106
Comments
Can you attach a logcat file with your crash? |
I have a similar issue when changing Orientation, but in combination with the Community Toolkit Popup: This results in the following Exception: This came since a couple of Nightly builds and used to work previously, but strangely enough also in combination with changed Orientation. I don’t change it in Code-Behind, but normally in Simulator or on a real Device, both crash. Was there a change having an impact on changed orientation, lately? |
@MAUIoxo that might be different |
I can't, but in Debug Mode, at least for my issue, I got the following Stacktrace info: Object reference not set to an instance of an object. at CommunityToolkit.Maui.Core.Views.MauiPopup.SetShadowView(UIView& target)
at CommunityToolkit.Maui.Core.Views.MauiPopup.ViewDidLayoutSubviews()
at UIKit.UIApplication.UIApplicationMain(Int32 , String[] , IntPtr , IntPtr ) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:line 58
at UIKit.UIApplication.Main(String[] , Type , Type ) in /Users/builder/azdo/_work/1/s/xamarin-macios/src/UIKit/UIApplication.cs:line 94
at MacroOptimizerApp.Program.Main(String[] args) in D:\Development\C#\OptimizerApp\OptimizerApp\Platforms\iOS\Program.cs:line 13 |
Update on the matter: This solved the issue. This is the log you requested: Anyway, I plan to accept my miracle and move on. |
Disabling AOT did not work for me. I finally created my own |
This issue was moved to CommunityToolkit/Maui#1864 |
Description
Fatal signal 6 (SIGABRT) crash in logcat, when running release build on android 12 device, using forced orientation and activated concurrent GC.
Debug version works.
Not specifying orientation works.
Disabling concurrent GC works.
Steps to Reproduce
Link to public reproduction project repository
No response
Version with bug
8.0.7/8.0.100
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12
Did you find any workaround?
Debug version works.
Not specifying orientation works.
Disabling concurrent GC works.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: