Web Agent :: Crash : what(): basic_string::_S_construct null not valid

Document ID : KB000095340
Last Modified Date : 10/05/2018
Show Technical Document Details
Issue:
We're running Web Agent on Apache, this one crashes and report the
error :

  [Tue Mar 27 15:57:33.724447 2018] [authz_core:debug] [pid 19651:tid
   140471483475712] mod_authz_core.c(835): [client 192.168.1.1:57934]
   AH01628: authorization result: granted (no directives)

  [Tue Mar 27 15:57:33.729870 2018] [deflate:debug] [pid 19651:tid
   140471483475712] mod_deflate.c(849): [client 192.168.1.1:57934]
   AH01384: Zlib: Compressed 63249 to 45087 : URL
   /myapplication/login.fcc

  [Tue Mar 27 15:58:12.243075 2018] [reqtimeout:info] [pid 19651:tid
   140471309387520] [client 192.168.1.1:57931] AH01382: Request header
   read timeout

  terminate called after throwing an instance of 'std::logic_error' 
  what(): basic_string::_S_construct null not valid 

How can we solve this ?
Environment:
  Web Agent 12.52SP1CR08 64bit on Apache 2.4.6 64bit on RedHat 7.2; 
Cause:
  The code was allowing a null pointer exception where the code is
  trying to clear a list which was empty. The fix will be available to
  Web Agent 12.52SP1CR09

  Serious regression smwa-12.52-sp01-cr08-linux-x86-64
  https://comm.support.ca.com/kb/serious-regression-smwa-12-52-sp01-cr08-linux-x86-64/kb000092947
 
Resolution:
  Upgrade the Web Agent to 12.52SP1CR09 to solve the issue.