search cancel

SS crashed when processing attribute data.

book

Article ID: 242101

calendar_today

Updated On:

Products

CA Spectrum DX NetOps

Issue/Introduction

The SS crashes when processing attribute data.  An example of the stack would look like this:

(gdb)

#0  0x00007f366b347c34 in __memcpy_ssse3_back () from /lib64/libc.so.6

#1  0x00007f366fbb778e in attrdup(void const*, CsAttrDesc::CsAttrType_e) () from /opt/SPECTRUM/lib/libVPapi.so.1

#2  0x00007f366fbc015f in CsAttrVal::CsAttrVal(CsAttrVal const&) () from /opt/SPECTRUM/lib/libVPapi.so.1

#3  0x00007f366fbc1a81 in CsAttrValList::CsAttrValList(CsAttrValList const*) () from /opt/SPECTRUM/lib/libVPapi.so.1

#4  0x00007f367aab3d7d in CsModel::write(CsAttrValList*, unsigned char, char const*, CsSecurityIf const*) () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#5  0x00007f367aace4a2 in CsModelIf::write(CsAttrValList*, unsigned char, char const*, CsSecurityIf const*) const () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#6  0x00007f3679989bf8 in CsVnmModelHandle::write(CsAttrValList*, char const*) const () from /opt/SPECTRUM/lib/../SS/libIHapi.so.1

#7  0x00007f36700f9a8e in CsIHSyncRead::trig_read(CsModelHandle const&, unsigned int, CsReadInfo const*) () from /opt/SPECTRUM/lib/../SS/libgmmintel.so.1

#8  0x00007f367aaaeeb0 in CsModel::get_calc_attr_val(CsMTypeAttr const*, CsObjectID const*, unsigned char) const () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#9  0x00007f367aab42e7 in CsModel::read_ulong(unsigned int, CsError::CsError_e*, CsSecurityIf const*) const () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#10 0x00007f367aacf994 in CsModelIf::read_ulong(unsigned int, CsError::CsError_e*) const () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#11 0x00007f367997de4d in CsIHBase::read_ulong(CsModelHandle const&, unsigned int, CsError::CsError_e&) () from /opt/SPECTRUM/lib/../SS/libIHapi.so.1

#12 0x00007f367880df43 in CsIHGetPorts::is_physical_port(CsModelHandle const&) () from /opt/SPECTRUM/lib/../SS/libmdlsvint.so.1

#13 0x00007f367880ed4f in CsIHGetPorts::get_physical_ports(CsModelHandle const&, ModelHandleSet&, int) () from /opt/SPECTRUM/lib/../SS/libmdlsvint.so.1

#14 0x00007f367880fc87 in CsIHGetPorts::trig_action(CsModelHandle const&, CsAction const*) () from /opt/SPECTRUM/lib/../SS/libmdlsvint.so.1

#0  0x00007fea9b4bde11 in __memcpy_ssse3_back () from /lib64/libc.so.6

#1  0x00007fea9fd2d78e in attrdup(void const*, CsAttrDesc::CsAttrType_e) () from /opt/SPECTRUM/lib/libVPapi.so.1

#2  0x00007fea9fd3615f in CsAttrVal::CsAttrVal(CsAttrVal const&) () from /opt/SPECTRUM/lib/libVPapi.so.1

#3  0x00007fea9fd37a81 in CsAttrValList::CsAttrValList(CsAttrValList const*) () from /opt/SPECTRUM/lib/libVPapi.so.1

#4  0x00007feaaac29d7d in CsModel::write(CsAttrValList*, unsigned char, char const*, CsSecurityIf const*) ()

   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#5  0x00007feaaac444a2 in CsModelIf::write(CsAttrValList*, unsigned char, char const*, CsSecurityIf const*) const ()

   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#6  0x00007feaa9affbf8 in CsVnmModelHandle::write(CsAttrValList*, char const*) const () from /opt/SPECTRUM/lib/../SS/libIHapi.so.1

#7  0x00007feaa026fa8e in CsIHSyncRead::trig_read(CsModelHandle const&, unsigned int, CsReadInfo const*) ()

   from /opt/SPECTRUM/lib/../SS/libgmmintel.so.1

#8  0x00007feaaac24eb0 in CsModel::get_calc_attr_val(CsMTypeAttr const*, CsObjectID const*, unsigned char) const ()

   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#9  0x00007feaaac1e735 in CsModel::read_calc(CsAttrReadReqList*, CsAttrValRspList*) () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#10 0x00007feaaac1f196 in CsModel::read(CsAttrReadReqList*, CsDcmArgs const*, CsSecurityIf const*) () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#11 0x00007feaaabedd47 in CsLandscape::search_calculated_keys(CsFindSpec const*, CsULHashTable*, CsFindSpec::LogicalOp_e, CsULHashTable*, int) ()

   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#12 0x00007feaaabf0700 in CsLandscape::terminal_find_model_handles(CsFindSpec const*, CsULHashTable*, CsFindSpec::LogicalOp_e, CsError::CsError_e*, int) () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#13 0x00007feaaabf5661 in CsLandscape::find_model_handles(CsFindSpec const*, CsError::CsError_e*, CsSecurityIf const*, int) ()

   from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#14 0x00007feaaabf60dd in CsLandscape::find_models(CsFindSpec const*, CsSecurityIf const*, int) () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#15 0x00007feaaabf61d4 in CsLandscape::find_models(CsFindSpec const*, CsSecurityIf const*) () from /opt/SPECTRUM/lib/../SS/libsskrnl.so.1

#16 0x00007feaa9aff938 in CsVnmLscpeHandle::find_models(CsFindSpec*) const () from /opt/SPECTRUM/lib/../SS/libIHapi.so.1

#17 0x00007feaa8a4cf28 in GlobalCollectionIH::run_search(CsModelHandle const&, GlobalCollectionIH::SearchInitiator_e) ()

   from /opt/SPECTRUM/lib/../SS/libmdlsvint.so.1

#18 0x00007feaa8a4dd38 in GlobalCollectionIH::trig_attr_change(CsModelHandle const&, CsChangeNode const*) ()

   from /opt/SPECTRUM/lib/../SS/libmdlsvint.so.1

Environment

Release : 21.2

Component : Spectrum Core / SpectroSERVER

Cause

Internal code issue in the way the attribute data was being processed.

Resolution

This is resolved by patch 21.2.8_D63 for NetOps Spectrum 21.2.8 and in patch 21.2.10_D72 for NetOps Spectrum 21.2.10.  This fix is included in NetOps release 21.2.12.

Additional Information

The commonality with the stacks is the code that needed to be changed is CsIHSyncRead.