-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Runtime crash with Hot Reload in libmono-component-debugger.so
#105774
Comments
@jeromelaban it's most likely an issue in MonoVM, not .NET For Android. However, would you mind recording a logcat just to be sure? Please follow these steps from VS Developer Prompt: > adb logcat -G 65M
> adb shell setprop debug.mono.log default,assembly,mono_log_level=debug,mono_log_mask=all
> adb logcat -c
rem Deploy, start and crash the app then wait 10 seconds and:
> adb logcat -d > logcat.txt And attach the resulting file, thanks! |
@grendello Indeed, it's likely a fix to be made in dotnet/runtime, but as it reproduces on android/ios, I took a chance :) Here's the logcat: 9120-logcat.zip Likely relevant details
|
Tagging subscribers to this area: @thaystg |
Android framework version
net8.0-android, net9.0-android
Affected platform version
net 8.0.303, net9.0 p6
Description
Modifying a class in a very specific way will crash the app, with traces like this:
(Stack with net9 pre 6)
Steps to Reproduce
Open this repro in VS 2022: 9120-MauiApp2.zip
Open
HRFAILURE.cs
Build and debug the app with the
#if true
Once the app is started, change the
#if
tofalse
Press the apply code changes button
Did you find any workaround?
Reducing the number of
SuppressMessage
kind of helps, but it feels like a memory corruption of some kind.Relevant log output
No response
The text was updated successfully, but these errors were encountered: