Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-1075

Undefined behaviour during thread termination in sysThreadStartup

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.1.4
    • Component/s: Runtime
    • Labels:
      None
    • Environment:

      All (tested on Ubuntu 13.10)

      Description

      The function sysThreadStartup in sys.C doesn't return a value when the thread is being terminated. This is undefined behaviour that can be detected by appropriate compiler flags (e.g. -fsanitize=undefined on gcc 4.9).

      This bug seems to cause crashes in CodePatchSyncRequestVisitorTest when compiling with clang: the bootimage runner complains about a TLS error. Many of the tests in the pre-commit test run fail with the same error message when compiling with clang.

        Attachments

          Activity

            People

            • Assignee:
              ebrangs Erik Brangs
              Reporter:
              ebrangs Erik Brangs
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: