MissionPlanner crash when connecting to Pixhawk

Ubuntu 22.04.1 jammy
Mono v6.12.0.182
MissionPlanner v1.3.7 build 1.3.8110.38294

I’m a noob to the world of drones.
I have seen similar posts on this issue but none resolved.

My MissionPlanner hangs/crashes on two separate events:

Hang on start up
When the app loads the menu bar icons are blank. The popup dialog that is shown after the program loads has no text (the window title bar does) or buttons to dismiss it (graphics problem?) which requires a kill.

Sometimes the program will successfully load.

Crash on Connect to Pixhawk

After successful load, clicking on the connect button pops up a dialog that reads “Connecting to Mavlink” then shows a second dialog, “Getting Parameters” that is a progress of retrieval of parameters from the Pixhawk. That completes successfully followed by a final dialog “New Firmware-Copter 4.2.3”. MissionPlanner then crashes a few seconds later.

This happens 99% of the time, but not always! Very rarely, the connection to the Pixhawk succeeds and I’m on my merry way. In this case I can connect, disconnect and reconnect to the Pixhawk consistently. I will never close MissionPlanner in this scenario because it can take a few DAYS of trying intermittently several times a day to get the Pixhawk connection. This makes the app unusable.

I need help reading the log file. What kind of problems, entries should I be looking for?

This is the tail end of the log file for the connect crash (clearly there is a problem but I have no clue on how to proceed):

INFO MissionPlanner.Utilities.Airports - getAirports - regen list
INFO MissionPlanner.Utilities.Airports - getAirports done 0.000931 sec
INFO MissionPlanner.MAVLinkInterface - 994 got param 813 of 818 name: FHLD_FLOW_MAX 0.6
INFO MissionPlanner.MAVLinkInterface - 994 got param 814 of 818 name: FHLD_FILT_HZ 5
bps 1063 loss 0 left 77 mem 119.005859375 mav2 True sign False mav1 0 mav2 30 signed 0
HUD 10 hz drawtime 2 gl True
INFO MissionPlanner.MAVLinkInterface - 97 got param 815 of 818 name: FHLD_QUAL_MIN 10
INFO MissionPlanner.MAVLinkInterface - 97 got param 816 of 818 name: FHLD_BRAKE_RATE 8
INFO MissionPlanner.MAVLinkInterface - 196 got param 817 of 818 name: FOLL_ENABLE 0
INFO MissionPlanner.MAVLinkInterface - list count 818, rcvd total 818 indexseen count 818
INFO MissionPlanner.Controls.ProgressReporterDialogue - DoWork Done
INFO MissionPlanner.ArduPilot.APFirmware - https://firmware.ardupilot.org/manifest.json.gz
INFO MissionPlanner.MainV2 - Saving config
Bad config key /dev/serial/by-id/usb-3D_Robotics_PX4_FMU_v2.x_0-if00_BAUD
bps 1345 loss 0 left 77 mem 111.8515625 mav2 True sign False mav1 0 mav2 44 signed 0
HUD 7 hz drawtime 2 gl True
INFO MissionPlanner.ArduPilot.APFirmware - 29802
INFO MissionPlanner.Utilities.VersionDetection - ArduCopter V3.6.8 (2f409678)
INFO MissionPlanner.Utilities.VersionDetection - 3.6.8

Native Crash Reporting

Got a SIGABRT 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:

0x56240b93dffb - mono : 
0x56240b93e38d - mono : 
0x56240b8eb087 - mono : 
0x56240b93d57c - mono : 
0x7fd726bd7520 - /lib/x86_64-linux-gnu/libc.so.6 : 
0x7fd726c2ba7c - /lib/x86_64-linux-gnu/libc.so.6 : pthread_kill
0x7fd726bd7476 - /lib/x86_64-linux-gnu/libc.so.6 : raise
0x7fd726bbd7f3 - /lib/x86_64-linux-gnu/libc.so.6 : abort
0x7fd726bbd71b - /lib/x86_64-linux-gnu/libc.so.6 : 
0x7fd726bcee96 - /lib/x86_64-linux-gnu/libc.so.6 : 
0x7fd721948f85 - /lib/x86_64-linux-gnu/libX11.so.6 : _XRead
0x7fd7219491c5 - /lib/x86_64-linux-gnu/libX11.so.6 : _XRead32
0x7fd72192ca0d - /lib/x86_64-linux-gnu/libX11.so.6 : XListFontsWithInfo
0x7fd721985360 - /lib/x86_64-linux-gnu/libX11.so.6 : 
0x7fd721937fd3 - /lib/x86_64-linux-gnu/libX11.so.6 : XCreateOC
0x7fd72192d0b3 - /lib/x86_64-linux-gnu/libX11.so.6 : XCreateFontSet
0x41bc8aaf - Unknown

Telemetry Dumper:

