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

    • macOS

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes