Project

General

Profile

Actions

Bug #9838

closed

Program crashes on MacBook Air OS 12.3.1

Added by Stuart Raike about 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
04/18/2022
Due date:
% Done:

0%

Estimated time:
Chirp Version:
daily
Model affected:
Installation
Platform:
MacOS
Debug Log:
I read the instructions above:

Description

App crashes as soon as I click on it to open. There is no debug.log created. Using chirp-unified-daily-20220408.app.zip. Here is Apple's crash report:


Translated Report (Full Report Below)

Incident Identifier: 80866D0F-62B0-4C88-ABCA-CB6C209AC8BA
CrashReporter Key: 01994D15-7F90-CD39-E3B4-62433A313A76
Hardware Model: MacBookAir10,1
Process: CHIRP [3387]
Path: /private/var/folders/*/CHIRP.app/Contents/MacOS/chirp
Identifier: CHIRP
Version: ???
Code Type: X86-64 (Native)
Role: Unspecified
Parent Process: launchd [1]
Coalition: com.danplanet.chirp [831]

Date/Time: 2022-04-18 10:39:26.3528 -0500
Launch Time: 2022-04-18 10:39:26.2864 -0500
OS Version: macOS 12.3.1 (21E258)
Release Type: User
Report Version: 104

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

Highlighted by Thread: 0

Backtrace not available

No thread state (register information) available

Binary Images:
Binary images description not available

Error Formulating Crash Report:
dyld_process_info_create failed with 6
dyld_process_snapshot_get_shared_cache failed
Failed to create CSSymbolicatorRef - corpse still valid ¯_(ツ)

thread_get_state(PAGEIN) returned 0x10000003: (ipc/send) invalid destination port
thread_get_state(EXCEPTION) returned 0x10000003: (ipc/send) invalid destination port
thread_get_state(FLAVOR) returned 0x10000003: (ipc/send) invalid destination port

EOF


Full Report

{"app_name":"CHIRP","timestamp":"2022-04-18 10:39:28.00 -0500","app_version":"","slice_uuid":"fdf4a2ef-05b5-37b9-8624-045a152b6db7","build_version":"","platform":0,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"80866D0F-62B0-4C88-ABCA-CB6C209AC8BA","name":"CHIRP"}
{
"uptime" : 4900,
"procLaunch" : "2022-04-18 10:39:26.2864 -0500",
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir10,1",
"procStartAbsTime" : 118286474315,
"coalitionID" : 831,
"osVersion" : {
"train" : "macOS 12.3.1",
"build" : "21E258",
"releaseType" : "User"
},
"captureTime" : "2022-04-18 10:39:26.3528 -0500",
"incident" : "80866D0F-62B0-4C88-ABCA-CB6C209AC8BA",
"bug_type" : "309",
"pid" : 3387,
"procExitAbsTime" : 118288061949,
"translated" : true,
"cpuType" : "X86-64",
"procName" : "CHIRP",
"procPath" : "\/private\/var\/folders\/*\/CHIRP.app\/Contents\/MacOS\/chirp",
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.danplanet.chirp",
"crashReporterKey" : "01994D15-7F90-CD39-E3B4-62433A313A76",
"wakeTime" : 3521,
"sleepWakeUUID" : "F22111BA-1180-4DFE-A440-AF8D8EAB4E89",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
"termination" : {"namespace":"CODESIGNING","flags":66,"code":1},
"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},
"legacyInfo" : {
"threadHighlighted" : 0
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5fb4245a1bbfe8005e33a1e1",
"factorPackIds" : {

  },
  "deploymentId" : 240000015
},
{
  "rolloutId" : "61301e3a61217b3110231469",
  "factorPackIds" : {
    "SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225"
  },
  "deploymentId" : 240000016
}

],
"experiments" : [

]
},
"reportNotes" : [
"dyld_process_info_create failed with 6",
"dyld_process_snapshot_get_shared_cache failed",
"Failed to create CSSymbolicatorRef - corpse still valid ¯\_(ツ)
\/¯",
"thread_get_state(PAGEIN) returned 0x10000003: (ipc\/send) invalid destination port",
"thread_get_state(EXCEPTION) returned 0x10000003: (ipc\/send) invalid destination port",
"thread_get_state(FLAVOR) returned 0x10000003: (ipc\/send) invalid destination port"
]
}

Model: MacBookAir10,1, BootROM 7459.101.3, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Feb 8 2022 01:44:45 version 18.60.21.0.7.8.126 FWID 01-1cdae627
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.

Actions #1

Updated by Tim Heuett about 2 years ago

This is the problem right here:

"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},

I had the same issue and was able to open CHIRP after manually signing the application with my own certificate. If you're not familiar with codesigning on MacOS, I probably wouldn't recommend trying to brute force it like I did, but here are some helpful resources all the same:

https://developer.apple.com/library/archive/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html
https://developer.apple.com/forums/thread/129657

Ultimately this is a bug in the build process that needs to be resolved for newer versions of MacOS

Actions #2

Updated by Stuart Raike about 2 years ago

Thank for the info Tim. I don't understand code signing like you do but will study the references you provided. Luckily I still have an older version of Chirp on another Macbook and will use it until I either figure out code signing or an update comes out. Thank, Stu

Actions #3

Updated by Louis Wise about 2 years ago

I had to download an install python2.7 for chirp to start up Ok in OS 12.3. There is a link on the Mac tips page for that. It worked, but I still can't get Chrip to access my file system and save and load data.

Actions #4

Updated by Louis Wise about 2 years ago

I can download and open only from a few locations now. I can't open Desktop or Documents, but I can do that to the Movies, Photos folders from my main user file location. So I'm getting more to work here.

Actions #5

Updated by Louis Wise about 2 years ago

Here is the data from the Mac Tips page, in another post it was stated that Chirp only supports Pyhon 2.7 and not 3. I downloaded and installed 2.7 and that worked:

As of macOS 12.3, Apple has removed python2.x support. However, you can install the open-source python distribution package to restore it. This is only needed once per system, after which the .app will work normally. Download it directly from python.org or use the local mirror .

This reportedly works in macOS 12.3 on Intel and Apple Silicon machines.

Mac USB Drivers

Actions #6

Updated by Tony Fuller almost 2 years ago

Hi Stuart,

Others have reported that running a few simple commands will resolve the Code Signature Invalid issue. This is documented at https://chirp.danplanet.com/projects/chirp/wiki/MacOS_Tips#Application-Security-in-MacOS-1015-Catalina

xattr -c /Applications/CHIRP.app
xattr -c /Applications/CHIRP.app/Contents
codesign --force --deep --sign - /Applications/CHIRP.app

Hopefully that helps,
Tony

Actions #7

Updated by Stuart Raike almost 2 years ago

Hi Tony,

Thanks again for your assistance. I assume I run those commands in Terminal? I did do that and in doing so it indicated it was revising code signature but Chirp still crashes as soon as i open it. Rebooted - same. Here is latest crash log:

Translated Report (Full Report Below)

Process: CHIRP [608]
Path: /Applications/CHIRP.app/Contents/MacOS/chirp
Identifier: CHIRP
Version: ???
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-04-24 14:18:44.5641 -0500
OS Version: macOS 12.3.1 (21E258)
Report Version: 12
Anonymous UUID: 01994D15-7F90-CD39-E3B4-62433A313A76

Time Awake Since Boot: 31 seconds

System Integrity Protection: enabled

Crashed Thread: 0

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/CHIRP.app/Contents/CHIRP
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)
(terminated at launch; ignore backtrace)

Application Specific Information:
Library not loaded: /System/Library/Frameworks/Python.framework/Versions/2.7/Python
Referenced from: /Applications/CHIRP.app/Contents/CHIRP
Reason: tried: '/System/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file), '/Library/Frameworks/Python.framework/Versions/2.7/Python' (no such file)

Thread 0 Crashed:
0 Rosetta Runtime Routines 0x200220940 ???
1 dyld 0x2001230de __abort_with_payload + 10
2 dyld 0x200139212 abort_with_payload_wrapper_internal + 80
3 dyld 0x200139244 abort_with_payload + 9
4 dyld 0x2000e776f dyld4::halt(char const*) + 375
5 dyld 0x2000e35a5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
6 dyld 0x2000e24d4 start + 388

Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffc1f9a4 0x7ff7ffc1b000 + 18852
1 runtime 0x7ff7ffc2d738 0x7ff7ffc1b000 + 75576
2 runtime 0x7ff7ffc2eed0 0x7ff7ffc1b000 + 81616

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000030423f8f0 x3: 0x000000000000007b
x4: 0x000000030423f4f0 x5: 0x0000000000000000 x6: 0x256c333e0356001e x7: 0x000000200423f500
x8: 0x000000030423f4f0 x9: 0x0000000000000000 x10: 0x000000000000007b x11: 0x000000030423f4f0
x12: 0x000000000000007b x13: 0x000000030423f8f0 x14: 0x0000000000000001 x15: 0x0000000000000006
x16: 0x0000000000000209 x17: 0x0000000000000000 x18: 0x8000000108132b70 x19: 0x00000001000bf000
x20: 0x00000000000007ff x21: 0x0000000108137fa0 x22: 0xffffffffffffffff x23: 0x0000000200220914
x24: 0x0000000200139212 x25: 0x000000020021d2d8 x26: 0x00000001000cb078 x27: 0x0000000000000000
x28: 0x00000002001230de fp: 0x000000002c000000 lr: 0x000000020020c6e0
sp: 0x0000000108132b70 pc: 0x0000000200220940 cpsr: 0x80001000
far: 0x000000020021d338 esr: 0x56000080 Address size fault

Binary Images:
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x2000dd000 - 0x200148fff dyld (
) /usr/lib/dyld
0x7ff7ffc1b000 - 0x7ff7ffc4afff runtime (*) <24497be3-a1b4-360a-b90e-cde9ce78a93b> /usr/libexec/rosetta/runtime

External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_set_state: 0
Calls made by all processes on this machine:
task_for_pid: 0
thread_create: 0
thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1228K resident=0K(0%) swapped_out_or_unallocated=1228K(100%)
Writable regions: Total=155.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=155.1M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Rosetta Arena 4096K 2
Rosetta Generic 676K 166
Rosetta IndirectBranch 32K 1
Rosetta JIT 128.0M 1
Rosetta Return Stack 20K 2
Rosetta Thread Context 20K 2
Stack 8176K 1
Stack Guard 56.0M 1
VM_ALLOCATE 13.3M 5
VM_ALLOCATE (reserved) 4K 1 reserved VM address space (unallocated)
__DATA 116K 6
__DATA_CONST 80K 1
__LINKEDIT 304K 8
__TEXT 968K 4
dyld private memory 1024K 1
mapped file 6.0G 28
=========== ======= =======
TOTAL 6.3G 230
TOTAL, minus reserved VM space 6.3G 230


Full Report

{"app_name":"CHIRP","timestamp":"2022-04-24 14:18:44.00 -0500","app_version":"","slice_uuid":"fdf4a2ef-05b5-37b9-8624-045a152b6db7","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"17586411-560B-4759-A490-596B2D632425","name":"CHIRP"}
{
"uptime" : 31,
"procLaunch" : "2022-04-24 14:18:44.4067 -0500",
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir10,1",
"procStartAbsTime" : 758617709,
"coalitionID" : 696,
"osVersion" : {
"train" : "macOS 12.3.1",
"build" : "21E258",
"releaseType" : "User"
},
"captureTime" : "2022-04-24 14:18:44.5641 -0500",
"incident" : "17586411-560B-4759-A490-596B2D632425",
"bug_type" : "309",
"pid" : 608,
"procExitAbsTime" : 760381625,
"translated" : true,
"cpuType" : "X86-64",
"procName" : "CHIRP",
"procPath" : "\/Applications\/CHIRP.app\/Contents\/MacOS\/chirp",
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.danplanet.chirp",
"crashReporterKey" : "01994D15-7F90-CD39-E3B4-62433A313A76",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
"termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: \/System\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python","Referenced from: \/Applications\/CHIRP.app\/Contents\/CHIRP","Reason: tried: '\/System\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python' (no such file), '\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python' (no such file)"]},
"asi" : {"dyld":["Library not loaded: \/System\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python","Referenced from: \/Applications\/CHIRP.app\/Contents\/CHIRP","Reason: tried: '\/System\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python' (no such file), '\/Library\/Frameworks\/Python.framework\/Versions\/2.7\/Python' (no such file)"]},
"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":5230,"threadState":{"x":[{"value":6},{"value":1},{"value":12954368240},{"value":123},{"value":12954367216},{"value":0},{"value":2696586618325041182},{"value":137508418816},{"value":12954367216},{"value":0},{"value":123},{"value":12954367216},{"value":123},{"value":12954368240},{"value":1},{"value":6},{"value":521},{"value":0},{"value":9223372041285217136},{"value":4295749632},{"value":2047},{"value":4430462880},{"value":18446744073709551615},{"value":8592165140},{"value":8591217170,"symbolLocation":80,"symbol":"abort_with_payload_wrapper_internal"},{"value":8592151256},{"value":4295798904},{"value":0},{"value":8591126750,"symbolLocation":10,"symbol":"abort_with_payload"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8592082656},"cpsr":{"value":2147487744},"fp":{"value":738197504},"sp":{"value":4430441328},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8592165184,"matchesCrashFrame":1},"far":{"value":8592151352}},"frames":[{"imageOffset":8592165184,"region":"Rosetta Runtime Routines","symbolLocation":10560,"imageIndex":0},{"imageOffset":286942,"symbol":"abort_with_payload","symbolLocation":10,"imageIndex":1},{"imageOffset":377362,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":1},{"imageOffset":377412,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":1},{"imageOffset":42863,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":1},{"imageOffset":26021,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3995,"imageIndex":1},{"imageOffset":21716,"symbol":"start","symbolLocation":388,"imageIndex":1}]},{"id":5231,"name":"com.apple.rosetta.exceptionserver","frames":[{"imageOffset":18852,"imageIndex":2},{"imageOffset":75576,"imageIndex":2},{"imageOffset":81616,"imageIndex":2}]}],
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 8590839808,
"size" : 442368,
"uuid" : "dd9e80de-fb3b-349b-96a4-46874ad34d11",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 140703124533248,
"size" : 196608,
"uuid" : "24497be3-a1b4-360a-b90e-cde9ce78a93b",
"path" : "\/usr\/libexec\/rosetta\/runtime",
"name" : "runtime"
}
],
"sharedCache" : {
"base" : 140703560761344,
"size" : 15226814464,
"uuid" : "a1c5d735-ceb0-350d-9729-bb0e9be86d75"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1228K resident=0K(0%) swapped_out_or_unallocated=1228K(100%)\nWritable regions: Total=155.1M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=155.1M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nRosetta Arena 4096K 2 \nRosetta Generic 676K 166 \nRosetta IndirectBranch 32K 1 \nRosetta JIT 128.0M 1 \nRosetta Return Stack 20K 2 \nRosetta Thread Context 20K 2 \nStack 8176K 1 \nStack Guard 56.0M 1 \nVM_ALLOCATE 13.3M 5 \nVM_ALLOCATE (reserved) 4K 1 reserved VM address space (unallocated)\n_DATA 116K 6 \nDATA_CONST 80K 1 \nLINKEDIT 304K 8 \n_TEXT 968K 4 \ndyld private memory 1024K 1 \nmapped file 6.0G 28 \n=========== ======= ======= \nTOTAL 6.3G 230 \nTOTAL, minus reserved VM space 6.3G 230 \n",
"legacyInfo" : {
"threadTriggered" : {

}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5fb4245a1bbfe8005e33a1e1",
"factorPackIds" : {

  },
  "deploymentId" : 240000015
},
{
  "rolloutId" : "61301e3a61217b3110231469",
  "factorPackIds" : {
    "SIRI_FIND_MY_CONFIGURATION_FILES" : "6216ae152a40e71046e16225"
  },
  "deploymentId" : 240000016
}

],
"experiments" : [

]
}
}

Model: MacBookAir10,1, BootROM 7459.101.3, proc 8:4:4 processors, 16 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4
AirPort: Wi-Fi, wl0: Feb 8 2022 01:44:45 version 18.60.21.0.7.8.126 FWID 01-1cdae627
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.

Actions #8

Updated by Ran Katz almost 2 years ago

Hi Stuart,
You passed the code signing step, now it fails when looking for python 2.7 which was removed in 12.3+.
There is a download link for a python 2.7 distribution package here: https://chirp.danplanet.com/projects/chirp/wiki/MacOS_Tips#MacOS-123-Monterey

Install it and I think you should be fine.
I hope it helps,
Ran

Actions #9

Updated by Stuart Raike almost 2 years ago

Thanks Ran! Installing Python 2.7 allows Chirp to load. Don't have my radio with me so haven't tried using the program but it loads now and I think all will be well. We can close this out as resolved by code signing and installation of Python 2.7. Support here has been awesome and thank y'all very much!

Actions #10

Updated by Bernhard Hailer almost 2 years ago

  • Status changed from New to Closed
  • Target version deleted (chirp-legacy)
  • Model affected changed from (All models) to Installation

Closed as suggested by submitters.

Actions

Also available in: Atom PDF