Pkilling 0x140561054946880x from 0x140558801565248x
Pkilling 0x140559306122816x from 0x140558801565248x
Pkilling 0x140561057048128x from 0x140558801565248x
Pkilling 0x140558766126656x from 0x140558801565248x
Pkilling 0x140561995146816x from 0x140558801565248x
Pkilling 0x140561276515904x from 0x140558801565248x
Pkilling 0x140561059149376x from 0x140558801565248x
Pkilling 0x140559789827648x from 0x140558801565248x
Pkilling 0x140561843852864x from 0x140558801565248x
Pkilling 0x140559791928896x from 0x140558801565248x
Pkilling 0x140561299637824x from 0x140558801565248x
Pkilling 0x140561845954112x from 0x140558801565248x
Pkilling 0x140561848055360x from 0x140558801565248x
Pkilling 0x140561850156608x from 0x140558801565248x
Pkilling 0x140561262831168x from 0x140558801565248x
Pkilling 0x140558787065408x from 0x140558801565248x
Pkilling 0x140561301841472x from 0x140558801565248x
Pkilling 0x140559653418560x from 0x140558801565248x
Pkilling 0x140561838237248x from 0x140558801565248x
Pkilling 0x140561835726400x from 0x140558801565248x
Pkilling 0x140559301920320x from 0x140558801565248x
Pkilling 0x140561840338496x from 0x140558801565248x
Pkilling 0x140559310124608x from 0x140558801565248x
Pkilling 0x140561052845632x from 0x140558801565248x
Pkilling 0x140561046042176x from 0x140558801565248x
Pkilling 0x140559304021568x from 0x140558801565248x
Pkilling 0x140562044371968x from 0x140558801565248x
Pkilling 0x140561293264448x from 0x140558801565248x
Entering thread summarizer pause from 0x140558801565248x
Finished thread summarizer pause from 0x140558801565248x.
Failed to create breadcrumb file (null)/crash_hash_0xd73c41f08

Waiting for dumping threads to resume
bps 1585 loss 0 left 880 mem 264.0107421875 mav2 True sign False mav1 0 mav2 53 signed 0

Basic Fault Address Reporting

Memory around native instruction pointer (0x7fd726c2ba7c):0x7fd726c2ba6c 05 00 44 89 e2 89 ee 89 c7 b8 ea 00 00 00 0f 05 …D…
0x7fd726c2ba7c 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A…A…=…
0x7fd726c2ba8c 44 0f 46 e8 e9 6d ff ff ff 0f 1f 00 48 89 ef e8 D.F…m…H…
0x7fd726c2ba9c 10 a8 ff ff e9 29 ff ff ff 0f 1f 00 48 89 ef e8 …)…H…

Managed Stacktrace:

  at <unknown> <0xffffffff>
  at System.Windows.Forms.X11Keyboard:XCreateFontSet <0x000ce>
  at System.Windows.Forms.X11Keyboard:CreateOverTheSpotXic <0x000e7>
  at System.Windows.Forms.X11Keyboard:CreateXic <0x00117>
  at System.Windows.Forms.X11Keyboard:CreateXicForWindow <0x00053>
  at System.Windows.Forms.X11Keyboard:FocusIn <0x000c7>
  at System.Windows.Forms.XplatUIX11:SetFocus <0x000f3>
  at System.Windows.Forms.XplatUI:SetFocus <0x0003c>
  at System.Windows.Forms.ContainerControl:SendControlFocus <0x000c7>
  at System.Windows.Forms.Form:SetVisibleCore <0x00517>
  at System.Windows.Forms.Control:set_Visible <0x0004b>
  at System.Windows.Forms.Control:set_Visible <0x00083>
  at System.Windows.Forms.Application:RunLoop <0x003df>
  at System.Windows.Forms.Form:ShowDialog <0x0091f>
  at System.Windows.Forms.Form:ShowDialog <0x0002b>
  at System.Windows.Forms.Form:ShowDialog <0x00073>
  at MissionPlanner.Common:MessageShowAgain <0x010c3>
  at <>c__DisplayClass114_0:<doConnect>b__3 <0x0049f>
  at System.Threading.Tasks.Task:InnerInvoke <0x00063>
  at System.Threading.Tasks.Task:Execute <0x00037>
  at System.Threading.Tasks.Task:ExecutionContextCallback <0x0005f>
  at System.Threading.ExecutionContext:RunInternal <0x001a7>
  at System.Threading.ExecutionContext:Run <0x00042>
  at System.Threading.Tasks.Task:ExecuteWithThreadLocal <0x000f6>
  at System.Threading.Tasks.Task:ExecuteEntry <0x000e8>
  at System.Threading.Tasks.Task:System.Threading.IThreadPoolWorkItem.ExecuteWorkItem <0x00026>
  at System.Threading.ThreadPoolWorkQueue:Dispatch <0x0028a>
  at System.Threading._ThreadPoolWaitCallback:PerformWaitCallback <0x0001c>
  at <Module>:runtime_invoke_bool <0x00086>