8.8.24135.14001, 2024-05-14 has broken my plugin

Hi Guys,

Latest release deleted enough of my GH Plugins/Dependencies to break the install of KaroroCAD, my kite design plugin, written in GH and compiled with the script compiler.

After fixing/re-installing all of the Dependencies I’ve tested my source code in R8/GH and everything was running.

Go to run the plugin itself in R8 and Rhino crashes completely silently after about 10 seconds with no crash report.

Have to say, this is my worst nightmare coming to life, I was ALWAYS worried that some unrelated update to Rhino would kill my project dead.

Timing is also great as I had advised my user base last week that KaroroCAD was now suitable for use on Rhino 8.

Any ideas on where to look to fix this?

DK

License type: Commercial, build 2024-05-14
License details: Cloud Zoo

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

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

Non-hybrid graphics configuration.
  Primary display and OpenGL: NVIDIA Quadro M1000M (NVidia) Memory: 2GB, Driver date: 11-2-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 537.79
    > Integrated accelerated graphics device with 4 adapter port(s)
        - Windows Main Display is laptop's integrated screen or built-in port
        - Secondary monitor attached to adapter port #1
  Primary OpenGL: NVIDIA Quadro M1000M (NVidia) Memory: 2GB, Driver date: 11-2-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 537.79
    > Integrated accelerated graphics device with 4 adapter port(s)
        - Windows Main Display is laptop's integrated screen or built-in port
        - Secondary monitor 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: 8x
  Mip Map Filtering: Linear
  Anisotropic Filtering Mode: High
  
  Vendor Name: NVIDIA Corporation
  Render version: 4.6
  Shading Language: 4.60 NVIDIA
  Driver Date: 11-2-2023
  Driver Version: 31.0.15.3779
  Maximum Texture size: 16384 x 16384
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 16384 x 16384
  Total Video Memory: 2 GB

Rhino plugins that do not ship with Rhino
  C:\Users\David Kay\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\KaroroCAD\24.5.11.1\KaroroCAD.rhp	"KaroroCAD"	24.5.8896.32700

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 8\Plug-ins\Commands.rhp	"Commands"	8.8.24135.14001
  C:\Program Files\Rhino 8\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	8.8.24135.14001
  C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	8.8.24135.14001
  C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp	"MeshCommands"	8.8.24135.14001
  C:\Program Files\Rhino 8\Plug-ins\IronPython\RhinoDLR_Python.rhp	"IronPython"	8.8.24135.14001
  C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	8.8.24135.14001
  C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp	"Grasshopper"	8.8.24135.14001
  C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	8.8.24135.14001
  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"	

@stevebaer @eirannejad and others are looking into this. Ideally you shouldn’t have to make any changes.

Note that 8.8 is still service release candidate - not the final Rhino 8.8 release. Current service release is Rhino 8.7.

@kiteboardshaper this is the important bit for your customers. Unless they manually switched over to release candidates, they will not see Rhino 8.8 for another month. Only users that opt into getting release candidates actually get them. This is exactly why we have release candidates; so we can find any new issues and make sure they are fixed before an official service release.

Thanks Steve, yeah, thanks for pointing that out.

I’m trying to work out where the issue is, the source code not showing any errors is a bit of a worry.

DK

Thanks Nathan.

The one thing I can say is I was seeing this say crash with no report on R9 WIP last week, but being WIP I didn’t look into it further.

Cheers

DK

This makes sense since all of the changes that were going into 8.8 automatically go into the Rhino 9 WIP as well. Now at least we know the bug was introduced at least a week ago :slight_smile:

Checking my downloads folder shows I first installed R9 on the 24th and saw this issues from that first install.

I hope that helps!

Cheers

DK

Once we can repeat the problem in a debug build of Rhino, we use a version control tool called git bisect to track down the exact change in code that caused the problem.

Hi Guys,

Maybe some progress here.

What I was finding suspect was the source code running fine but the compiled version was crashing.

I write and compile my plugin in R7 and use some interesting logic in my launch scripts to get GH to stay open and active in headless in the background rather than the usual run once and exit.

Looking my plugin loading in the latest R8 is was looking like it was getting almost to the end of the first run of the GH script and then crashing/taking out Rhino.

BUT I remembered that R8 has an option to keep the GH doc open and active:

I opened the source code in R8, checked this box and saved. I then compiled thru R7 script compiler as normal and installed the new YAK in R8 and R9WIP.

The new version loads and runs as normal.

I think it would be good to have a look at the behavior of this GH Player check box.

I’ve committed to my customers to keep R7 compatibility for the next few years, with the changes in the script components I don’t think I can move to using R8 as my dev platform. Is there some way I can set this check box in R7 or via a Ironpython script?

THANKS

DK

OK, checking this test version and bit more, opening a saved .KITE file in my plugin kills Rhino again with no crash report.

Cheers

DK

FYI similar thing is going on here, I just updated like 40 minutes ago to last Candidate Service Release and now several GH files I was working on like 60 minutes ago won’t even open anymore

I always test candidates, and I had the latest available previous candidate version installed before updating to this last one

the messages is related to several plugins that are in the definition

after the error messages, Rhino and GH just close completely

this shows up first

then this

then shuts down

all the plugins listed there are installed and were running smoothly in the previous SR (I have a commercial license for KUKA|prc)

my system info

Rhino 8 SR8 2024-5-14 (Rhino 8, 8.8.24135.14001, Git hash:master @ 8c191427bc5c6c4e62f523a752d809f68897c3a5)
License type: Commerciale, build 2024-05-14
License details: Cloud Zoo

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

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

Non-hybrid graphics configuration.
Primary display and OpenGL: NVIDIA GeForce RTX 2080 (NVidia) Memory: 8GB, Driver date: 3-12-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.86
> Integrated accelerated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port
Primary OpenGL: NVIDIA GeForce RTX 2080 (NVidia) Memory: 8GB, Driver date: 3-12-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.86
> Integrated accelerated graphics device with 4 adapter port(s)
- Windows Main Display is laptop’s integrated screen or built-in port

Secondary graphics devices.
Intel(R) UHD Graphics 630 (Intel) Memory: 1GB, Driver date: 6-1-2021 (M-D-Y).
> Integrated graphics device with 3 adapter port(s)
- There are no monitors attached to this device. Laptop lid is probably closed

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: 3-12-2024
Driver Version: 31.0.15.5186
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

Rhino plugins that ship with Rhino
C:\Program Files\Rhino 8\Plug-ins\Commands.rhp “Commands” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\rdk.rhp “Renderer Development Kit”
C:\Program Files\Rhino 8\Plug-ins\RhinoRenderCycles.rhp “Rhino Render” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\NamedSnapshots.rhp “Snapshots”
C:\Program Files\Rhino 8\Plug-ins\MeshCommands.rhp “MeshCommands” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\RhinoCycles.rhp “RhinoCycles” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\Grasshopper\GrasshopperPlugin.rhp “Grasshopper” 8.8.24135.14001
C:\Program Files\Rhino 8\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 8.8.24135.14001
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\innoi\AppData\Roaming\McNeel\Rhinoceros\packages\8.0\PanelingTools\2021.3.2.446\PanelingTools.rhp “PanelingTools”

[edit] rolledback to last official release V8 SR7 (8.7.24134.3001, 2024-05-13) and everything runs again smoothly as expected :+1: