macOS App Store download crashing with EXC_CRASH (Code Signature Invalid)

I'm seeing a released macOS App Store app crashing with a code signing error.

This isn't a beta app, it's been signed by Apple and is available on the App Store.

On most systems it installs and runs fine (macOS 10.15, macOS 11 on Intel, macOS 11 on Apple Silicon etc.), but on 10.13 we see a code signing error.

This is a Network Extension app. It crashes as soon as the mgmt app is opened, before any load is tried on the Extension.

We haven't been able to determine whether this error is widespread or not, but it seems like something that should never be happening with an App Store installed app.

The app was uninstalled and reinstalled from scratch, and the error persisted, and the MacBook Pro was rebooted. Still happened.

Any ideas? The existing discussions around this error were for beta/development builds, which isn't applicable here.


================================
Process:               Citrix SSO [1388]
Path:                 /Applications/Citrix SSO.app/Contents/MacOS/Citrix SSO
Identifier:           com.citrix.NetScalerGateway.macos.app
Version:              ???
Code Type:            X86-64 (Native)
Parent Process:       ??? [1]
Responsible:           Citrix SSO [1388]
User ID:              501Date/Time:            2020-11-19 16:54:56.702 +0530
OS Version:           Mac OS X 10.13.6 (17G65)
Report Version:       12
Anonymous UUID:       D25619E7-F0CC-9BAE-9B9A-57B8890496EE
[16:55] Process:               Citrix SSO [1410]
Path:                 /Applications/Citrix SSO.app/Contents/MacOS/Citrix SSO
Identifier:           com.citrix.NetScalerGateway.macos.app
Version:              ???
Code Type:            X86-64 (Native)
Parent Process:       ??? [1]
Responsible:           Citrix SSO [1410]
User ID:              501Date/Time:            2020-11-19 16:55:27.250 +0530
OS Version:           Mac OS X 10.13.6 (17G65)
Report Version:       12
Anonymous UUID:       D25619E7-F0CC-9BAE-9B9A-57B8890496EETime Awake Since Boot: 2000 secondsSystem Integrity Protection: enabledCrashed Thread:       0Exception Type:       EXCCRASH (Code Signature Invalid)
Exception Codes:      0x0000000000000000, 0x0000000000000000
Exception Note:       EXC
CORPSENOTIFYTermination Reason:   Namespace CODESIGNING, Code 0x1kernel messages:VM Regions Near 0 (cr2):
  • ->

    
TEXT                000000010d2b9000-000000010d644000 [ 3628K] r-x/r-x SM=COWThread 0 Crashed:
0  ???                            0x00000001184e819c
dyldstart + 0Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
  rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x00007ffee2946c18
   r8: 0x0000000000000000  r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
  r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
  rip: 0x00000001184e819c rfl: 0x0000000000000200 cr2: 0x0000000000000000Logical CPU:    0
Error Code:     0x00000000
Trap Number:    0Binary Images:
       0x10d2b9000 -       0x10d643fef +??? (0) <45E0CE2B-93E3-360D-9CFF-6C4B8DEB6BA3> (null)
       0x1184e7000 -       0x118531acf +??? (551.4) <8A72DE9C-A136-3506-AA02-4BA2B82DCAF3> (null)External Modification Summary:
  Calls made by other processes targeting this process:
    task
forpid: 0
    thread
create: 0
    threadsetstate: 0
  Calls made by this process:
    taskforpid: 0
    threadcreate: 0
    thread
setstate: 0
  Calls made by all processes on this machine:
    task
forpid: 1764
    thread
create: 0
    threadsetstate: 0VM Region Summary:
ReadOnly portion of Libraries: Total=4384K resident=0K(0%) swappedoutorunallocated=4384K(100%)
Writable regions: Total=8444K written=0K(0%) resident=0K(0%) swapped
out=0K(0%) unallocated=8444K(100%)                                VIRTUAL  REGION
REGION TYPE                       SIZE   COUNT (non-coalesced)
===========                    ======= =======
STACK GUARD                      56.0M       2
Stack                            8192K       2
_DATA                           1184K       5
LINKEDIT                        456K       3
LLVMCOV                        204K       2
_TEXT                           3928K       3
shared memory                       8K       3
===========                    ======= =======
TOTAL                            69.6M      13Model: MacBookPro11,1, BootROM 156.0.0.0.0, 2 processors, Intel Core i5, 2.4 GHz, 8 GB, SMC 2.16f68
Graphics: Intel Iris, Intel Iris, Built-In
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, -
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, -
AirPort: spairport
wirelesscardtypeairportextreme (0x14E4, 0x112), Broadcom BCM43xx 1.0 (7.77.37.31.1a9)
Bluetooth: Version 6.0.7f10, 3 services, 18 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SD0256F, 251 GB
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 17.2

Replies

Is this your app?
Hi kjbrock,

Please submit a feedback assistant and post the feedback ID here in this thread and also contact AppleCare. This will help us diagnose the issue.
Hi kjbrock,

Do you have any update on this?
I'm facing a very similar issue with my app (which is a regular app, nothing fancy, distributed through App Store): it seems to work fine on most of the systems, but one guy using 10.13 reported me that the app is consistently crashing at startup with "Termination Reason:   Namespace CODESIGNING, Code 0x1" . I also have a one star app review which is hinting at a similar problem.