Layer 7 Access Management

Tech Tip : CA Single Sign-On : Policy Server Crashes with Stack at CSmContextContainer::GetContext

  • 1.  Tech Tip : CA Single Sign-On : Policy Server Crashes with Stack at CSmContextContainer::GetContext

    Posted 05-19-2017 09:59 AM

    Issue:

     

    I'm running a Policy Server and randomly the Policy Server crashes with the following java stack :

     

    hs_err_.log

     

      C [libsmutilities.so+0x1474d6] std::_Rb_tree<int, std::pair<int const, void*>,
      std::_Select1st<std::pair<int const, void*> >, std::less<int>, std::allocator<std::pair<int const, void*>
      > >::_M_begin()+0x6
      C [libsmutilities.so+0x147714] std::_Rb_tree<int, std::pair<int const, void*>,
      std::_Select1st<std::pair<int const, void*> >, std::less<int>, std::allocator<std::pair<int const, void*>
      > >::find(int const&)+0x1e
      C [libsmutilities.so+0x1472fd] std::map<int, void*, std::less<int>, std::allocator<std::pair<int const, void*>
      > >::find(int const&)+0x23
      C [libsmutilities.so+0x147052] CSmContextContainer::GetContext(int, void*&)+0x36
      C [libsmauth.so+0xd8051] SmSessionVariableProvider::GetInterface(int, void*, void*&, void*&)+0x157
      C [libsmutilities.so+0x145f07] CSmApiFactory::GetInterface(int, void*, void*&, void*&)+0xdd
      C [libsmauth.so+0x76ee7] CSmAuthUser::GetPropIndex(void*, CString const&, CString&, bool&, int) const+0x4f7f
      C [libsmauth.so+0x79513] CSmAuthUser::GetProp(CString const&, CString&, bool&) const+0x2b
      C [libsmauth.so+0x5d73c] GetDsUserProp(void const*, char const*, int, char*)+0x6c8

     

    I've implemented active expression and responses for Federation Journey.

     

    Why do I get this issue ? How can I fix it ?


    Environment:


    Policy Server 12.5CR02 on RedHat 5; Session Store on CA Directory 12.0SP14;

     

    Cause:

     

    This is a known issue. This is an internal problem by setting the ContextContainer when handling
    Active expression as Response attribute.

     

    Resolution:

     

    Upgrade Policy Server to 12.51CR04 and 12.52SP1CR01 and above.

     

    KB : TEC1287397