Ansys Products

Ansys Products

Error when launching Design Modeler in AVD GPU

    • kherman
      Subscriber
      An error occurs when launching Ansys Workbench 2022 R1 > Static Structural > Geometry > Design Modeler. Design Modeler launches and then errors out with the message "The geometry editor was closed abnormally." A dump file is created and the contents are below. This error only occurs on Azure Virtual Desktop GPU machines. This is the processor: AMD EPYC 7V12 64-Core Processor 2.44 GHz RAM specs: 56.0 GB OS version: Windows 10 Enterprise for Virtual Desktops 21H2 Microsoft (R) Windows Debugger Version 10.0.22621.1 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Users\kherman\Desktop\AnsysWBDumpFile.dmp] User Mini Dump File: Only registers, stack and portions of memory are available Symbol search path is: srv* Executable search path is: Windows 10 Version 19044 MP (8 procs) Free x64 Product: Server, suite: TerminalServer Edition build lab: 19041.1.amd64fre.vb_release.191206-1406 Machine Name: Debug session time: Thu Sep  1 11:46:39.000 2022 (UTC - 4:00) System Uptime: not available Process Uptime: 0 days 0:00:07.000 ................................................................ ................................................................ ................................................................ ......................................................... This dump file has an exception of interest stored in it. The stored exception information can be accessed via .ecxr. (1978.2de0): Access violation - code c0000005 (first/second chance not available) For analysis of this file, run !analyze -v ntdll!NtGetContextThread+0x14: 00007ffd`2f4eed74 c3              ret 0:000> !analyze -v ******************************************************************************* *                                                                             * *                        Exception Analysis                                   * *                                                                             * ******************************************************************************* *** WARNING: Unable to verify timestamp for Ans.Modeler.ObjectsCOM.dll *** WARNING: Unable to verify timestamp for ActivePIMgrClientCOM.dll *** WARNING: Unable to verify timestamp for Ans.Common.UtilsCOM.dll *** WARNING: Unable to verify timestamp for Ans.Common.WBCOM.dll Failed to request MethodData, not in JIT code range Failed to request MethodData, not in JIT code range Failed to request MethodData, not in JIT code range KEY_VALUES_STRING: 1 Key  : AV.Dereference Value: NullPtr Key  : AV.Fault Value: Read Key  : Analysis.CPU.mSec Value: 33468 Key  : Analysis.DebugAnalysisManager Value: Create Key  : Analysis.Elapsed.mSec Value: 38582 Key  : Analysis.Init.CPU.mSec Value: 3108 Key  : Analysis.Init.Elapsed.mSec Value: 21768 Key  : Analysis.Memory.CommitPeak.Mb Value: 245 Key  : CLR.BuiltBy Value: NET48REL1LAST_B Key  : CLR.Engine Value: CLR Key  : CLR.Version Value: 4.8.4510.0 Key  : Timeline.Process.Start.DeltaSec Value: 7 Key  : WER.OS.Branch Value: vb_release Key  : WER.OS.Timestamp Value: 2019-12-06T14:06:00Z Key  : WER.OS.Version Value: 10.0.19041.1 FILE_IN_CAB:  AnsysWBDumpFile.dmp CONTEXT:  (.ecxr) rax=00000000005ff6c8 rbx=0000000008695810 rcx=0000000000000000 rdx=0000000002b0d550 rsi=00000000086958c8 rdi=000000000858dc50 rip=0000000007537238 rsp=00000000005ff600 rbp=00000000005ff669 r8=000000002ce8b208  r9=00000000005ff790 r10=00000000207c0228 r11=0000000000000000 r12=000000002081c980 r13=0000000000000000 r14=000000002ce8b208 r15=00000000005ff790 iopl=0         nv up ei pl zr na po nc cs=0033  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00010246 Ans_Common_CLRHelperCOM+0x7238: 00000000`07537238 488b01          mov     rax,qword ptr [rcx] ds:00000000`00000000=???????????????? Resetting default scope EXCEPTION_RECORD:  (.exr -1) ExceptionAddress: 0000000007537238 (Ans_Common_CLRHelperCOM+0x0000000000007238) ExceptionCode: c0000005 (Access violation) ExceptionFlags: 00000000 NumberParameters: 2 Parameter[0]: 0000000000000000 Parameter[1]: 0000000000000000 Attempt to read from address 0000000000000000 PROCESS_NAME:  AnsysWBU.exe READ_ADDRESS:  0000000000000000 ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%p referenced memory at 0x%p. The memory could not be %s. EXCEPTION_CODE_STR:  c0000005 EXCEPTION_PARAMETER1:  0000000000000000 EXCEPTION_PARAMETER2:  0000000000000000 IP_ON_STACK: +0 00000000`005ff720 00f7            add     bh,dh FRAME_ONE_INVALID: 1 STACK_TEXT: 00000000`005ff600 00000000`005ff720     : 00007ffc`b42078b0 00000000`00000000 00000000`00000008 00000000`00000000 : Ans_Common_CLRHelperCOM+0x7238 00000000`005ff608 00007ffc`b42078b0     : 00000000`00000000 00000000`00000008 00000000`00000000 00007ffd`133fa3c9 : 0x5ff720 00000000`005ff610 00000000`00000000     : 00000000`00000008 00000000`00000000 00007ffd`133fa3c9 00000000`00000010 : 0x00007ffc`b42078b0 STACK_COMMAND:  ~0s; .ecxr ; kb SYMBOL_NAME:  Ans_Common_CLRHelperCOM+7238 MODULE_NAME: Ans_Common_CLRHelperCOM IMAGE_NAME:  Ans.Common.CLRHelperCOM.dll FAILURE_BUCKET_ID:  NULL_POINTER_READ_c0000005_Ans.Common.CLRHelperCOM.dll!Unknown OS_VERSION:  10.0.19041.1 BUILDLAB_STR:  vb_release OSPLATFORM_TYPE:  x64 OSNAME:  Windows 10 IMAGE_VERSION:  1.0.0.1 FAILURE_ID_HASH:  {8062be56-22a5-720b-3c19-9fa8caea4490} Followup:     MachineOwner --------- 0:000> lmvm Ans_Common_CLRHelperCOM Browse full module list start             end                 module name 00000000`07530000 00000000`07544000   Ans_Common_CLRHelperCOM T (no symbols) Loaded symbol image file: Ans.Common.CLRHelperCOM.dll Image path: C:\Program Files\ANSYS Inc\v221\aisol\bin\winx64\Ans.Common.CLRHelperCOM.dll Image name: Ans.Common.CLRHelperCOM.dll Browse all global symbols  functions  data Timestamp:        Tue Nov 30 12:27:19 2021 (61A65EF7) CheckSum:         0001253B ImageSize:        00014000 File version:     1.0.0.1 Product version:  1.0.0.1 File flags:       0 (Mask 3F) File OS:          4 Unknown Win32 File type:        2.0 Dll File date:        00000000.00000000 Translations:     0000.04b0 0000.04e4 0409.04b0 0409.04e4 Information from resource tables: 0:000> x /D Ans_Common_CLRHelperCOM!a*
    • Mangesh Bhide
      Ansys Employee

      Some reset/cleanup steps that may help--

      1. Confirm ANSYS supported graphics card and latest driver is installed. Also request the system administrator to check if hardware acceleration is enabled for your sessions to this machine

      2. Reset the ANSYS profile and run Product Config

      a) Rename v221 from %APPDATA%\ansys\v221 to v221.old (where %APPDATA% is where your APPDATA variable is set to - 'Just type %APPDATA% in the Explorer Address bar' and it will take you there).

      b) Rename .ansys from %TEMP% to old.ansys (same as above, just type: %TEMP% in the address bar)

      c) Request the system administrator to right mouse button click and run as administrator the ProductConfig.exe from C:\Program Files\ANSYS Inc\v221\ and configure the application again, 
      select the 'Configure Products' selecting all options and make sure you also click on 'Install Required Prerequisites'.

      d) Manually register the DLLs listed below by starting a Command Prompt (DOS) 'as administrator' and changing to the directory c:\windows\system32, then typing:

      regsvr32.exe ole32.dll

      regsvr32.exe atl.dll

      regsvr32.exe oleaut32.dll

      regsvr32.exe scrrun.dll

      regsvr32.exe jscript.dll

      regsvr32.exe vbscript.dll

      3. Also request the system administrator to check the path environment variable on the system to ensure that the 3-4 entries starting with %systemroot% precede all other entries

      I hope this helps

    • kherman
      Subscriber

      Thank you, that solved my error. 

Viewing 2 reply threads
  • You must be logged in to reply to this topic.