[Question] Native Crash Reporting Got a segv while executing native code #13016
Description
Hello Guys,
I get this error when trying ti start the App vie Xamarin Hot Restart on my iPhone. On Android it works.
Is there anyway to gather more information about such an error because I cant really get some useful information from that.
I already tried to find the portion of code that produced that error but it was not successful.
Thank you guys.
`Loaded assembly: /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.iOS.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/System.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Mono.Security.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS.exe [External]
Thread started: #2
Loaded assembly: /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS.Library.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/netstandard.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/System.Core.dll [External]
2020-12-01 16:57:19.833 Xamarin.PreBuilt.iOS[9394:2038055] Content folder: /var/mobile/Containers/Data/Application/3F6FCDAC-F790-4C7D-B5A5-6ED46831A0EF/Documents/FlyThePilotHelperTest.content
Thread started: #3
2020-12-01 16:57:19.850 Xamarin.PreBuilt.iOS[9394:2038055] Forms app path /var/mobile/Containers/Data/Application/3F6FCDAC-F790-4C7D-B5A5-6ED46831A0EF/Documents/FlyThePilotHelperTest.content/FlyThePilotHelperTest.exe
Loaded assembly: /private/var/mobile/Containers/Data/Application/3F6FCDAC-F790-4C7D-B5A5-6ED46831A0EF/Documents/FlyThePilotHelperTest.content/FlyThePilotHelperTest.exe [External]
Loaded assembly: /private/var/mobile/Containers/Data/Application/3F6FCDAC-F790-4C7D-B5A5-6ED46831A0EF/Documents/FlyThePilotHelperTest.content/Xamarin.Forms.Platform.iOS.dll [External]
2020-12-01 16:57:19.880 Xamarin.PreBuilt.iOS[9394:2038055] Xamarin.Forms AppDelegate name: AppDelegate
=================================================================
Native Crash Reporting
Got a segv while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Native stacktrace:
0x100d44120 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : mono_dump_native_crash_info
0x100d3acbc - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : mono_handle_native_crash
0x100d47a60 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : mono_sigsegv_signal_handler_debug
0x1d60fa290 - /usr/lib/system/libsystem_platform.dylib : <redacted>
0x18c92da78 - /usr/lib/system/libdyld.dylib : <redacted>
0x18c91e84c - /usr/lib/system/libdyld.dylib : <redacted>
0x18c92d8a4 - /usr/lib/system/libdyld.dylib : <redacted>
0x18c91f18c - /usr/lib/system/libdyld.dylib : <redacted>
0x18c92e344 - /usr/lib/system/libdyld.dylib : <redacted>
0x100dfe504 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : mono_runtime_exec_main_checked
0x100d2f8f4 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : mono_jit_exec
0x100ee1a5c - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : xamarin_main
0x100cf6ea8 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : main
0x18c91d6c0 - /usr/lib/system/libdyld.dylib : <redacted>
=================================================================
Basic Fault Address Reporting
Memory around native instruction pointer (0x10a66f11c):0x10a66f10c
0x100ee3f88 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : interp_runtime_invoke
0x100d4ad3c - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : mono_jit_runtime_invoke
0x100df9260 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : mono_runtime_invoke_checked
0x18c92de2c - /usr/lib/system/libdyld.dylib : <redacted>
0x18c92fd14 - /usr/lib/system/libdyld.dylib : <redacted>
0x18c921d44 - /usr/lib/system/libdyld.dylib : <redacted>
0x100ef0a48 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : do_icall
0x100eef0e8 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : do_icall_wrapper
0x100ee5b64 - /private/var/containers/Bundle/Application/8D62ECA0-60B2-489C-9D47-2396DB27933A/FlyThePilotHelperTest.app/Xamarin.PreBuilt.iOS : interp_exec_method_full
c3 bc
00 94 e0 03 13 aa 5f 00 03 94 20 00 20 d4 ........_... . .
0x10a66f11c f4 4f be a9 fd 7b 01 a9 fd 43 00 91 73 09 00 b0 .O...{...C..s...
0x10a66f12c 73 82 2b 91 61 08 00 b0 21 38 2f 91 e0 03 13 aa s.+.a...!8/.....
0x10a66f13c 02 00 ae 52 63 bc 00 94 60 82 01 91 ce bc 00 94 ...Rc...`.......
=================================================================
Managed Stacktrace:
at <unknown> <0xffffffff>
at ObjCRuntime.Dlfcn:_dlopen <0x00026>
at ObjCRuntime.Dlfcn:dlopen <0x00010>
at Xamarin.PreBuilt.iOS.Applications:LoadFrameworks <0x0009e>
at Xamarin.PreBuilt.iOS.Applications:Main <0x00202>
at <Module>:runtime_invoke_direct_void_string[] <0x00092>
=================================================================
Thread started: #4
Thread started: #5
Thread started: #6
Thread started: #7
Die App wurde beendet.
`
Used Versions:
Microsoft Visual Studio Community 2019
Version 16.8.2
VisualStudio.16.Release/16.8.2+30717.126
Microsoft .NET Framework
Version 4.8.04084
Installierte Version: Community
Allgemeine Azure-Tools 1.10
Bietet allgemeine Dienste für die Verwendung durch Azure Mobile Services und Microsoft Azure-Tools.
ASP.NET and Web Tools 2019 16.8.553.28003
ASP.NET and Web Tools 2019
ASP.NET Core Razor Language Services 16.1.0.2052803+84e121f1403378489b842e1797df2f3f5a49ac3c
Provides languages services for ASP.NET Core Razor.
Azure App Service-Tools v3.0.0 16.8.553.28003
Azure App Service-Tools v3.0.0
C#-Tools 3.8.0-5.20567.16+53c5d7d3cf13d88978744a32a27c5f8350a8400a
C#-Komponenten, die in der IDE verwendet werden. Abhängig von Ihrem Projekttyp und den zugehörigen Einstellungen kann eine andere Version des Compilers verwendet werden.
Extensibility Message Bus 1.2.6 (master@34d6af2)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
GitHub.VisualStudio 2.11.106.19330
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
IntelliCode-Erweiterung 1.0
Detaillierte Informationen zur IntelliCode Visual Studio-Erweiterung
Microsoft Continuous Delivery Tools für Visual Studio 0.4
Die Konfiguration von Azure DevOps-Pipelines von der Visual Studio-IDE aus wird vereinfacht.
Microsoft JVM Debugger 1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger 1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio-Tools für Container 1.1
Jetzt können Sie Ihre ASP.NET Core-Anwendung in der Zielumgebung entwickeln, ausführen und überprüfen. Drücken Sie F5, um die Anwendung direkt in einem Container mit Debugfunktionen auszuführen, oder STRG+F5 zum Bearbeiten und Aktualisieren Ihrer Anwendung, ohne den Container erneut erstellen zu müssen.
Mono Debugging for Visual Studio 16.8.43 (00471f8)
Support for debugging Mono processes with Visual Studio.
NuGet-Paket-Manager 5.8.0
NuGet-Paket-Manager in Visual Studio. Weitere Informationen zu NuGet finden Sie unter https://docs.nuget.org/.
ProjectServicesPackage Extension 1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
SQL Server Data Tools 16.0.62010.06180
Microsoft SQL Server Data Tools
TypeScript-Tools 16.0.21016.2001
TypeScript-Tools für Microsoft Visual Studio
Visual Basic-Tools 3.8.0-5.20567.16+53c5d7d3cf13d88978744a32a27c5f8350a8400a
Visual Basic-Komponenten, die in der IDE verwendet werden. Abhängig von Ihrem Projekttyp und den zugehörigen Einstellungen kann eine andere Version des Compilers verwendet werden.
Visual F# Tools 16.8.0-beta.20507.4+da6be68280c89131cdba2045525b80890401defd
Microsoft Visual F# Tools
Visual Studio-Tools für Container 1.0
Visual Studio-Tools für Container
Visual Studio Code-Debugadapter-Hostpaket 1.0
Interopebene zum Hosten der Visual Studio Code-Adapter in Visual Studio
Visual Studio Container Tools Extensions 1.0
Hiermit werden Container in Visual Studio angezeigt, verwaltet und diagnostiziert.
VisualStudio.DeviceLog 1.0
Informationen zum Paket
VisualStudio.Foo 1.0
Information about my package
VisualStudio.Mac 1.0
Mac Extension for Visual Studio
Xamarin 16.8.000.255 (d16-8@d002176)
Visual Studio-Erweiterung, um Entwicklung für Xamarin.iOS und Xamarin.Android zu ermöglichen.
Xamarin Designer 16.8.0.507 (remotes/origin/d16-8@e87b24884)
Visual Studio-Erweiterung zum Aktivieren der Xamarin Designer-Tools in Visual Studio.
Xamarin Templates 16.8.112 (86385a3)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Forms 4.8.0.1687
Xamarin.Android SDK 11.1.0.17 (d16-8/c0e2b8e)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: be2226b
Java.Interop: xamarin/java.interop/d16-8@79d9533
ProGuard: Guardsquare/proguard@ebe9000
SQLite: xamarin/sqlite@1a3276b
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-8@2fb1cbc
Xamarin.iOS and Xamarin.Mac SDK 14.4.1.3 (e30c41de3)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.