Rhino 7 Exit With Code 8675309 (0x845fed) When Launching

My PC recently experience Rhino 6 and 7 could not launch, and I had catch the error message by Visual Studio and the logs are attached with the message. Based on the logs(log for not able to launch.txt), the process stop at loading some DLL and Rhino.exe exit with code 8675309 (0x845fed)

I can repair the Rhino with the Installer, but somehow the problem will come back to me every 2 days.

Can anyone help?

log when able to launch.txt (50.1 KB)
log for not able to launch.txt (9.1 KB)

Hi Wen Siu Low,

Please open Rhino and run the SystemInfo command in the Rhino command line and paste the results here. Thanks!

Hi @Japhy, the results for SystemInfo command is here

Rhino 7 SR28 2023-2-27 (Rhino 7, 7.28.23058.03001, Git hash:master @ 4ffc5d7156fbccf2a5d9fcc80e522b3851bc7f6c)
License type: Commercial, build 2023-02-27
License details: LAN Zoo Network Node

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 16Gb)

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

Standard graphics configuration.
  Primary display and OpenGL: Intel(R) Iris(R) Xe Graphics (Intel) Memory: 1GB, Driver date: 10-14-2020 (M-D-Y). OpenGL Ver: 4.6.0 - Build 27.20.100.8853
    > Integrated 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
        - 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: Intel
  Render version: 4.6
  Shading Language: 4.60 - Build 27.20.100.8853
  Driver Date: 10-14-2020
  Driver Version: 27.20.100.8853
  Maximum Texture size: 16384 x 16384
  Z-Buffer depth: 24 bits
  Maximum Viewport size: 16384 x 16384
  Total Video Memory: 1 GB

Rhino plugins that do not ship with Rhino

Rhino plugins that ship with Rhino
  C:\Program Files\Rhino 7\Plug-ins\Commands.rhp	"Commands"	7.28.23058.3001
  C:\Program Files\Rhino 7\Plug-ins\rdk.rhp	"Renderer Development Kit"	
  C:\Program Files\Rhino 7\Plug-ins\RhinoRenderCycles.rhp	"Rhino Render"	7.28.23058.3001
  C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	7.28.23058.3001
  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\RhinoCycles.rhp	"RhinoCycles"	7.28.23058.3001
  C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	7.28.23058.3001
  C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp	"Displacement"

Hmmm…
1 Gb video RAM
Driver from 2020
Two external monitors attached…

Don’t think that’s going to work well.

It worked well for 2 years before in my PC. I didn’t update Rhino version, and our application is not much on rendering.

However, due to recent Windows update in my organization, the Rhino not able to launch. We need to keep repair it with the installer every few day.

I was thinking it might due to some dependent DLL that need by Rhino had changed due to Windows Update.

You might try updating to the latest SR33… And maybe update the video driver if it’s possible. But the computer is still far, far under the minimum specs for Rhino 7…

We’re developing plugin that run on Rhino 6/7 for internal usage, we had 40++ user and it worked fine for 5 years.

We had the PC up to spec still experience the same issues, and one of the developer had update the Rhino to latest version still experience the same issues.

Rhino 7 SR33 2023-9-5 (Rhino 7, 7.33.23248.13001, Git hash:master @ 332dda7497b18e9e6f82f118da5cba0c448151a9)
License type: Commercial, build 2023-09-05
License details: LAN Zoo Network Node

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

Computer platform: DESKTOP (Hosting Remote Desktop session)

Standard graphics configuration.
  Primary display: Microsoft Remote Display Adapter (Microsoft) Memory: 0MB, Driver date: 6-21-2006 (M-D-Y).
    > Remote Desktop display device with 16 connection(s)
        - Windows Main Display using connection #0
  Primary OpenGL: AMD Radeon Pro WX 3200 Series (AMD) Memory: 4GB, Driver date: 8-12-2020 (M-D-Y). OpenGL Ver: 4.6.13596 Compatibility Profile Context FireGL 20.10.28.02 27.20.1028.2002
    > Accelerated graphics device with 0 adapter port(s)
        - There are no monitors attached to this device!

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: ATI Technologies Inc.
  Render version: 4.6
  Shading Language: 4.60
  Driver Date: 8-12-2020
  Driver Version: 27.20.1028.2002
  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 7\Plug-ins\Commands.rhp	"Commands"	7.33.23248.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.33.23248.13001
  C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp	"RDK_EtoUI"	7.33.23248.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\RhinoCycles.rhp	"RhinoCycles"	7.33.23248.13001
  C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp	"Toolbars"	7.33.23248.13001
  C:\Program Files\Rhino 7\Plug-ins\3dxrhino.rhp	"3Dconnexion 3D Mouse"	
  C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp	"Displacement"	

And the issues happen recently on 40++ user same time, so I think is not about the spec but some DLL changed due to Windows update. and can we know what is mean return code 8675309 (0x845fed) mean so we can know the issues better?

Here I’m having the same problem for some time. Repairing or reinstalling temporarily solves the problem (for a couple of hours). With the help of my IT department, I’ve installed all kinds of updates (drivers, BIOS, Windows, …). The output from my Rhino system command:

Rhino 7 SR33 2023-9-5 (Rhino 7, 7.33.23248.13001, Git hash:master @ 332dda7497b18e9e6f82f118da5cba0c448151a9)
License type: Commercial, build 2023-09-05
License details: Cloud Zoo

Windows 10 (10.0.19045 SR0.0) or greater (Physical RAM: 64Gb)

Computer platform: DESKTOP (Hosting Remote Desktop session)

Standard graphics configuration.
Primary display: Microsoft Remote Display Adapter (Microsoft) Memory: 0MB, Driver date: 6-21-2006 (M-D-Y).
> Remote Desktop display device with 16 connection(s)
- Windows Main Display using connection #0
Primary OpenGL: NVIDIA GeForce RTX 2080 SUPER (NVidia) Memory: 8GB, Driver date: 9-12-2023 (M-D-Y). OpenGL Ver: 4.6.0 NVIDIA 537.42
> Accelerated graphics device with 0 adapter port(s)
- There are no monitors attached to this device!

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

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: 9-12-2023
Driver Version: 31.0.15.3742
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 7\Plug-ins\Commands.rhp “Commands” 7.33.23248.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.33.23248.13001
C:\Program Files\Rhino 7\Plug-ins\rdk_etoui.rhp “RDK_EtoUI” 7.33.23248.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\RhinoCycles.rhp “RhinoCycles” 7.33.23248.13001
C:\Program Files\Rhino 7\Plug-ins\Toolbars\Toolbars.rhp “Toolbars” 7.33.23248.13001
C:\Program Files\Rhino 7\Plug-ins\Displacement.rhp “Displacement”

There seems to be one Windows update (KB5030300) that I can still try, which I will do.

Remote Desktop is not fit for purpose. There are better solutions that are actually made to support 3D applications, like Parsec.

Dag Pieter -

I’d go a bit further than what Jim wrote - Remote Desktop is simply not supported. Please see the system requirements for Rhino 7.
-wim

Hey Wim,

thanks for info, but Remote desktop is not the problem, I used it all the time. I just happened to work from home, I couldn’t print the SystemInfo in any other way. The exact same problems occurs when I’m at my desktop.

I yesterday installed some “KB5050300” Windows update (September 26, 2023—KB5030300 (OS Build 19045.3516) Preview - Microsoft Support). Usually, after repairing or reinstalling Rhino 7 it keeps on working only for a few hours, after this latest update, it still does the next day. If Rhino still starts tomorrow, then I think we can consider this a fix. I’ll post a follow up tomorrow!

Cheers,
Pieter

A little sooner than expected, even the update 5030300 does not work. Again I get error code 8675309 when starting. Rhino 7 doesn’t even get to the splash screen, it just returns this error code in the cmd, and nothing else.

I’ve tried attaching the Visual Studio debugger with symbols from Rhino symbols server before and after running “Repair Rhino” from the installer. I have no clue what all the error codes and functions are, but I do see one error code not showing in the successfull run:

In case the screenshot doesn’t come through:

LdrpLoadDllInternal - RETURN: Status: 0xc0000142
LdrLoadDll - RETURN: Status: 0xc0000142

I don’t see any differences when loading RhinoCore.dll or the Exe in dependency walker.

Maybe there’s also a clue in the fact that “Repair” works? What kind of dlls does it restore? I see Rhino itself, but also .NET framework 4.8, but I have no idea what to look for exactly.

After another round of updating C++ redistributables and uninstalling/reinstalling Rhino 7, the issue seems resolved. I’ve updated and reinstalled so many things in many different orders that I’m not 100% sure what fixed it, but the update of the C++ redistributables is definitely crucial. Reinstalling Rhino after the update is also crucial.

Hey Pieter -

Thanks for that update! I’m glad that you’ve got this solved.
-wim