Custom agent periodically crashing when making various Agent API calls.

Document ID : KB000045247
Last Modified Date : 14/02/2018
Show Technical Document Details

Symptoms:  

Custom agent is crashing, producing the following backtrace of the core:

*** glibc detected *** /ms/dist/msjava/PROJ/oraclejdk/1.7.0_80/bin/java: double free or corruption (fasttop): 0x00007f4edc55b080 ***

======= Backtrace: =========

/lib64/libc.so.6(+0x75f3e)[0x7f4ee9d31f3e]

/lib64/libc.so.6(+0x78d8d)[0x7f4ee9d34d8d]

/PROJ/smagentsdk/12.51.6.1316/.exec/@sys/sdk/bin/libsmjavaagentapi.so(_Z13ReleaseTliLogv+0x98)[0x7f4ed2100996]

/PROJ/smagentsdk/12.51.6.1316/.exec/@sys/sdk/bin/libsmjavaagentapi.so(Sm_AgentApi_UnInit+0x11b9)[0x7f4ed20738dd]

/PROJ/smagentsdk/12.51.6.1316/.exec/@sys/sdk/bin/libsmjavaagentapi.so(Sm_AgentApi_GetHostConfig+0x1dc)[0x7f4ed20a89b8]

/PROJ/smagentsdk/12.51.6.1316/.exec/@sys/sdk/bin/libsmjavaagentapi.so(Sm_AgentApi_GetConfig+0xd8f)[0x7f4ed20a5baf]

/PROJ/smagentsdk/12.51.6.1316/.exec/@sys/sdk/bin/libsmjavaagentapi.so(Java_netegrity_siteminder_javaagent_AgentAPI_javaagent_1api_1getConfig+0xcf)[0x7f4ed2

063027]

[0x7f4ee0dfa7f8]

 

Environment: 

12.51-CR6 NIN using 64-bit Pure Java Agent API but will happen with any version of 12.5x SDK on Unix.

 

Cause:

Customer was using the same SmHost.conf file in Tomcat server and Apache server. 

 

 

Resolution/Workaround: 

Customer created a second SmHost.conf file and configured Tomcat to use one and Apache the other.