Parsing of Grasshopper.Kernel raises Unhandled Exception (UI alert, then crash):
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
at UnsafeNativeMethods.CRhinoDisplayConduit_SetCallback(Int32 which, ConduitCallback cb, ReportCallback reportcb)
at Rhino.Display.DisplayPipeline.remove_CalculateBoundingBoxZoomExtents(EventHandler`1 value)
at Grasshopper.Kernel.GH_Document.Finalize()
Possible solutions:
Edit process_one to handle error
Create module blacklist and skip misbehaving modules
Parsing of Grasshopper.Kernel raises Unhandled Exception (UI alert, then crash):
Possible solutions: