How do you stop the C11 IDE from hanging when it displays an Error in the Errors app pad

So if I get an error appear in the Errors app pad, the IDE just hangs, cpu fan starts whirling up and then after several minutes I get a Windows error telling me the IDE has stopped responding.

There is a really helpful error which appears when this happens, thats behind the IDE so you never get to see it as the z-order and focus is awry on some windows.

Generator
Object Reference not set to an instance of object

Clarion Version : 11.0.0.13244
.NET Version : 4.0.30319.42000
OS Version : Microsoft Windows NT 6.2.9200.0
Current culture : English (United Kingdom) (en-GB)
Working Set Memory : 269664kb
GC Heap Memory : 21385kb

Unhandled exception
Exception Type: System.ObjectDisposedException

Exception Type: System.ObjectDisposedException

Exception thrown:
System.ObjectDisposedException: Cannot access a disposed object.
Object name: ‘DefaultWorkbench’.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.GetSafeHandle(IWin32Window window)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at Clarion.GEN.ThreadSafeSelectDictionaryDialog.DoDialog()
at Clarion.ASL.ThreadSafeDialog.ShowDialog()
at Clarion.GEN.GeneratorUI.GetReplaceDictionary(GeneratorUI* , IStringVal* dictionary)

I’m not on Windows 8 either.

The error report is using GetVersionExA function (sysinfoapi.h) - Win32 apps | Microsoft Docs
OSVERSIONINFOEXA (winnt.h) - Win32 apps | Microsoft Docs
which doesnt work properly.

The correct version of windows.

Edition Windows 10 Pro
Version 20H2
Installed on ‎03/‎11/‎2020
OS build 19042.868
Experience Windows Feature Experience Pack 120.2212.551.0

March 15th update.
March 15, 2021—KB5001567 (OS Builds 19041.868 and 19042.868) Out-of-band (microsoft.com)