search cancel

SpectroServer crashes on NCM capture


Article ID: 211884


Updated On:


CA Spectrum


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


Release : 20.2.3  (

Component : Spectrum Core / SpectroSERVER


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.


Apply Patch

Fix will be part of NetOps Spectrum 21.2.0

Additional Information

For  Spectrum version please find the patch