-
Notifications
You must be signed in to change notification settings - Fork 540
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
sgen-tarjan-bridge.c crash #9377
Comments
@pubudulk This crash appears to be generated by Xamarin.Android classic, which is already out of support and will not receive fixes, alas. Can you update your app to net8 (you do not need to use MAUI) and see if the failure happens there as well? Thanks! |
Note that this is a well known issue that still happens on .NET8. I haven't yet been able to reproduce it, the current workaround is to use new bridge instead. This issue should be closed. Tracked in dotnet/runtime#106410 (comment). |
Are you suggesting to use the Environment.txt file approach rather than code approach mentioned below? We tried setting the bridge implementation like below but it didnt work. |
@pubudulk |
Closing because the issue is already tracked here |
Android framework version
net8.0-android
Affected platform version
VS2022
Description
Application getting crashed intermittently (but often) with following error:
This issue was previously reported: mono/mono#9314
But seems to be broken in latest Xamarin.Android versions.
We tried setting the following params but did not work
MONO_GC_PARAMS=bridge-implementation=new,nursery-size=128m,soft-heap-limit=512m
We set the param like below in Application's onCreate() method.
Java.Lang.JavaSystem.SetProperty("MONO_GC_PARAMS", "bridge-implementation=new,nursery-size=128m,soft-heap-limit=512m");
Steps to Reproduce
No exact steps to reproduce
Did you find any workaround?
No
Relevant log output
The text was updated successfully, but these errors were encountered: