Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
6.8.2
-
macOS 14.5, Intel CPU
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
- duplicates
-
QTBUG-131957 [REG 6.8.0 → 6.8.1] QML applications crash on macOS 12 (x86)
-
- Closed
-
- resulted from
-
QTBUG-122102 mprotect repeatedly fails and triggers SELinux AVC alerts
-
- Closed
-