Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-12531

Running webagent 5.0.0 against OpenAM 5.5.1 which is upgraded from previous version will result in segmentation fault or crash

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 14.5.1, 5.5.1
    • Fix Version/s: 6.0.0, 5.5.2
    • Component/s: None
    • Labels:
    • 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)

      Description

      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

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adam.heath Adam Heath
                Reporter:
                sam.phua Sam Phua
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: