SpectroServer crashes on NCM capture

book

Article ID: 211884

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

SpectroServer crashed during NCM capture. The gdb backtrace showed:
 
(gdb) bt
#0  0x00007f49241bca80 in IHHostConfig::readCustomFamilyStartupCaptureCommands(CsModelHandle const&, void*) ()
   from /enbw/Spectrum/SS/Modules/SA-SCMSS.so.1
#1  0x00007f49241c7171 in IHHostConfig::supports_cap_startup_config(CsModelHandle const&, CsModelHandle const&) ()
   from /enbw/Spectrum/SS/Modules/SA-SCMSS.so.1
#2  0x00007f49241d7549 in IHHostConfig::capture_running_startup(CsModelHandle const&, CsError::CsError_e&) ()
   from /enbw/Spectrum/SS/Modules/SA-SCMSS.so.1
#3  0x00007f49241d7ab6 in IHHostConfig::do_capture(CsModelHandle const&) () from /enbw/Spectrum/SS/Modules/SA-SCMSS.so.1
#4  0x00007f49241d8df0 in IHHostConfig::handle_capture_request(CsModelHandle const&, CsAction const*) ()
   from /enbw/Spectrum/SS/Modules/SA-SCMSS.so.1
#5  0x00007f49241db2a5 in IHHostConfig::trig_action(CsModelHandle const&, CsAction const*) () from /enbw/Spectrum/SS/Modules/SA-SCMSS.so.1
#6  0x00007f49784822ce in CsModelType::trig_action(CsModelHandle const&, CsAction const*, CsVPConnHandle const&) ()
   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1
#7  0x00007f49784a4901 in CsModel::action(CsAction*, CsVPConnHandle const&, CsSecurityIf const*) ()
   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1
#8  0x00007f49784c25ad in CsModelIf::action(CsAction*, CsVPConnHandle const&, CsSecurityIf const*) const ()
   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1
#9  0x00007f497737ed62 in CsVnmModelHandle::action(CsAction*, CsConnHandle const&) const () from /opt/SPECTRUM/lib/../SS/libIHapi.so.1
#10 0x00007f497737ed88 in CsVnmModelHandle::action(CsAction*) const () from /opt/SPECTRUM/lib/../SS/libIHapi.so.1
#11 0x00007f49241ae2a3 in IHConfigAttrMonitor::fire_capture_action(CsModelHandle const&) () from /enbw/Spectrum/SS/Modules/SA-SCMSS.so.1
#12 0x00007f497842999b in CsIHMTAttrWatcher::notify(CsIncidentParm const*, CsSecurityIf const*) ()
   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1
#13 0x00007f497849e5ae in CsModel::react_to_change(CsVPList&) () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1
#14 0x00007f49784a86e2 in CsModel::process_changes() () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1
#15 0x00007f49784c42a9 in CsNotificationMgr::process_queued_work(CsWorkNode const*) () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1
#16 0x00007f49733d9512 in CsWorkQueue::process_work_node(CsWorkNode*) () from /opt/SPECTRUM/lib/libwkmgr.so.1
#17 0x00007f49733d8a70 in CsWorkScheduler::do_work() () from /opt/SPECTRUM/lib/libwkmgr.so.1
#18 0x00007f497811c211 in moot_thread_start () from /opt/SPECTRUM/lib/libmoot.so.1
#19 0x00007f496c18c190 in ?? () from /lib64/libc.so.6
#20 0x0000000000000000 in ?? ()
 

Cause

The crash is occurring because during the capturing of config, Spectrum is trying to read the attribute familyStartupCommandList. If the these values are null then the crash will occur.

Environment

Release : 20.2.3  (10.4.2.1)

Component : Spectrum Core / SpectroSERVER

Resolution

Apply Patch 10.04.02.01.D144

Fix will be part of NetOps Spectrum 21.2.0

Additional Information

For  Spectrum version 10.4.3.1 please find the patch 10.04.03.01.D158