Smarts NCM: Stack trace is created when stopping ncm-as; With the following error: *** glibc detected *** /opt/smarts-ncm/java/bin/java: double free or corruption (fasttop):
search cancel

Smarts NCM: Stack trace is created when stopping ncm-as; With the following error: *** glibc detected *** /opt/smarts-ncm/java/bin/java: double free or corruption (fasttop):

book

Article ID: 330890

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


stack trace is created when ncm-as service is stopped. No impact to system.

# /etc/init.d/vcmaster stop
Stopping vcmaster services
Stopping sysadmin:
[ OK ]
Stopping Device Server Service: [ OK ]
Stopping sshdaemon...

Stopping controldaemon
[ OK ]
Stopping tomcat: [ OK ]
Stopping httpd: [ OK ]
Stopping ncm-msa: [ OK ]
Stopping ncm-as: *** glibc detected *** /opt/smarts-ncm/java/bin/java: double free or corruption (fasttop): 0x00007f8e445d8b40 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75e66)[0x7f8e4a1c3e66]
/usr/lib64/libcrypto.so.6(CRYPTO_free+0x1d)[0x7f8e073e9eed]
/usr/lib64/libcrypto.so.6(sk_pop_free+0x30)[0x7f8e07389920]
/usr/lib64/libcrypto.so.6(X509_STORE_free+0x64)[0x7f8e073b4774]
/usr/lib64/libssl.so.6(SSL_CTX_free+0x8a)[0x7f8e07695cda]
/opt/smarts-ncm/ncmcore/lib/apr/lib/libtcnative-1.so(+0x17eb6)[0x7f8e078cceb6]
/opt/smarts-ncm/ncmcore/bin/../lib/apr/lib/libapr-1.so.0(+0x1ad0d)[0x7f8e070f4d0d]
/opt/smarts-ncm/ncmcore/bin/../lib/apr/lib/libapr-1.so.0(apr_pool_destroy+0x3e)[0x7f8e070f535e]
[0x7f8e350156d4]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fd:00 793889 /opt/smarts-ncm/java/bin/java
00600000-00601000 rw-p 00000000 fd:00 793889 /opt/smarts-ncm/java/bin/java
025f3000-02614000 rw-p 00000000 00:00 0 [heap]
6c0000000-715580000 rw-p 00000000 00:00 0
715580000-76ab00000 ---p 00000000 00:00 0
76ab00000-7c0000000 rw-p 00000000 00:00 0
7c0000000-7c08c0000 rw-p 00000000 00:00 0


Environment

VMware Smart Assurance - NCM

Resolution

Please verify this with the following command rpm -qa | grep glibc

If there are multiple versions you can uninstall one of the versions.

This will resolve the issue.