Policy Server Crashes with Stack at CSmContextContainer::GetContext

Document ID : KB000006699
Last Modified Date : 14/02/2018
Show Technical Document Details
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.

Additional Information:

ps-12.51-cr04-readme.txt

July 31, 2014 Policy Server 12.51 CR04 contains fixes for the following tracking numbers:
54076,62052 The Policy Server terminates abnormally when Active Expression is used in Response for authorization.

Defects Fixed in 12.52 SP1 CR01


Policy Server Terminates Abruptly (75274)
Symptom:
Policy Server terminates abruptly when Active Expression is authorized as response attribute.
Solution:
This issue is fixed.