egc30n.exe caused an EXCEPTION_ACCESS_VIOLATION in module SD_API.dll
search cancel

egc30n.exe caused an EXCEPTION_ACCESS_VIOLATION in module SD_API.dll


Article ID: 277061


Updated On:


CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Software Delivery


When displaying a SD Job in DSM Explorer, an exception occurs in egc30n.exe :



An Exception Occurred:

egc30n.exe caused an EXCEPTION_ACCESS_VIOLATION in module SD_API.dll at 0023:6FD565C5, SDStrBuf::setString()+0053 byte(s)

EAX=00000030  EBX=00000030  ECX=0DA7BD50  EDX=00000032  ESI=0DA7BD50
EDI=0136EF50  EBP=0136ED68  ESP=0136ED60  EIP=6FD565C5  FLG=00010206
CS =0023      DS =002B      SS =002B
ES =002B      FS =0053      GS =002B

Call Stack:
0023:6FD565C5 (0x00000030 0x0DA7BD50 0x0136EDBC 0x6FDB32FB) SD_API.dll, SDStrBuf::setString()+0053 byte(s)
0023:6FD56B73 (0x0136EF50 0x00000000 0x0DA7BBA8 0x00000000) SD_API.dll, SDStrBuf::checkAndSetString()+0195 byte(s)
0023:6B6C1F7C (0x0136EE18 0xECF3D780 0x00000000 0x0DA7BBA8) gui_sd.dll, SDUUID::~SDUUID()+1340 byte(s)
0023:6B6C41D4 (0x0DD39F28 0x0136EE18 0x0DB8CF20 0x0136EF68) gui_sd.dll, SDUUID::~SDUUID()+10132 byte(s)
0023:6B6C5975 (0x0DD39F28 0x0136EE18 0x0DB8CF20 0xECF3D520) gui_sd.dll, SDUUID::~SDUUID()+16181 byte(s)
0023:6B6F3D4F (0x0136F018 0x6EF1DE66 0x00000000 0xAA4DF6EE) gui_sd.dll, AccessError::`default constructor closure'()+138607 byte(s)
0023:6B6FA5DE (0x00000000 0xAA4DF6EE 0x036A84A8 0x0DB8CF20) gui_sd.dll, AccessError::`default constructor closure'()+165374 byte(s)
0023:6EF1DE66 (0x0DB8CF20 0xAA4DF736 0x01DBDDF0 0x036ABF28) EGC30N.dll, CEGCListView::ShowContents()+0278 byte(s)
0023:6EF37A55 (0xAA4DF4A2 0x036ABF28 0x0DB8CF20 0x76EC6EC0) EGC30N.dll, EGCAssignAccelerators()+1589 byte(s)
0023:6EF5D900 (0x00000002 0x00000000 0xAA4DF45E 0x0DB8CF20) EGC30N.dll, TreeView::RefreshView()+0384 byte(s)
0023:6EF5FCD0 (0xAA4DF556 0x036ABF28 0x6EF60230 0x00000000) EGC30N.dll, TreeView::OnViewRefresh()+0176 byte(s)
0023:6EF60714 (0x00001718 0xF226EEC2 0x00000113 0x036ABF28) EGC30N.dll, TreeView::OnTimer()+1252 byte(s)
0023:6C784FE8 (0x00000113 0x00001718 0x00000000 0x0136F47C) mfc100u.dll
0023:6C784B4C (0x00000113 0x00001718 0x00000000 0xF226E98A) mfc100u.dll


Client Automation 14.5 CU6


This problem could be caused by a wrong version of sd_api.dll installed under C:\Program Files (x86)\CA\DSM\Bin

Example :

Version is installed on the Domain Manager 14.5 CU6

Viewing Directory 'C:\Program Files (x86)\CA\DSM\Bin'

    File Name                         File Size   File Date  File Time  File Version
    ---------                         ---------   ---------  ---------  ------------
    sd_api.dll                           788560  30-01-2021  16:37:36


The version of this file is not correct as in CU6 patch, the file sd_api.dll has version

File Name                         File Size   File Date  File Time  File Version
---------                         ---------   ---------  ---------  ------------
sd_api.dll                           791032  10-08-2023  07:42:54


1- Stop caf on the Domain Manager
caf stop
2- Copy the file sd_api.dll from the CU patch source into C:\Program Files (x86)\CA\DSM\Bin
3- Start caf on Domain Manager
caf start