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

SIGBUS due to alignment issues in hashes on SPARC

    XMLWordPrintable

    Details

      Description

      Agent crashes due to memory alignment on session cache read

      Reproduction

      Install
      Run a request against a protected resource
      Run another request against the same resource.

      Actual behaviour:
      core similar to this is seen
      core '/var/core/core.httpd.9438' of 9438:       /usr/local/apache/2.2.31/bin/httpd -k start
      fdf45c8c key_equality (1362f0, b5c00048, 5e, 5849550f, ff00, 80808080) + 2c
      fdf77214 cache_get_readlocked_ptr (ae5aa271, ffbfc878, ffbfc874, 1362f0, 0, 5849550f) + 1f4
      fdf45f00 cache_fetch_readable (ae5aa271, 130a10, ffbfc878, ffbfc874, 7ffffc00, 80808080) + f0
      fdf46738 am_get_session_policy_cache_entry (ffbfcaf8, 130a10, ffbfc9f0, ffbfc9ec, ffbfc9d0, fe038760) + 78
      fdf28b98 validate_policy (ffbfcaf8, 0, 696500, 69650020, 80808080, 1010101) + 6c8
      fdf34518 am_process_request (ffbfcaf8, fe040520, ffffffff, fffffff8, 0, ffbfecd8) + 58
      fe02bc74 amagent_auth_handler (12e520, b0118, b00f8, 0, 82630, fa290) + c04
      0003d298 ap_run_access_checker (12e520, a4, 1, 130038, 12ff40, 0) + 4c
      0003f308 ap_process_request_internal (0, 925e8, 12e520, 0, 0, 825d0) + 258
      00050e80 ap_process_request (12e520, 0, 4, 12e520, 82f40, 0) + 178
      0004d984 ap_process_http_connection (11c770, 11c4d8, 11c4d8, 2, 82ec0, 2) + 124
      00049570 ap_run_process_connection (11c770, 11c4d8, 11c4d8, 2, 11a5e8, 1264c0) + 4c
      00055f7c child_main (0, 11d0, 145c, 11d4, 141c, 82ecc) + 5b4
      0005623c make_child (8f860, 2, 0, f58611f8, 11a070, 8) + 120
      00056340 startup_children (3, fef3f32c, 0, 82f2c, 0, 82f7c) + 94
      00056f8c ap_mpm_run (1000, 93968, 8f860, 1000, 1000, 148) + c30
      0002c91c main     (8b9d8, 8d950, 61e70, 158, 1438, 140) + 8f8
      0002bab8 _start   (0, 0, 0, 0, 0, 0) + 5c

      Expected behaviour
      cached response should occur.

      This should also be revalidated for AIX

        Attachments

          Activity

            People

            mareks Mareks Malnacs
            alex.levin@forgerock.com Alex Levin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0h
                0h
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 4h
                4h