MCUXpressoIDE: Code Signature Invalid exception when launching on macOS

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MCUXpressoIDE: Code Signature Invalid exception when launching on macOS

1,661 Views
jsambrook
Contributor I

Hello -

The host system here is a 2020 M1 Mac Mini running macOS Ventura 13.1.

I installed the IDE a few days ago, downloaded some samples and interacted a bit with my attached development board,  LCPXpresso55S69. Everything worked smoothly, including JTAG based debug.

Today, when I launch the IDE, I get the problem report included below.

Any thoughts about how to recover?

I can download and re-run the installer. Wondering what changed. I didn't take any updates that I know of.

Thanks in advance for any advice.

Best Regards,

John Sambrook

Common Sense Systems, Inc.

 

---

 

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Incident Identifier: FB5C5125-1418-4AA7-8696-4C3917943398
CrashReporter Key: 2BE38197-B2EB-5641-17AA-7372F5C2211E
Hardware Model: Macmini9,1
Process: mcuxpressoide [1002]
Path: /Applications/MCUXpressoIDE_11.6.1_8255/*/MCUXpressoIDE.app/Contents/MacOS/mcuxpressoide
Identifier: MCUXpressoIDE
Version: 11.6.1 (11.6.1.202210031511)
Code Type: X86-64 (Native)
Role: Default
Parent Process: launchd [1]
Coalition: MCUXpressoIDE [1010]

Date/Time: 2023-01-04 21:05:49.9175 -0800
Launch Time: 2023-01-04 21:05:49.8252 -0800
OS Version: macOS 13.1 (22C65)
Release Type: User
Report Version: 104

Exception Type: EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 1 Taskgated Invalid Signature

Triggered by Thread: 0

Thread 0 Crashed:
0 0x7ff7ffca075c 0x7ff7ffc9d000 + 14172


Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000
x8: 0x0000000000000000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000000
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000
x16: 0x0000000000000000 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x0000000000000000 x21: 0x0000000000000000 x22: 0x0000000000000000 x23: 0x0000000000000000
x24: 0x0000000000000000 x25: 0x0000000000000000 x26: 0x0000000000000000 x27: 0x0000000000000000
x28: 0x0000000000000000 fp: 0x0000000000000000 lr: 0x0000000000000000
sp: 0x000000020e211b90 pc: 0x00007ff7ffca075c cpsr: 0x00001000
far: 0x0000000000000000 esr: 0x00000000 Address size fault

Binary Images:
0x7ff7ffc9d000 - 0x7ff7ffcccfff (*) <d592bc4a-4a21-348f-a406-e12f9cd2f27c> ???

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

EOF

-----------
Full Report
-----------

{"app_name":"mcuxpressoide","timestamp":"2023-01-04 21:05:49.00 -0800","app_version":"11.6.1","slice_uuid":"bf0baa93-fe7a-3039-ac22-e0007dc821f4","build_version":"11.6.1.202210031511","platform":0,"bundleID":"MCUXpressoIDE","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.1 (22C65)","roots_installed":0,"name":"mcuxpressoide","incident_id":"FB5C5125-1418-4AA7-8696-4C3917943398"}
{
"uptime" : 85,
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "Macmini9,1",
"coalitionID" : 1010,
"osVersion" : {
"train" : "macOS 13.1",
"build" : "22C65",
"releaseType" : "User"
},
"captureTime" : "2023-01-04 21:05:49.9175 -0800",
"incident" : "FB5C5125-1418-4AA7-8696-4C3917943398",
"pid" : 1002,
"translated" : true,
"cpuType" : "X86-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2023-01-04 21:05:49.8252 -0800",
"procStartAbsTime" : 2052925569,
"procExitAbsTime" : 2054916173,
"procName" : "mcuxpressoide",
"procPath" : "\/Applications\/MCUXpressoIDE_11.6.1_8255\/*\/MCUXpressoIDE.app\/Contents\/MacOS\/mcuxpressoide",
"bundleInfo" : {"CFBundleShortVersionString":"11.6.1","CFBundleVersion":"11.6.1.202210031511","CFBundleIdentifier":"MCUXpressoIDE"},
"storeInfo" : {"deviceIdentifierForVendor":"7647A88D-87E1-5C16-A8F2-0B52671A56CB","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "MCUXpressoIDE",
"crashReporterKey" : "2BE38197-B2EB-5641-17AA-7372F5C2211E",
"throttleTimeout" : 2147483647,
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
"termination" : {"flags":66,"code":1,"namespace":"CODESIGNING","indicator":"Taskgated Invalid Signature"},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":7880,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":8826985360},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":140703125079900,"matchesCrashFrame":1},"far":{"value":0}},"frames":[{"imageOffset":14172,"imageIndex":0}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 140703125065728,
"size" : 196608,
"uuid" : "d592bc4a-4a21-348f-a406-e12f9cd2f27c",
"name" : ""
}
],
"vmSummary" : "ReadOnly portion of Libraries: Total=1132K resident=0K(0%) swapped_out_or_unallocated=1132K(100%)\nWritable regions: Total=23.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=23.4M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 15.4M 6 \n__DATA 80K 3 \n__DATA_CONST 32K 1 \n__DATA_DIRTY 16K 1 \n__LINKEDIT 352K 4 \n__TEXT 800K 2 \nmapped file 6.6G 33 \n=========== ======= ======= \nTOTAL 6.7G 52 \n",
"legacyInfo" : {
"threadTriggered" : {

}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "610d52e1fc54bc3389840408",
"factorPackIds" : {
"SIRI_UNDERSTANDING_ASR_ASSISTANT" : "6376d83499e1ff5d8f0dcc3f",
"SIRI_UNDERSTANDING_MORPHUN" : "62ec7220c682040ba94e6a20"
},
"deploymentId" : 240000563
},
{
"rolloutId" : "61fd92db295c182621ececc3",
"factorPackIds" : {

},
"deploymentId" : 240000247
}
],
"experiments" : [

]
},
"reportNotes" : [
"dyld_process_snapshot_get_shared_cache failed"
]
}

Model: Macmini9,1, BootROM 8419.60.44, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: U28E590, 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition), Main, MirrorOff, Online
Memory Module: LPDDR4, Micron
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Sep 3 2022 03:37:22 version 18.20.379.4.7.8.143 FWID 01-e3c71b50
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Network Service: Ethernet, Ethernet, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.0 Hub
USB Device: Logitech BRIO
USB Device: USB2.0 Hub
USB Device: composite_device
USB Device: HypeMiC
USB Device: USB30Bus
USB Device: 4-Port USB 3.0 Hub
USB Device: 4-Port USB 3.0 Hub
USB Device: PSSD T7
USB Device: PSSD T7
USB Device: Portable SSD T5
USB Device: PSSD T7
USB Device: 4-Port USB 2.0 Hub
USB Device: 4-Port USB 2.0 Hub
USB Device: R-41PM
USB Device: USB Receiver
USB Device: LPC-LINK2 CMSIS-DAP V5.224
Thunderbolt Bus: Mac mini, Apple Inc.
Thunderbolt Bus: Mac mini, Apple Inc.

 

0 Kudos
6 Replies

1,047 Views
stevenriedl
Contributor III

Found this on an eclipse website, it seems to work...

codesign --force --deep --sign - /Applications/MCUXpressoIDE_11.7.1_9221/ide/MCUXpressoIDE.app 

 

0 Kudos

1,623 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi jsambrook 

I can't reproduce your issue.

MCUXpresso IDE supports MAC OS 11.x. Officially 13.x is not supported. Please use MCUXpresso IDE on our recommended platform. 

https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/mcuxpresso-i...

 

Have a nice day

Jun Zhang

0 Kudos

1,253 Views
jsupinsky
Contributor I

I have the same issue. It has been working for a month and now it won't launch. I have admin rights and am using version Big Sur 11.7.4 .  

 

Best Regards,

Joe.

0 Kudos

1,621 Views
jsambrook
Contributor I

Hi Jun,

Thanks for trying. 

Who in your company thinks only supporting ancient releases of macOS and Ubuntu is a good idea?

I was able to run on macOS by disabling System Integrity Protection (SIP) on macOS. Yet I'm not willing to leave that turned off in this day and age. So I turned it back on and now I have to run on Windows.

NXP has a really good IDE, but NXP really only supports Windows. No one is going to go back to OS releases from 3 or more years ago to run one product, especially in a corporate environment.

Best Regards,

John Sambrook

Common Sense Systems, Inc.

 

0 Kudos

1,537 Views
lpcxpresso_supp
NXP Employee
NXP Employee

Please refer to [1] and [2] for more details about the problem. Unfortunately, there's not much we can do on MCUXpresso IDE side.  All Eclipse-based apps should be affected though.

Regards,
MCUXpresso IDE Support

[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=578883

[2] https://developer.apple.com/forums/thread/684509 

0 Kudos

1,602 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

This is anounced on the link I sent you in my first response.

ZhangJennie_0-1673255816819.png

I will escalate as feature request for new MacOS support. Thanks for your comment.

 

0 Kudos