search cancel

SpectroSERVER crashed when processing event data

book

Article ID: 230247

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The SS crashed and the following stack was pulled from the core file:

Core was generated by `/opt/CA/Spectrum/SS/SpectroSERVER'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007fb8e56d8bf9 in CsSMExpressionAttribute::readInstance(unsigned int, unsigned int, CsSMEnvironment const*) const () from /opt/SPECTRUM/lib/../SS/libems.so.1
#0  0x00007fb8e56d8bf9 in CsSMExpressionAttribute::readInstance(unsigned int, unsigned int, CsSMEnvironment const*) const () from /opt/SPECTRUM/lib/../SS/libems.so.1
#1  0x00007fb8e56d90bf in CsSMExpressionAttribute::evaluate(CsSMEnvironment const*) const () from /opt/SPECTRUM/lib/../SS/libems.so.1
#2  0x00007fb8e56d6d50 in CsSMExpression::invoke(CsSMEnvironment const*, Aprisma::ProcedureReturnValue*) const () from /opt/SPECTRUM/lib/../SS/libems.so.1
#3  0x00007fb8e3f18aa4 in Aprisma::ProcedureBody::invoke(CsVPList const*, Aprisma::ProcedureEnvironment const&) () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#4  0x00007fb8e3f1dd07 in Aprisma::ProcedureIf::invoke(Aprisma::Procedure const&, Aprisma::ProcedureEnvironment const&) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#5  0x00007fb8e3f1aa0e in Aprisma::ProcedureEnvironment::getParameterValue(unsigned int) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#6  0x00007fb8e3f2cbe0 in Aprisma::SetEventAttributeExpression::evaluate(CsSMEnvironment const*) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#7  0x00007fb8e56d6d50 in CsSMExpression::invoke(CsSMEnvironment const*, Aprisma::ProcedureReturnValue*) const () from /opt/SPECTRUM/lib/../SS/libems.so.1
#8  0x00007fb8e3f18aa4 in Aprisma::ProcedureBody::invoke(CsVPList const*, Aprisma::ProcedureEnvironment const&) () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#9  0x00007fb8e3f1dd07 in Aprisma::ProcedureIf::invoke(Aprisma::Procedure const&, Aprisma::ProcedureEnvironment const&) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#10 0x00007fb8e3f1aa0e in Aprisma::ProcedureEnvironment::getParameterValue(unsigned int) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#11 0x00007fb8e3f2cba3 in Aprisma::SetEventAttributeExpression::evaluate(CsSMEnvironment const*) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#12 0x00007fb8e56d6d50 in CsSMExpression::invoke(CsSMEnvironment const*, Aprisma::ProcedureReturnValue*) const () from /opt/SPECTRUM/lib/../SS/libems.so.1
#13 0x00007fb8e3f18aa4 in Aprisma::ProcedureBody::invoke(CsVPList const*, Aprisma::ProcedureEnvironment const&) () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#14 0x00007fb8e3f1dd07 in Aprisma::ProcedureIf::invoke(Aprisma::Procedure const&, Aprisma::ProcedureEnvironment const&) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#15 0x00007fb8e3f1aa0e in Aprisma::ProcedureEnvironment::getParameterValue(unsigned int) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#16 0x00007fb8e3f2cba3 in Aprisma::SetEventAttributeExpression::evaluate(CsSMEnvironment const*) const () from /opt/SPECTRUM/lib/../SS/libProcedure.so.1
#17 0x00007fb8e56d6d50 in CsSMExpression::invoke(CsSMEnvironment const*, Aprisma::ProcedureReturnValue*) const () from /opt/SPECTRUM/lib/../SS/libems.so.1

 

Environment

Release : 21.2

Component :

Cause

Data analysis and or processing

Resolution

This can happen when bad or non existent data is being processed, which is usually from a trap.  The trap comes into Spectrum and Spectrum processes it.  Depending upon what is configured in the EventDisp and what the data is that was provided may cause a problem.  For this example we reviewed some of the trap based events and found many regexps dependent upon specific varbinds in the trap.  The customer will review their configurations as many of the regexp are no longer needed.