Created attachment 18747 [details]
Random crashes especially after making api calls
at (wrapper managed-to-native) object.__icall_wrapper_mono_gc_alloc_vector (intptr,intptr,intptr) <0x00043>
at (wrapper managed-to-native) string.FastAllocateString (int) <0x0003b>
Hi, I just updated XF to 184.108.40.206
Once in a while when calling ModernHttp component, this bug occurred. Meanwhile if it was built with Cycle 7 Visual Studio then this bug never occur. Only happens on android.
Please help me look into this as I cannot update the app with this bug to my stable releases.
Thank you in advance for the support.
Created attachment 18748 [details]
This bug creation was a follow-up from Vlad Brezae request at https://bugzilla.xamarin.com/show_bug.cgi?id=11322#c21.
Is there a way to add Vlad to this thread? firstname.lastname@example.org
Thank you for your help.
Hello, thank you for filing this report. To help us investigate this issue, could you please include a minimized runnable test case demonstrating the crash? It would also be great to get your full version information from https://developer.xamarin.com/guides/cross-platform/troubleshooting/questions/version-logs/#version-information.
I have the same issue.
Generally it happens shortly after ModerHttpClient can't make a call due to absence of internet connection
[mono-rt] at <unknown> <0xffffffff>
[mono-rt] at (wrapper managed-to-native) string.FastAllocateString (int) <0x0003b>
[mono-rt] at System.Text.StringBuilder.ToString () [0x00011] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/text/stringbuilder.cs:340
[mono-rt] at System.Text.StringBuilderCache.GetStringAndRelease (System.Text.StringBuilder) [0x00000] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/text/stringbuildercache.cs:80
[mono-rt] at string.Join (string,System.Collections.Generic.IEnumerable`1<string>) [0x0008b] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/string.cs:186
[mono-rt] at Shared.Network.RequestInfo.<logHeaders>b__15_1 (System.Linq.IGrouping`2<string, System.Collections.Generic.KeyValuePair`2<string, System.Collections.Generic.IEnumerable`1<string>>>) [0x00000] in D:\Development\Shared\Network\RequestInfo.cs:105
[mono-rt] at System.Collections.Generic.List`1<T_REF>.ForEach (System.Action`1<T_REF>) [0x00035] in /Users/builder/data/lanes/3511/501e63ce/source/mono/mcs/class/referencesource/mscorlib/system/collections/generic/list.cs:564
Thank you for taking the time to submit this report. After reviewing the description of this bug, we believe it no longer affects the current version of Xamarin.Android. If you are still experiencing the issue after updating your packages, please reopen this report with an attached reproduction.