NRI Agent crash with segmentation fault and error 139
search cancel

NRI Agent crash with segmentation fault and error 139

book

Article ID: 380259

calendar_today

Updated On:

Products

CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

NRI Agent execution is crashing with

Elective Inventory - CA Client Automation
===============================================================
Performing Basic Inventory and Software scan.
Please note that the scan can take serveral minutes to complete. Please wait...
/tmp/cmnriagent: line 2684: 258342 Segmentation fault      (core dumped) ./cmNriAgent.exe $script_param "$@" >> "$NRIWRAPPERLOG" 2>&1

Elective Inventory scan has been performed in error
nriagent_rc=139

 

- Last lines in TRC_UAM_AMLITEAGENT_0.log are 

230924-15:02:31.6615200L|1049034|01d42b80|amLiteAgen|amLiteAgent |amLiteAgent.cpp |000579|DETAIL | GetRegistrationInfo: Start
230924-15:02:31.6615250L|1049034|01d42b80|amLiteAgen|cfUtilities |cfUtilities  |000000|INFO   | CFPorting_LoadLibrary: file: cainf flags: 2
230924-15:02:31.6615320L|1049034|01d42b80|amLiteAgen|cfUtilities |cfUtilities  |000000|INFO   | CFPorting_GetDefaultCP: en_US.UTF-8
230924-15:02:31.6616850L|1049034|01d42b80|amLiteAgen|cfUtilities |cfUtilities  |000000|DETAIL | CFFactory_TraceVersion: libcainf.so:
230924-15:02:31.6616940L|1049034|01d42b80|amLiteAgen|cfUtilities |cfUtilities  |000000|DETAIL | CFFactory_TraceVersion: date modified: Wed Jan 20 13:34:12 2021 
230924-15:02:31.6616990L|1049034|01d42b80|amLiteAgen|cfUtilities  |cfUtilities |000000|INFO   | CFPorting_LoadLibrary: loaded: cainf at 0xa0d7b0

or

270924-09:35:02.6107060L|3131997|ccc44f40|amLiteAgen|amLiteAgent |amLiteAgent.cpp|000579|DETAIL | GetRegistrationInfo: Start
270924-09:35:02.6107430L|3131997|ccc44f40|amLiteAgen|cfUtilities |cfUtilities    |000000|INFO   | CFPorting_LoadLibrary: file: cainf flags: 2
270924-09:35:02.6107790L|3131997|ccc44f40|amLiteAgen|cfUtilities |cfUtilities    |000000|INFO   | CFPorting_GetDefaultCP: en_US.UTF-8
270924-09:35:02.6112150L|3131997|ccc44f40|amLiteAgen|cfUtilities |cfUtilities    |000000|DETAIL | CFFactory_TraceVersion: libcainf.so:
270924-09:35:02.6113090L|3131997|ccc44f40|amLiteAgen|cfUtilities |cfUtilities    |000000|INFO   | CFPorting_LoadLibrary: loaded: cainf at 0x792db0
270924-09:35:02.6115540L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|INFO   | mem_chunk trying to read : /dev/mem
270924-09:35:02.6117600L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|DETAIL | BiosInfo: BiosInfo after mem_chunk
270924-09:35:02.6118010L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|DETAIL | BiosInfo: SM3 found. Reading SMBios inventory information using dmidecode
270924-09:35:02.6118380L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|DETAIL | SMBiosHWInfo started
270924-09:35:02.6118740L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|DETAIL | SMBiosHWInfo before Running dmidecode --type 0
270924-09:35:02.6129300L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|DETAIL | SMBiosHWInfo dmidecode --type 0 command success
270924-09:35:02.6146890L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|DETAIL | SMBiosHWInfo - UEFI Booted = Yes
270924-09:35:02.6228260L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|DETAIL | SMBiosHWInfo - UEFI Version = 2.70
....
270924-09:35:02.6414140L|3131997|ccc44f40|amLiteAgen|cainf       |cainf          |000000|DETAIL | SMBiosHWInfo - Memory banks  20

 

In crash dump there are these information :

PROCESS_NAME:  cmNriAgent.exe
ERROR_CODE: (NTSTATUS) 0xe0534947 - <Unable to get error code text>
EXCEPTION_CODE_STR:  e0534947
EXCEPTION_PARAMETER1:  000000000000000b
EXCEPTION_PARAMETER2:  0000000000000001

STACK_TEXT:  
00007ffd`0fc40140 00007f1b`e4608aab libcainf+0x28aab
00007ffd`0fc40260 00007f1b`e4603e1c libcainf+0x23e1c
00007ffd`0fc43390 00007f1b`e4604d0f libcainf+0x24d0f
00007ffd`0fc433e0 00007f1b`e45fb0cb libcainf+0x1b0cb
00007ffd`0fc43450 00000000`0040bbb4 cmNriAgent+0xbbb4

SYMBOL_NAME:  libcainf+28aab
MODULE_NAME: libcainf
IMAGE_NAME:  libcainf.so
STACK_COMMAND:  .ecxr ; kb ; ** Pseudo Context ** Pseudo ** Value: 2 ** ; kb
FAILURE_BUCKET_ID:  LINUX_SIGNAL_SIGSEGV_CODE_0x1_e0534947_libcainf.so!Unknown
OSPLATFORM_TYPE:  x64

Environment

Client Automation 14.5
Linux NRI Agent 64 bits

Cause

This problem could occur on machine with a SMBIOS 3.* and UEFI BIOS mode.

Resolution

Open a case at Broadcom Technical Support and ask for the fix T437424

This fix delivers the following file :

Name          : libcainf.so
Size : 241 488 bytes
Modified Date : 21/10/2024

This fix could be applied on NRI Agent 64 bits for Linux or on Agent 64 Bits for Linux