Bug report - Rhino 8.25 Crashes opening my .gh file

BUG REPORT: Stack Overflow Crash Opening Grasshopper Files with Missing Components

SUMMARY:
Rhino 8.25 and Rhino 9 crash with stack overflow (0xc00000fd) when opening .gh files containing components from missing plugins. Crash occurs during ExtractObject before UI is shown, making file recovery impossible.

STEPS TO REPRODUCE:

  1. Create .gh file with component from custom plugin (e.g., ManagerTest.gha)
  2. Remove plugin .gha file from Libraries folder
  3. Open .gh file in Rhino 8.25 or 9
  4. Result: Immediate crash with stack overflow

EXPECTED:

  • Show “Unrecognized Objects” dialog
  • Display placeholder objects
  • Allow file to open and components to be removed

ACTUAL:

  • Crash during ExtractObject before UI shown
  • Crash occurs even with solver disabled
  • No way to recover file

ERROR:
Exception code: 0xc00000fd (STATUS_STACK_OVERFLOW)
Occurs in GH_Archive.ExtractObject() when deserializing missing component
Component initialization code executes during deserialization, causing circular dependency

IMPACT: HIGH

  • Files become completely unusable
  • No recovery path
  • Affects Rhino 8.25 and 9
  • Data loss risk

WORKAROUNDS:

  • Opening with solver disabled: Doesn’t work (crash before solver)
  • Programmatic removal: Doesn’t work (crash before document loads)
  • Opening in older Rhino: Works but file still crashes in 8.25/9

REQUESTED FIX:

  1. Defer component initialization during ExtractObject
  2. Better error handling - catch init errors, create placeholders instead of crashing
  3. Recovery mode for problematic files
  4. Validate plugin availability before deserializing components

ENVIRONMENT:

  • Rhino: 8.25.25314.11001 (also Rhino 9)
  • OS: Windows 10.0.26200
  • .NET: 4.8

CONTACT:
Phil Southwell

mail.yachtsoft@gmail.com

Plugin: HullZero (YachtSoft)
Date: December 2024

Rhino 8 SR25 2025-11-10 (Rhino 8, 8.25.25314.11001, Git hash:master @ 305475a429872768e321960d34ed215b72a0da18)
License type: Commercial, build 2025-11-10
License details: Cloud Zoo

Windows 11 (10.0.26200 SR0.0) or greater (Physical RAM: 64GB)
.NET 8.0.20

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 3080 (NVidia) Memory: 10GB, Driver date: 8-14-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 560.94

Accelerated graphics device with 4 adapter port(s)

  • Windows Main Display attached to adapter port #0
  • Secondary monitor attached to adapter port #1

Secondary graphics devices.
Intel(R) UHD Graphics 770 (Intel) Memory: 2GB, Driver date: 10-18-2024 (M-D-Y).

Integrated graphics device with 4 adapter port(s)

  • There are no monitors attached to this device!

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
GPU Tessellation is: On
Redraw scene when viewports are exposed: On
Graphics level being used: OpenGL 4.6 (primary GPU’s maximum)

Anti-alias mode: 4x
Mip Map Filtering: Linear
Anisotropic Filtering Mode: High

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 8-14-2024
Driver Version: 32.0.15.6094
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 10 GB

Rhino plugins that do not ship with Rhino
C:\Users\phils\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\rhinopbrmaterial\1.1.4+v6.16\RhinoPbrMaterial.rhp “RhinoPbrMaterial” 1.1.2.0
C:\Users\phils\AppData\Roaming\McNeel\Rhinoceros\8.0\Plug-ins\TeDAsharp (ce983e9d-72de-4a79-8832-7c374e6e26de)\1.0.8405.22062\TeDaSharp_060.rhp “TeDAsharp” 1.0.8405.22062

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.25.25314.11001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\AnimationTools.rhp “AnimationTools”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.25.25314.11001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.25.25314.11001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.25.25314.11001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.25.25314.11001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.25.25314.11001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.25.25314.11001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”
C:\Users\phils\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\PanelingTools\2024.8.20.677\PanelingTools.rhp “PanelingTools”

I cannot uninstall 8.25 to install 8.21. I have uninstalled 9 and 8 but I still get this:

How can I continue to work when I cannot open my file and cannot uninstall Rhino and re-install a version that worked?

@cerfdude sorry for the late response,

Did you manage to get your Rhino working again? If so, can you post your systeminfo again?

Are you using any tools for registry cleaning (e.g. CCleaner?)

Did you try a repair of Rhino rather than a reinstall?

I am not running anything and I first tried to repair but that didn’t help. As you have been communicating with Dave Kay, I took your advice and tried to roll back to the earlier version you sent through. However I cannot install after uninstalling as it shows this:


But it hasn’t unistalled as a shortcut returns this:

I cannot manually delete the directory as it says it is open in another program:

I did manage to remove all the ristry entries and then deleted the files below \Rhino 8 \system. one by one and finally got the earlier version installed. Could you have a look at this issue please?

That was put on the list as RH-90835 Rhino crashes in 8.25 with this gh file
-wim