Crash of amswmagt.exe at shutdown
search cancel

Crash of amswmagt.exe at shutdown

book

Article ID: 270195

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

When amswmagt.exe is stopped, a crash occurs sometimes :
 
READ_ADDRESS: 00000000 

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: 00000000
EXCEPTION_PARAMETER2: 00000000

STACK_TEXT: 

WARNING: Stack unwind information not available. Following frames may be wrong.
0242fde8 6ccd344d 01ca6b18 0000000f 00000000 amswmagt+0x36d3
0242fe54 72032325 012de580 01ca9860 720324f0 cfRunTime!CFRunTime_SendMessageA+0x5fd
0242fe74 770e00f9 012de580 770e00e0 0242fee0 cfOSServices!CFCreateInstance+0xd575
0242fe84 77387bbe 012de580 06bf091d 00000000 kernel32!BaseThreadInitThunk+0x19
0242fee0 77387b8e ffffffff 773a8d05 00000000 ntdll!__RtlUserThreadStart+0x2f
0242fef0 00000000 720324f0 012de580 00000000 ntdll!_RtlUserThreadStart+0x1b

00e80000 00f4b000 amswmagt (no symbols) 

EXCEPTION_RECORD: (.exr -1)

ExceptionAddress: 00e836d3 (amswmagt+0x000036d3)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000

NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 00000000
Attempt to read from address 00000000

- In TRC_UAM_AMSWMAGT_*.log we could see that crash occurs when process amswmagt.exe is in stop process.
 
160523-23:44:10.1795633L|008956|00002300|AMSWMAGT |AMSWMAGT |Swmw32.cpp |001714|DETAIL | SW Usage agent terminates now!
160523-23:44:10.1796109L|008956|00002300|AMSWMAGT |cfRunTime |cfRunTime |000000|INFO | CCFRunTime::SendMessage: Sending: <STOP_EVENT/>
160523-23:44:10.1796302L|008956|00002300|AMSWMAGT |cfRunTime |cfRunTime |000000|DETAIL | CCFRunTime::SendMessage: sending header: 28
160523-23:44:10.1796605L|008956|00002300|AMSWMAGT |cfRunTime |cfRunTime |000000|DETAIL | CCFRunTime::SendMessage: sending data: <STOP_EVENT/>
160523-23:44:10.1796950L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000107|NOTIFY | CCcnfAgentApi::~CCcnfAgentApi() 0x1002a90, instcount 2, sesscount 1
160523-23:44:10.1798084L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000138|DETAIL | ~CCcnfAgentApi(): calling SaveUserStore()
160523-23:44:10.1798282L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000159|DETAIL | ~CCcnfAgentApi(): deleting communications object
160523-23:44:10.1810982L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000170|NOTIFY | CCcnfAgentApi::~CCcnfAgentApi() 0x1002a90 done, instcount 1, sesscount 1
160523-23:44:10.1811441L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000107|NOTIFY | CCcnfAgentApi::~CCcnfAgentApi() 0x1042ff0, instcount 1, sesscount 1
160523-23:44:10.1832646L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000132|INFO | ~CCcnfAgentApi(): Session '00000006:A765D798-': Sending TerminateSession message to agent.
160523-23:44:10.1832956L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000138|DETAIL | ~CCcnfAgentApi(): calling SaveUserStore()
160523-23:44:10.1833115L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000159|DETAIL | ~CCcnfAgentApi(): deleting communications object
160523-23:44:10.1839077L|008956|00002300|AMSWMAGT |CcnfAgentApi |CCcnfAgentApi.cpp |000170|NOTIFY | CCcnfAgentApi::~CCcnfAgentApi() 0x1042ff0 done, instcount 0, sesscount 0

Environment

Client Automation - All Version

Resolution

Open a case at CA Broadcom technical Support and ask the fix T5IZ474