Rhino8 SR13 constantly crashing

Hi,

My rhino8 is constantly crashing. I’m not sure what it is but I sent some crash reports to McNeel. Can you look into these?

I had instant crashes with:

  • Importing blocks via a toolbar button (insert command)
  • Importing via alias Insert command marco (_-Insert F=Y L=L A=A B B _Pause 1)
  • Replaceblock then picking a block out of the BlockDefinitionList

I’m losing my mind over this problem.

_SystemInfo

Rhino 8 SR13 2024-10-8 (Rhino 8, 8.13.24282.10001, Git hash:master @ 7fc2e504d4c838aa0264b02fb10e24ecfff2824a)
License type: Commercial, build 2024-10-08
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32GB)
.NET 7.0.0

Computer platform: DESKTOP

Standard graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2060 (NVidia) Memory: 6GB, Driver date: 1-18-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.23
> Accelerated graphics device with 4 adapter port(s)
- Windows Main Display attached to adapter port 0
- Secondary monitor attached to adapter port 1

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: 1-18-2024
Driver Version: 31.0.15.5123
Maximum Texture size: 32768 x 32768
Z-Buffer depth: 24 bits
Maximum Viewport size: 32768 x 32768
Total Video Memory: 6 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.13.24282.10001
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.13.24282.10001
C:\Program Files\Rhino 8\Plug-ins\RhinoRender.rhp “Legacy Rhino Render”
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.13.24282.10001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.13.24282.10001
C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp “IronPython” 8.13.24282.10001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.13.24282.10001
C:\Program Files\Rhino 8\Plug-ins\RhinoCode\RhinoCodePlugin.rhp “RhinoCodePlugin” 8.13.24282.10001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.13.24282.10001
C:\Program Files\Rhino 8\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Program Files\Rhino 8\Plug-ins\BlockEdit.rhp “BlockEdit” 8.13.24282.10001
C:\Program Files\Rhino 8\Plug-ins\Displacement.rhp “Displacement”
C:\Program Files\Rhino 8\Plug-ins\SectionTools.rhp “SectionTools”

A quick test here did not crash. Is there a small file you can provide? Are there materials in the Linked file?

1 Like

Hi @Japhy,

I’m not using any materials.

I don’t think its the linked file that is the problem but rather the _Insert command it self.

Just had it crash again, only think that I did was insert macro via alias.
This opens a file explorer.

The crashes are so random, I really cant think of a reason that its crashing at that specific moment.
I’m also not getting the crash report option, so I cant sent you something

Hi @Martijn,

I’ve logged the issue.

https://mcneel.myjetbrains.com/youtrack/issue/RH-84310

Thanks for reporting.

– Dale

2 Likes

Hi @dale,

Could I get a download link to a previous version of Rhino 8? 8SR12 would be fine, the crashes are since the new update I think.

I havent updated tot 8SR13 Release Candidate 2 that was released this morning. Not sure is that would help?

I cant work like this for another day (already had 2 crashes since 8 am). :face_with_head_bandage:

Hi Martijn -

Here’s a link to 8.12.
-wim

1 Like

Hi @dale @Japhy ,

I’ve isolated the issue:

Rhino8 crashes when a preview bitmap is displayed in an Eto dialog, while BlockEdit mode is active.
As my collegue @Martijn reported, the same effect might be occurring when displaying the preview in the Insert dialog

steps to reproduce:

  1. open a file with two blocks
    crash_sr13_isolated.3dm (47.1 KB)

  2. double click 1 of the blocks to open BlockEdit mode

  3. run the script below

#! python3
import rhinoscriptsyntax as rs
import scriptcontext as sc
import Rhino
import System
from time import sleep

import Eto.Forms as forms

class MyDialog(forms.Dialog[bool]):

    def __init__(self, block_name):
        super().__init__()

        self.m_image_view = forms.ImageView()
        self.m_image_view.Image = None

        # get instanceDefinition preview bitmap and load in imageview
        idef        = sc.doc.InstanceDefinitions.Find(block_name, True)
        bitmap      = idef.CreatePreviewBitmap(Rhino.Display.DefinedViewportProjection.Top , System.Drawing.Size(200,150))
        self.m_image_view.Image = Rhino.UI.EtoExtensions.ToEto(bitmap)


        # Create the default button
        self.DefaultButton = forms.Button()
        self.DefaultButton.Text = 'OK'
        self.DefaultButton.Click += self.OnOKButtonClick

        layout = forms.DynamicLayout()

        layout.AddRow(self.m_image_view)
        layout.AddRow(self.DefaultButton)

        self.Content = layout

    def OnOKButtonClick(self, sender, e):
        self.Close(True)


def main():

    # open a dialog for each block in model until 'exit' cross is pressed
    for i,block_name in enumerate(rs.BlockNames()):
        Rhino.RhinoApp.WriteLine(block_name)
        dialog = MyDialog(block_name)
        rc =  dialog.ShowModal(Rhino.UI.RhinoEtoApp.MainWindow)
        if not rc:
            return 
    print('completed')
    

if __name__ == '__main__':
    main()
2 Likes