Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-133965

[Reg 6.5 -> 6.8.1] com.apple.security.cs.allow-jit entitlement is no longer sufficient on Intel Macs with hardened runtime

    XMLWordPrintable

Details

    • macOS

    Description

      Background
      The customer uses hardened runtime on macOS, with the com.apple.security.cs.allow-jit entitlement to permit JIT compilation in QML.

       

      Problem
      Upgrading from Qt 6.6.1 to Qt 6.8.1 causes the app to crash on Intel Macs (but not ARM Macs) at launch. The crash log had JIT code in the virtual memory list at the top, and the reason for the crash was 'code signing', i.e. a Gatekeeper violation.

       

      Workarounds

      • Loosen the memory protection entitlements from com.apple.security.cs.allow-jit to com.apple.security.cs.allow-unsigned-executable-memory (not desirable, as it weakens the security protections for the whole app). OR,
      • Revert the fix for QTBUG-122102

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtqmlteam Qt Qml Team User
              skoh-qt Sze Howe Koh
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes