VCS Engine and Agents Dumping Core with VCSAssert on AIX with Infoscale 8.0.2

book

Article ID: 1000766341

calendar_today

Updated On:

Description

Affected Releases

InfoScale 8.0.2 (VRTSvcs 8.0.2.1100)

Platform / OS

IBM AIX 7.1, AIX 7.2 (TL5), AIX 7.3 (TL4)

AIX errpt records abnormal process termination with Signal 11:

 
 
 
LABEL: CORE_DUMP IDENTIFIER: C60495D3 Class: S Type: PERM Resource Name: SYSPROC Description: SOFTWARE PROGRAM ABNORMALLY TERMINATED Program: had (or NIC agent / Script50Agent) Signal: 11 (SIGSEGV)

VCS Engine Log (engine_A.log

For agent failures, IPM lost connection messages appear :

 
 
 
V-16-1-10023 Agent NIC not sending alive messages since <timestamp> V-16-1-53025 Agent NIC has faulted; ipm connection was lost; restarting the agent V-16-1-10016 Agent /opt/VRTSvcs/bin/NIC/NICAgent successfully started at <timestamp>

For had failure and recovery by hashadow:

 
 
 
V-16-1-11027 VCS engine startup arguments=-restart (@ <timestamp>

(The -restart argument confirms automatic restart by hashadow following an abnormal termination)

2.3 Stack Trace (dbx Core Analysis)

Examining the core dump with dbx shows a crash inside VCSAssert originating from VCSGetElapsedTime or VCSGetElapsedTime2

HAD Core Stack

 
 
 
Segmentation fault in VCSAssert(char*,char*,unsigned int,const char*) at line 363 in file "" (dbx) where VCSAssert(char*,char*,unsigned int,const char*)(expr = "itmr.it_value.tv_sec > 0", file = "./aix/VCSUnixSpec.C", line = 328, reason = (nil)), line 363 in "Platform.C" VCSGetElapsedTime(unsigned int)(resolution = 1), line 328 in "VCSUnixSpec.C" GabHandle::heartbeat(int,int)(this = 0x301313b0, relinquish = 0, callback = 0), line 1189 in "Gab.C" MAIN(unsigned long,char**)(argc = 1, argv = 0x2ff229a0), line 3336 in "had.C" main(argc = 1, argv = 0x2ff229a0), line 4052 in "had.C

VCS Agent Core Stack (e.g., NIC / HostMonitor)

 
 
 
Segmentation fault in VCSAssert(char*,char*,unsigned int,const char*) at line 363 in file "" (dbx) where VCSAssert(char*,char*,unsigned int,const char*)(expr = "itmr.it_value.tv_sec > 0", file = "./aix/VCSUnixSpec.C", line = 251, reason = (nil)), line 363 in "Platform.C" VCSGetElapsedTime2(unsigned int)(resolution = 1), line 251 in "VCSUnixSpec.C" VCSAgent::get_time(unsigned int)(this = 0x20087ca0, resolution = 1), line 278 in "VCSAgent.C" VCSAgTimer::check_timers()(this = 0x20096270), line 286 in "VCSAgTimer.C" vcsag_timer_thread_func(void*)(vp = 0x2ff22844), line 1649 in "VCSAgMain.C

Cause

  • VCS maintains its internal elapsed-time clock by arming a per-process AIX interval timer with a large initial duration (~158,000,000 seconds, or ~5 years) at process start-up.

  • On IBM AIX, TIMERID_REAL, TIMERID_ALRM, and ITIMER_REAL resolve to the same underlying timer slot (Slot 0), which is the single alarm() timer shared by the entire process (gettimerid(TIMERID_REAL, 0) returns Slot 0).

  • Consequently, VCS does not hold an isolated private interval timer on AIX; it shares Slot 0 with standard system alarm() calls.

  • If any in-process caller or dynamically linked shared library invokes or cancels a real timer/alarm (or a sub-second timeout expires), the shared Slot 0 countdown is overwritten or reset to zero.

  • When VCS queries remaining time via getinterval(), it observes itmr.it_value.tv_sec == 0.

  • Because a multi-year countdown cannot legitimately hit zero in typical operational timeframes (e.g., after hours or days of uptime), VCS detects this as an invalid clock state. It triggers the internal check.

  • This intentional assertion deliberately terminates the process with `SIGSEGV` to prevent decisions based on untrusted time data.

  • There are no operating system tunables (such as vpm_xvcpus) or VCS configuration settings that resolve this behavior.

Resolution

The Product Engineering team currently plans to address this issue through a private binary or a cumulative Patch in the current software version. Please note that our company reserves the right to withdraw any fix from the targeted release if it fails quality assurance tests. Development plans are subject to change, and any actions you take based on this information, or your reliance on it, are at your own risk.

Please reach out to Infoscale support for obtaining the Hotfix and Cumulative Patch.

Issue/Introduction

On IBM AIX environments running Veritas Cluster Server (VCS), the cluster engine (had) or VCS agents (such as NIC or HostMonitor) may terminate abnormally with a core dump (SIGSEGV / Signal 11).

Following the termination:

  • had is automatically restarted by the cluster supervisor daemon (hashadow).

  • Agents are restarted automatically by the VCS agent framework.

  • In most instances, applications and service groups remain online without failing over; however, cluster is temporarily degraded during the restart.

Additional Information

Reference : STESC-10175, STESC-10224, STESC-6433, STESC-9666