Text command causes Rhino to crash each time

Hi there,
I’ve submitted the crash report multiple times.
Whenever I try to use “text” command, my Rhino instantly crashes, both Rhino 6 and Rhino WIP.
It seems as there is a bug when using this command?

1 Like

Hello -

Please run the SystemInfo command in Rhino and copy/paste the results here.

-Pascal

Rhino 6 System Info:

Rhino 6 SR28 2020-6-23 (Rhino 6, 6.28.20175.14591, Git hash:master @ 9ddbd1399e001a3eae701470332b5379477fa7d6)
License type: Commercial, build 2020-06-23
License details: Cloud Zoo. In use by: Dusan ()

Windows 10.0 SR0.0 or greater (Physical RAM: 32Gb)
Machine name: DESKTOP-TG9ULJO

Non-hybrid graphics.
Primary display and OpenGL: NVIDIA Quadro M2000M (NVidia) Memory: 4GB, Driver date: 1-31-2020 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 442.23

Secondary graphics devices.
Intel® HD Graphics 530 (Intel) Memory: 1GB, Driver date: 1-9-2020 (M-D-Y).

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

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

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 1-31-2020
Driver Version: 26.21.14.4223
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 4 GB

Rhino plugins
C:\Program Files\Rhino 6\Plug-ins\Commands.rhp “Commands” 6.28.20175.14591
C:\Program Files\Rhino 6\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 6\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 6.28.20175.14591
C:\Program Files\Rhino 6\Plug-ins\rdk_ui.rhp “Renderer Development Kit UI”
C:\Program Files\Rhino 6\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Users\pc\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\Lumion LiveSync for Rhino (839d6175-32d1-4ffe-a0a4-b7fb43cf0ff5)\2019.11.5.949\Lumion\Rhino 6.0\LumionPlugin.rhp “Lumion LiveSync for Rhino”
C:\Program Files\Rhino 6\Plug-ins\RhinoCycles.rhp “RhinoCycles” 6.28.20175.14591
C:\Users\pc\AppData\Local\Programs\Enscape\Bin64\Enscape.Rhino6.Plugin.dll “Enscape.Rhino6.Plugin” 0.0.20090.750
C:\Program Files\Rhino 6\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 6.28.20175.14591
C:\Program Files\Rhino 6\Plug-ins\3dxrhino.rhp “3Dconnexion 3D Mouse”
C:\Users\pc\AppData\Roaming\McNeel\Rhinoceros\6.0\Plug-ins\Twinmotion Direct Link 2020 (e24ee14a-9514-47da-8fe6-f6e61b20160e)\Twinmotion Direct Link 2020.rhp “Twinmotion Direct Link 2020” 1.0.0.0
C:\Program Files\Rhino 6\Plug-ins\Displacement.rhp “Displacement”

Rhino 7 WIP System Info:

Rhino 7 SR0 2020-6-16 (Public Build, 7.0.20168.13075, Git hash:master @ 80dfec2e2dea70cc3db7d8429be19d655399baed)
License type: Commercial, build 2020-06-16
License details: Cloud Zoo
Expires on: 2020-07-31

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

Non-hybrid graphics.
Primary display and OpenGL: NVIDIA Quadro M2000M (NVidia) Memory: 4GB, Driver date: 1-31-2020 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 442.23

Secondary graphics devices.
Intel® HD Graphics 530 (Intel) Memory: 1GB, Driver date: 1-9-2020 (M-D-Y).

OpenGL Settings
Safe mode: Off
Use accelerated hardware modes: On
Redraw scene when viewports are exposed: On

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

Vendor Name: NVIDIA Corporation
Render version: 4.6
Shading Language: 4.60 NVIDIA
Driver Date: 1-31-2020
Driver Version: 26.21.14.4223
Maximum Texture size: 16384 x 16384
Z-Buffer depth: 24 bits
Maximum Viewport size: 16384 x 16384
Total Video Memory: 4 GB

Rhino plugins that do not ship with Rhino

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

Hello - thanks, does the crash happen as soon as the command starts, or do you enter text? If the latter, are you using the default (Arial) font? Does the crash occur if you start Rhino with no template file?

-Pascal

Hi @pascal
I just type “text” in the command line, and nothing happens for about 3-5 seconds and then Rhino just closes and crashes and I get that dump crash file craeted on my desktop. I can’t get to the point when I can choose the font at all.
How can I start Rhino with no template, there’s always a default template right?

Try temporarily disabling TwinMotion, Lumion, and Enscape In Options > Plug-ins.
You’ll need to restart Rhino after disabling them.

If that stops the crashing, then enable them one at a time, restart and test, until you find it.

Any luck?

Unfortunately, it still continues to crash. I disabled all of them, restarted Rhino, tried “text” command and got a crash right away.
Any other troubleshooting I could do?

I think there’s a problem with my annotation as well, now when I tried to test it out, I also get a crash when I try to modify any dimension value. It may have something to do with fonts. Is there a way to reset the fonts somehow?

1 Like

Hi -
Did you ever try to run Rhino in Safe Mode?
Also, I’d try a Repair of the installation to see if that clears things up.
-wim

Hi Wim,
Just tried Safe Mode, same thing happens, crash happens right after I execute text command.
It’s odd because it happens to Rhino WIP version as well…

Where can I download the installation file once again, the one that I have from Rhino Accounts is pointing me towards 6.27 version, and my current version is 6.28?

These crashes might be related to Microsoft’s WPF library crashing when showing a dialog box, I think.

I speculate that this has to do with the version of the .NET framework that you have installed.

Can you please look in the registry for some information for me, please:

  1. Open Registry Editor (from the Windows Start button, type regedit, then press Enter)
  2. Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
  3. Tell me the Data of the Version value.

Thanks!

Update
Please also try running the text command without UI, by typing -_Text at the Rhino command line. Does that successfully create text without crashing?

Version value: 4.8.03752
Screenshot:

I tried “-Text”. It worked for a second, but then once I selected the text it crashed right after again.
Here’s a video of it:

@dusancv - I guess this does not crash if Properties is not open at all, correct? It crashes when you interact with Properties…?

Please try reparing the dotNet framework -

-Pascal

I tried, it doesn’t fix the issue.

For example, if I use it now with “-Text” I can create the text, but if I want to interact with it, I’d first switch to Layers tab, so the properties tab is not open, then I could normally move, copy, scale that text, but as soon as I double click on it or when I go to text properties, the crash happens.

Hi -

I take that applies to the repairing of the dotNet framework and not having the properties panel not shown?
-wim

Yes, I was referring to using .NET Framework Repair Tool. That didn’t fix the issue.

Just a small update. It seems as right now, the text command is working in Rhino WIP, but still doesn’t work in Rhino 6. Any ideas of what I could try next?

@dusancv a guy on our team, @lowell, is crashing in the same place that you are, and found that it’s related to a font on the computer. He had a font called “Scriptina - Alternates” that crashed every time the Text dialog opened. Do you have any third-party fonts on your computer?

1 Like

Hi @brian
Yes, indeed I do have third party fonts and I have quite a lot as I’m working with architects and designers that require the use of these fonts. So would you do some kind of fix/patch for this issue or would I need to uninstall all my fonts and do the troubleshooting that way? That would be a painfully slow process for sure :confused:

We’re trying to understand the bug and work out a fix now. I don’t have a good recommendation for you today. You can follow the progress of this bug here: https://mcneel.myjetbrains.com/youtrack/issue/RH-59311

1 Like