Rhino freeze when trying save material as a .rmtl file

I have a freeze with Rhino when trying to save material as a .rmtl file.

Steps to reproduce the issue:

  1. Create any rhino material
  2. Click RMB on it and choose in the drop box menu “Save to File…”
  3. Chose place to save and click save

And that’s all, got a rhino freeze
I attached a video to demonstrate an issue

I have the same freeze when I do the same thing from my plugin for Rhino using Rhino C++ SDK.
When I call a method

virtual bool CRhRdkContent::SaveToLibraryFile(const ON_wString& sFullPath,
const IRhRdkPreviewSceneServer * pSceneServer,
EmbedFilesChoice c 
) const

The strange thing is that this issue is not reproduced for all users. But some of my customers got this issue on their machines.

Here is information about the machine that has this issue

Rhino 7 SR36 2023-12-12 (Rhino 7, 7.36.23346.16351, Git hash:master @ 11a364321297eb8cdb34405a3308d8911f58706d)
License type: Commercial, build 2023-12-12
License details: Cloud Zoo
Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 32Gb)
Computer platform: LAPTOP  - Plugged in [100% battery remaining]
Non-hybrid graphics configuration.
  Primary display and OpenGL: NVIDIA RTX A4000 Laptop GPU (NVidia) Memory: 8GB, Driver date: 2-15-2024 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 551.61
    > Integrated accelerated graphics device with 4 adapter port(s)
        - Laptop lid is possibly closed
        - Windows Main Display attached to adapter port #1
        - Secondary monitor attached to adapter port #2
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: 2-15-2024
  Driver Version: 31.0.15.5161
  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\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\WB_RHTrack (f1b547e5-c3af-478d-84ee-6804536a8bb2)\1.0.7346.25956\WB_RHTrack.rhp	"WB_RHTrack"	1.0.7346.25956
  C:\Program Files\Chaos Group\V-Ray\V-Ray for Rhinoceros\V7\VRayForRhino.rhp	"V-Ray for Rhino"	
  C:\Program Files\AVAIL\AVAIL Browser for Rhino\AVAIL.RhinoPlugin.Rhino7.rhp	"AVAIL.RhinoPlugin"	4.6.2.0
  C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\RhinoBeat (d6f60aad-2954-44ef-9054-904ca827b721)\1.1.38.0\Rhino_7\RhinoBeat.7.rhp	"RhinoBeat"	1.1.38.0
  C:\Users\nycdvc\AppData\Local\Programs\Enscape\Enscape.Rhino.Plugin-net48\Enscape.Rhino7.Plugin.dll	"Enscape.Rhino7.Plugin"	0.0.24068.1709
  C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\ElefrontProperties (5db9285b-b408-41e2-b815-ed6ad84fd4a9)\1.0.0.0\ElefrontProperties.rhp	"ElefrontProperties"	1.0.0.0
  C:\Users\nycdvc\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\WombatRhino\1.0.5.16\WombatRhino.rhp	"WombatRhino"	1.0.5.16
  C:\ProgramData\McNeel\Rhinoceros\packages\7.0\LadybugTools\1.38.175\Ladybug.RH.Loader.rhp	"Ladybug.RH.Loader"	1.38.175.0
  C:\ProgramData\McNeel\Rhinoceros\packages\7.0\Pollination\1.46.0\Pollination.RH.Loader.rhp	"Pollination.RH.Loader"	1.46.0.0
  C:\Users\nycdvc\AppData\Roaming\McNeel\Rhinoceros\packages\7.0\Wb.ModelEstablishment.Rhino\1.1.2\Wb.ModelEstablishment.Rhino.rhp	"Wb.ModelEstablishment.Rhino"	1.1.2.0
Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 7\Plug-ins\Commands.rhp	"Commands"	7.36.23346.16351
  C:\Program Files\Rhino 7\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 7\Plug-ins\\RPC.rhp	"RPC"	
  C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	7.36.23346.16351
  C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	7.36.23346.16351
  C:\Program Files\Rhino 7\Plug-ins\rdk_ui.rhp	"Renderer Development Kit UI"	
  C:\Program Files\Common Files\McNeel\Rhinoceros\7.0\Plug-ins\PanelingTools (6caed836-bc06-4ebc-b1fd-e10886a0dc94)\2018.6.14.669\PanelingTools.rhp	"PanelingTools"	
  C:\Program Files\Rhino 7\Plug-ins\NamedSnapshots.rhp	"Snapshots"	
  C:\Program Files\Rhino 7\Plug-ins\IronPython\RhinoDLR_Python.rhp	"IronPython"	7.36.23346.16351
  C:\Program Files\Rhino 7\Plug-ins\RhinoCycles.rhp	"RhinoCycles"	7.36.23346.16351
  C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	7.36.23346.16351
  C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp	"Displacement"

Has anyone already encountered this problem or knows how it can be fixed?

Hi Sem -
It looks like you have a lot of 3rd party plug-ins installed. Does the behavior change when you disable those in the plug-in manager and restart Rhino?

I see that you have access to Rhino 8 - can you reproduce this issue in a current build of Rhino 8?
-wim