Rhino closing at semi-random moments

I don’t remember if I reported it in the past, but the problem still exists with VA 2.15.5.
I have an issue with VisualARQ closing at semi-random moments. What I mean by that is that happens at different stages of dealing with GH Styles. It’s not a crash with a crash popup afterward, Rhino freezes for a couple of seconds and then closes.

It can happen when clicking here and it can happen at the latter stage of configuring grasshopper style.
Tricky thing is that I can’t 100% reproduce it every time. It can happen a couple of times in a row and work fine after that.

Right now chances that my Rhino will close are way above 50% so it’s a pretty serious problem.

Are you aware of this issue? Any other user experienced something similar?

System Info

Rhino 7 SR19 2022-5-30 (Rhino 7, 7.19.22150.13001, Git hash:master @ b58c8f065217dbdd9b941fdb3577669355ae666b)
License type: Educational, build 2022-05-30
License details: Cloud Zoo

Windows 10 (10.0.19044 SR0.0) or greater (Physical RAM: 32Gb)

Computer platform: LAPTOP - Plugged in [93% battery remaining]

Non-hybrid graphics configuration.
Primary display and OpenGL: NVIDIA GeForce GTX 1070 (NVidia) Memory: 8GB, Driver date: 4-20-2022 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 512.59
> Integrated accelerated graphics device with 4 adapter port(s)
- Secondary monitor is laptop’s integrated screen or built-in port
- Windows Main Display attached to adapter port #1

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: 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: 4-20-2022
Driver Version:
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 8 GB

Rhino plugins that do not ship with Rhino
C:\Program Files\Rhino WIP\Plug-ins\Karamba\License\Karamba3D_LicensePlugin_Rhino7.rhp “Karamba3DLicense”
C:\Program Files\Rhino 7\Plug-ins\Tibidabo\Tibidabo.rhp “Tibidabo”
C:\Users\USER\Desktop\KABEL Render\HDRLightStudioTexture.rhp “HDRLightStudioTexture”
C:\Program Files\Rhino WIP\Plug-ins\Crayon1.1.1\Crayon.rhp “Crayon”
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\7.0\Plug-ins\ClippingBox (4dfff1df-5f09-43ae-a044-77b115244b02)\\Rhino 6\ClippingBox.rhp “ClippingBox”
C:\Users\USER\AppData\Roaming\Grasshopper\Libraries\Elefront500\ElefrontProperties.rhp “ElefrontProperties”
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\AntFarm\0.0.24-beta\AntFarm.rhp “AntFarm”
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\AntFarmIO\0.0.24-beta\AntFarmIO.rhp “AntFarmIO”
C:\Program Files\Rhino 7\Plug-ins\Tibidabo\VisualARQ.rhp “VisualARQ”
C:\ProgramData\McNeel\Rhinoceros\7.0\Plug-ins\Datasmith Rhino Exporter (d1fdc795-b334-4933-b680-088119cdc6bb)\DatasmithRhino7.rhp “Datasmith Exporter”
C:\Program Files\SimLab\Plugins\SimLab USDZ From Rhino\SimLabUSDZExporter.rhp “SimLab USDZ Exporter”
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\ColorPicker\6.0.0\ColorPicker.rhp “ColorPicker”
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\IntelDenoiser\0.6.3\IntelDenoiser.Windows.rhp “IntelDenoiser.Windows”
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\NVIDIADenoiser\0.4.1\NVIDIADenoiser.Windows.rhp “NVIDIADenoiser.Windows”
C:\Users\USER\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\SubstanceImporter\2.0.1\Substance.Win.rhp “SubstanceImporter”

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 7\Plug-ins\Commands.rhp “Commands” 7.19.22150.13001
C:\Program Files\Rhino 7\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 7.19.22150.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.19.22150.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 7.19.22150.13001
C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp “RhinoCycles” 7.19.22150.13001
C:\Program Files\Rhino 7\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 7.19.22150.13001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.19.22150.13001
C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

It can happen when clicking here or at the later stages of configuring GH Style

Another popular moment for the crash

This thing - I don’t see it after the crash, Rhino just closes

Hi @Czaja,

Does it happen in an specific file or it doesn’t matter in which file you are working?

Doesn’t matter

@Czaja, the next time you experience this crash, a .DMP file will be generated in your desktop. Rename this file BEFORE closing the Rhino crash message (otherwise another useless .DMP file will replace it) and send it to us. That way we can figure out what’s happening.

The thing is that Rhino doesn’t crash, it shuts down immediately. No warning, no error, nothing, just disappears.

Sorry, I missed that comment.
From the Windows Task Manager there is an option to create that crashdump, if you select the Rhino process. But it is a bit tricky since you need to select that option in the same moment when the crash happens.
If you can share any file where this happens we will try to reproduce our selves. Does the definition include some components from other GH add-ons?

Can you find events stating Rhino.exe terminated unexpectedly in the event viewer (Win+X, event viewer)?

  • For .NET related errors: Source: .NET Runtime; Event ID: 1026
  • For general crashes: Source: Application Error; Event ID: 1000

Great tip Keyu Gan, it didn’t take long to capture it.

Faulting application name: Rhino.exe, version: 7.19.22150.13001, time stamp: 0x629529c0
Faulting module name: ntdll.dll, version: 10.0.19041.1682, time stamp: 0x7b5414ec
Exception code: 0xc0000374
Fault offset: 0x00000000000ff249
Faulting process ID: 0x2e0c
Faulting application start time: 0x01d87f3867a45ad8
Faulting application path: C:\Program Files\Rhino 7\System\Rhino.exe
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report ID: d35de0e3-a829-40dd-95cb-5323f6be4135
Faulting package full name: 
Faulting package-relative application ID:

If dumps are nowhere to find. You may enable Windows to produce full memory dump if anything crashes, even internal mechanism of Rhino fails to do so.

It would help track down the exact method causing the crash.

Crashing in Ntdll probably means guarded memory was accessed, already-freed system resources being used, etc.