App crash: condition `xref_count == xref_index' not met #23634
Replies: 2 comments
-
Hey, did you find a solution for this. Having the same issue |
Beta Was this translation helpful? Give feedback.
0 replies
-
I got the same error with a net8.0-android application (which is what MAUI uses when targeting Android). |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Everyone, I've spent some time searching for similar issues, but couldn't find an answer, so I decided to write a post here.
In our MAUI app, when running on Android, after a couple of page changes (10-ish maybe), the app simply crashes. I managed to get some information from the Android device, and here are some interesting things I was able to find.
First of all, these are the last logs with my app's process id (have cut out other logs for clarity, can send the full thing if needed)
And here's some more details that I believe are also present in the tombstone file:
Unfortunately I am unable to provide a small isolated project which shows the issue, haven't had enough luck to convince my boss that spending time on doing that is worthwhile... yet :)
When searching for possible solutions I stumbled upon suggestions to change the
bridge-implementation
toold
ornew
, but those are rather old, and I was unable to find a way to make theMONO_GC_PARAMS
thing in a file to work (no AndroidEnvironment build action in my VS). I also found a very short information, that the 'old' implementation is no longer supported since .NET 7 anyway.We are using .NET 8, VS 2022 v17.10.2.
I would kindly ask for your help in finding the source of my issue.
Beta Was this translation helpful? Give feedback.
All reactions