Description
Android application running with CoreCLR throws a SIGABRT trying to execute Ping.Send()
Reproduction Steps
private static readonly Ping PingSender = new();
reply = PingSender.Send(SOMEIPONTHELAN, 500);
in .NET Android App (tested with MAUI) on .NET 11 Preview 4 with dotnet run on physical hardware.
Expected behavior
Does not crash and Ping works as expected
Actual behavior
SIGABRT
--------- beginning of crash
05-27 15:26:39.806 15104 15215 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15215 (Thread-26), pid 15104 (e.phoenix_tuner)
05-27 15:26:40.904 15104 15215 E DOTNET : Fatal error.
05-27 15:26:40.904 15104 15215 E DOTNET : Got a SIGABRT while executing native code. This usually indicates
05-27 15:26:40.904 15104 15215 E DOTNET : a fatal error in the runtime or one of the native libraries
05-27 15:26:40.904 15104 15215 E DOTNET : used by your application.
05-27 15:26:40.904 15104 15215 E DOTNET : at Interop+Sys.get_IsAtomicNonInheritablePipeCreationSupported()
05-27 15:26:40.904 15104 15215 E DOTNET : at System.Diagnostics.Process.Start()
05-27 15:26:40.904 15104 15215 E DOTNET : at System.Net.NetworkInformation.Ping.SendWithPingUtility(System.Net.IPAddress, Byte[], Int32, System.Net.NetworkInformation.PingOptions)
05-27 15:26:40.904 15104 15215 E DOTNET : at System.Net.NetworkInformation.Ping.Send(System.String, Int32)
05-27 15:26:40.904 15104 15215 E DOTNET : at MyApp.UpdateNetworkState()
05-27 15:26:40.905 15104 15215 E DOTNET : at System.Threading.Thread.StartCallback(System.Threading.Thread*)
05-27 15:26:40.905 15104 15215 F DOTNET : Aborting process.
Regression?
Not determined if regression or not.
Known Workarounds
No response
Configuration
Host OS: Windows 11
Android OS: Pixel 9A, Android 17.
.NET: 11.0.100-preview.4.26230.115
Other information
No response
Description
Android application running with CoreCLR throws a SIGABRT trying to execute
Ping.Send()Reproduction Steps
in .NET Android App (tested with MAUI) on .NET 11 Preview 4 with
dotnet runon physical hardware.Expected behavior
Does not crash and Ping works as expected
Actual behavior
SIGABRT
Regression?
Not determined if regression or not.
Known Workarounds
No response
Configuration
Host OS: Windows 11
Android OS: Pixel 9A, Android 17.
.NET:
11.0.100-preview.4.26230.115Other information
No response