-
Type:
Bug
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 14.5.1, 5.5.1
-
Component/s: None
-
Sprint:AM Sustaining Sprint 49, AM Sustaining Sprint 50
-
Story Points:2
-
Needs backport:Yes
-
Support Ticket IDs:
-
Verified Version/s:
-
Needs QA verification:Yes
-
Functional tests:No
-
Are the reproduction steps defined?:Yes but I used my own steps. (If so, please add them in a new comment)
Bug description
Running webagent 5.0.0 against OpenAM 5.5.1 which is upgraded from previous version will result in segmentation fault or crash
How to reproduce the issue
Setup OpenAM 12.0.4 with a simple webagent profile
Upgrade OpenAM 12.0.4 to AM 5.5.1
Setup Agent 5.0.0 in Apache server v24
and access the protected page
Expected behaviour
The protected page will be redirected for authentication
Current behaviour
The Apache server crashes with a segmentation fault [Fri Mar 02 12:52:10.779284 2018] [mpm_event:notice] [pid 26882:tid 140629360584512] AH00489: Apache/2.4.18 (Unix) OpenAM Web Agent/5.0.0 configured -- resuming normal operations [Fri Mar 02 12:52:10.779364 2018] [core:notice] [pid 26882:tid 140629360584512] AH00094: Command line: '/work/openam12.0.4-5.5.1-agent-upgrade-fails-27992/HTTP-24-5.0.0/bin/httpd' [Fri Mar 02 12:52:17.786034 2018] [core:notice] [pid 26882:tid 140629360584512] AH00052: child pid 26888 exit signal Segmentation fault (11)
The apache server crashes because some of the attributes were missing. See AMAGENTS-1510 and AMAGENTS-1509.
com.sun.identity.agents.config.cdsso.redirect.uri=agent/cdsso-oauth2 org.forgerock.openam.agents.config.jwt.name=am-auth-jwt
Work around
Re-create the web agent profile
- caused
-
OPENAM-15363 Redirect_uri_mismatch error occurs in Agent 5.x after upgrading from OpenAM 13.5.0
-
- Resolved
-
- relates to
-
AMAGENTS-1509 Agent5 is crashing with unchecked use of r->conf->redirect_uri value
-
- Closed
-
-
AMAGENTS-1510 Agent5 is crashing with unchecked use of r->conf->jwt_name value
-
- Closed
-