-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Closed
Labels
area-Debugger-monoin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged
Milestone
Description
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:
tablet_m-dpi_10_1in_-_api_34_1 Error 22416 DEBUG backtrace:
#00 pc 0000000000029468 /data/app/~~YxzEw8uRs6euAg36gYGjcA==/com.companyname.mauiapp2-D7Yx-o9RLqpNV8ZSuFDlBA==/lib/x86_64/libmono-component-debugger.so (BuildId: 06dc7ca04b7e0642407ee3ce3a695a334ee43e6a)
dotnet/android#1 pc 0000000000028f45 /data/app/~~YxzEw8uRs6euAg36gYGjcA==/com.companyname.mauiapp2-D7Yx-o9RLqpNV8ZSuFDlBA==/lib/x86_64/libmono-component-debugger.so (BuildId: 06dc7ca04b7e0642407ee3ce3a695a334ee43e6a)
dotnet/android#2 pc 000000000003137c /data/app/~~YxzEw8uRs6euAg36gYGjcA==/com.companyname.mauiapp2-D7Yx-o9RLqpNV8ZSuFDlBA==/lib/x86_64/libmono-component-debugger.so (BuildId: 06dc7ca04b7e0642407ee3ce3a695a334ee43e6a)
dotnet/android#3 pc 000000000001b772 /data/app/~~YxzEw8uRs6euAg36gYGjcA==/com.companyname.mauiapp2-D7Yx-o9RLqpNV8ZSuFDlBA==/lib/x86_64/libmono-component-debugger.so (BuildId: 06dc7ca04b7e0642407ee3ce3a695a334ee43e6a)
dotnet/android#4 pc 0000000000022c3f /data/app/~~YxzEw8uRs6euAg36gYGjcA==/com.companyname.mauiapp2-D7Yx-o9RLqpNV8ZSuFDlBA==/lib/x86_64/libmono-component-debugger.so (BuildId: 06dc7ca04b7e0642407ee3ce3a695a334ee43e6a)
dotnet/android#5 pc 00000000000254ce /data/app/~~YxzEw8uRs6euAg36gYGjcA==/com.companyname.mauiapp2-D7Yx-o9RLqpNV8ZSuFDlBA==/lib/x86_64/libmono-component-debugger.so (BuildId: 06dc7ca04b7e0642407ee3ce3a695a334ee43e6a)
dotnet/android#6 pc 00000000002c0bab /data/app/~~YxzEw8uRs6euAg36gYGjcA==/com.companyname.mauiapp2-D7Yx-o9RLqpNV8ZSuFDlBA==/lib/x86_64/libmonosgen-2.0.so (BuildId: 529a184b6995fdc8e342e42c6d58e3b8ba06442f)
dotnet/android#7 pc 00000000000cd06a /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+58) (BuildId: fa337969c798946280caa45e2d71a2e7)
dotnet/android#8 pc 0000000000062d88 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+56) (BuildId: fa337969c798946280caa45e2d71a2e7)
(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
#iftofalse -
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
Reactions are currently unavailable
Metadata
Metadata
Labels
area-Debugger-monoin-prThere is an active PR which will close this issue when it is mergedThere is an active PR which will close this issue when it is merged