Uploaded image for project: 'OpenAM Agents'
  1. OpenAM Agents
  2. AMAGENTS-186

first agent process should delete and recreate shared memory files

    Details

      Description

      In some scenarios, a crashing process can resulted in a corrupted cache file.
      This strengthens the code by deleting the shared memory files on startup to guarantee a clean start.
      This should already happen on other OSes.

      Test using a shared memory file with am->global_size set incorrectly. When agent is down, put the files in the agent/logs directory

      EXPECTED BEHAVIOUR
      ====================
      Agent should always start cleanly and not crash on a request

      ACTUAL BEHAVIOUR
      ==================
      Agent crashes with a c0005 access violation in am_shm_lock+037

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mareks Mareks Malnacs
                Reporter:
                alex.levin@forgerock.com Alex Levin
                QA Assignee:
                Nemanja Lukic
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: