Uploaded image for project: 'Erlang/OTP'
  1. Erlang/OTP
  2. ERL-1165

Translation of exit reason kill to killed changed between OTP20 and OTP21.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: OTP-21.0
    • Component/s: None
    • Labels:
      None

      Description

      The attached test (odd:test()) fails on OTP21 and 22, but passes on earlier versions.

      When a process kills itself using exit(kill), as opposed to exit(self(),kill), or being killed by another process, then the exit reason propagated to linked processes is not translated to killed–it's delivered as kill. In OTP20 and earlier versions, it was translated to killed.

      Is this deliberate? We've found no mention in the release notes.

        Attachments

          Activity

            People

            Assignee:
            rickard Rickard Green
            Reporter:
            rjmh John Hughes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: