Skip to content

MacOS App is crashing during the start #3629

@yevhenkainaraideals

Description

@yevhenkainaraideals

It started somewhere in the middle of October. Previous builds works well on MacOS Tahoe 26.1 (25B78)

Logs during startup

objc[13414]: Class NSURLSessionDelegate is implemented in both /System/Library/PrivateFrameworks/NetworkServiceProxy.framework/Versions/A/NetworkServiceProxy (0x7ff945583810) and /Users/user/Downloads/Mission Planner.app/Contents/MacOS/Mission Planner (0x1033aa4b8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
ScaledScreenSize {Width=1920 Height=1080}
PixelScreenSize {Width=3840 Height=2160}
Final Size {Width=1920 Height=1080}

MainWindow_DidResize {Width=1024, Height=824}
[3] DEBUG MissionPlanner.Program 31MB - Loaded: System.Windows.Forms, Version=4.0.0.1, Culture=neutral, PublicKeyToken=b77a5c561934e089 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Windows.Forms.dll
If your error is about Microsoft.DirectX.DirectInput, please install the latest directx redist from here http://www.microsoft.com/en-us/download/details.aspx?id=35 


Debug under mono    MONO_LOG_LEVEL=debug mono MissionPlanner.exe
To fix any filename case issues under mono use    export MONO_IOMAP=drive:case
for pinvoke      MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll mono MissionPlanner.exe
watch -n 1 ls -l /proc/$(pidof mono)/fd
watch -n 1 lsof -p $(pidof mono)
Data Dir /Users/user/.local/share/Mission Planner/
Log Dir /Users/user/.local/share/Mission Planner/logs
Running Dir /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/
User Data Dir /Users/user/.local/share/Mission Planner/
PlacesRecentDocuments Dir 
PlacesDesktop Dir /Users/user/Desktop
PlacesPersonal Dir /Users/user
PlacesMyComputer Dir 
log4net:ERROR Failed to find configuration section 'log4net' in the application's .config file. Check your .config file for the <log4net> and <configSections> elements. The configuration section should look like: <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
log4net:ERROR Failed to find configuration section 'log4net' in the application's .config file. Check your .config file for the <log4net> and <configSections> elements. The configuration section should look like: <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler,log4net" />
[3] INFO  MissionPlanner.Program 31MB - ******************* Logging Configured *******************
[3] DEBUG MissionPlanner.Program 31MB - Loaded: System.Resources.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Resources.Extensions.dll
[3] DEBUG MissionPlanner.Program 31MB - Loaded: netstandard, Version=2.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/netstandard.dll
[3] DEBUG MissionPlanner.Program 31MB - Loaded: System.Memory, Version=4.0.99.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Memory.dll
[3] DEBUG MissionPlanner.Program 31MB - Loaded: System.Resources.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Resources.Extensions.dll
[3] DEBUG MissionPlanner.Program 31MB - Loaded: System.Drawing, Version=4.0.0.2, Culture=neutral, PublicKeyToken=b77a5c561934e089 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Drawing.dll
[3] INFO  MissionPlanner.Program 31MB - /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/x64/libSkiaSharp
[3] ERROR MissionPlanner.Program 31MB - System.DllNotFoundException: libdl.so assembly:<unknown assembly> type:<unknown type> member:(null)
  at (wrapper managed-to-native) MissionPlanner.Utilities.NativeLibrary.dlopen(string,int)
  at MissionPlanner.Program.Start (System.String[] args) [0x003d1] in <5144d3dbd456407ea5503bb6a9efef23>:0 
FromHwnd
[3] DEBUG MissionPlanner.Program 31MB - Loaded: System.Drawing, Version=4.0.0.2, Culture=neutral, PublicKeyToken=b77a5c561934e089 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Drawing.dll
[3] DEBUG MissionPlanner.Program 32MB - Loaded: System.Resources.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Resources.Extensions.dll
[3] DEBUG MissionPlanner.Program 32MB - Loaded: System.Resources.Extensions, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Resources.Extensions.dll
[3] DEBUG MissionPlanner.Program 32MB - Loaded: System.Drawing, Version=4.0.0.2, Culture=neutral, PublicKeyToken=b77a5c561934e089 from /Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/System.Drawing.dll
[3] ERROR MissionPlanner.Program 32MB - Assembly[] {}
[3] DEBUG MissionPlanner.Program 32MB - System.NotSupportedException: TypeConverter cannot convert from System.Byte[].
  at System.ComponentModel.TypeConverter.GetConvertFromException (System.Object value) [0x0003e] in <381a4f5c7c4942ca9815982241f9fcae>:0 
  at System.ComponentModel.TypeConverter.ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, System.Object value) [0x00011] in <381a4f5c7c4942ca9815982241f9fcae>:0 
  at System.ComponentModel.TypeConverter.ConvertFrom (System.Object value) [0x00007] in <381a4f5c7c4942ca9815982241f9fcae>:0 
  at System.Resources.Extensions.DeserializingResourceReader.DeserializeObject (System.Int32 typeIndex) [0x00121] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.DeserializingResourceReader._LoadObjectV2 (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x0033f] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.DeserializingResourceReader.LoadObjectV2 (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x00000] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.DeserializingResourceReader.LoadObject (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x00022] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.RuntimeResourceSet.ReadValue (System.Resources.Extensions.DeserializingResourceReader reader, System.Int32 dataPos, System.Boolean isString, System.Resources.Extensions.ResourceLocator& locator) [0x0000f] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.RuntimeResourceSet.GetObject (System.String key, System.Boolean ignoreCase, System.Boolean isString) [0x00090] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.RuntimeResourceSet.GetObject (System.String key, System.Boolean ignoreCase) [0x00000] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x0008e] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in <55335301af774faf8fc40779afb6f275>:0 
  at MissionPlanner.Splash.InitializeComponent () [0x0025e] in <5144d3dbd456407ea5503bb6a9efef23>:0 
  at MissionPlanner.Splash..ctor () [0x00006] in <5144d3dbd456407ea5503bb6a9efef23>:0 
  at (wrapper remoting-invoke-with-check) MissionPlanner.Splash..ctor()
  at MissionPlanner.Program.Start (System.String[] args) [0x0044e] in <5144d3dbd456407ea5503bb6a9efef23>:0 
  at MissionPlanner.Program.Main (System.String[] args) [0x00000] in <5144d3dbd456407ea5503bb6a9efef23>:0 
  at Xamarin.GCSViews.WinForms+<>c.<StartThreads>b__27_0 () [0x0001e] in <85316f67e4a74d5d818c74356f0f3b7f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <55335301af774faf8fc40779afb6f275>:0 
[3] INFO  MissionPlanner.Program 32MB - Th Name 
CustomMessageBox.Show
2025-12-03 09:10:45.113 Mission Planner[13414:14445236] warning: exception inside UnhandledException handler: (null) assembly:/Users/user/Downloads/Mission Planner.app/Contents/MonoBundle/mscorlib.dll type:Exception member:(null)
[ERROR] FATAL UNHANDLED EXCEPTION: System.NotSupportedException: TypeConverter cannot convert from System.Byte[].
  at System.ComponentModel.TypeConverter.GetConvertFromException (System.Object value) [0x0003e] in <381a4f5c7c4942ca9815982241f9fcae>:0 
  at System.ComponentModel.TypeConverter.ConvertFrom (System.ComponentModel.ITypeDescriptorContext context, System.Globalization.CultureInfo culture, System.Object value) [0x00011] in <381a4f5c7c4942ca9815982241f9fcae>:0 
  at System.ComponentModel.TypeConverter.ConvertFrom (System.Object value) [0x00007] in <381a4f5c7c4942ca9815982241f9fcae>:0 
  at System.Resources.Extensions.DeserializingResourceReader.DeserializeObject (System.Int32 typeIndex) [0x00121] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.DeserializingResourceReader._LoadObjectV2 (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x0033f] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.DeserializingResourceReader.LoadObjectV2 (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x00000] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.DeserializingResourceReader.LoadObject (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x00022] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.RuntimeResourceSet.ReadValue (System.Resources.Extensions.DeserializingResourceReader reader, System.Int32 dataPos, System.Boolean isString, System.Resources.Extensions.ResourceLocator& locator) [0x0000f] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.RuntimeResourceSet.GetObject (System.String key, System.Boolean ignoreCase, System.Boolean isString) [0x00090] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.Extensions.RuntimeResourceSet.GetObject (System.String key, System.Boolean ignoreCase) [0x00000] in <9e0c46f8e5bb4f40ae8cf4d8c19695f2>:0 
  at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x0008e] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in <55335301af774faf8fc40779afb6f275>:0 
  at MissionPlanner.Splash.InitializeComponent () [0x0025e] in <5144d3dbd456407ea5503bb6a9efef23>:0 
  at MissionPlanner.Splash..ctor () [0x00006] in <5144d3dbd456407ea5503bb6a9efef23>:0 
  at (wrapper remoting-invoke-with-check) MissionPlanner.Splash..ctor()
  at MissionPlanner.Program.Start (System.String[] args) [0x0044e] in <5144d3dbd456407ea5503bb6a9efef23>:0 
  at MissionPlanner.Program.Main (System.String[] args) [0x00000] in <5144d3dbd456407ea5503bb6a9efef23>:0 
  at Xamarin.GCSViews.WinForms+<>c.<StartThreads>b__27_0 () [0x0001e] in <85316f67e4a74d5d818c74356f0f3b7f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00014] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00071] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x0002b] in <55335301af774faf8fc40779afb6f275>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00008] in <55335301af774faf8fc40779afb6f275>:0 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions