Bug #9783
closedUnable to run CHIRP on Mac OS 12.3 Beta (21E5227a)
0%
Description
I have been trying to get CHIRP running on my M1 iMac running Monterey 12.3 Beta (21E5227a). I've gotten past the signing issues in #8639, but now am seeing an @EXC_CRASH (SIGABRT)@, apparently due to a missing library @/System/Library/Frameworks/Python.framework/Versions/2.7/Python@. I have installed the KK7DS Python runtime - at least I've followed the instructions and didn't get an install error. A crash dump is below.
Could this be related to the removal of Python 2 support in Monterey?
@¶
Translated Report (Full Report Below)¶
Process: CHIRP [3839]
Path: /Users/USER/*/CHIRP.app/Contents/MacOS/chirp
Identifier: CHIRP
Version: ???
Code Type: X86-64 (Translated)
Parent Process: launchd [1]
User ID: 502
Date/Time: 2022-03-09 15:23:19.0340 -0500
OS Version: macOS 12.3 (21E5227a)
Report Version: 12
Anonymous UUID: BCC57F67-56C4-62B7-D2D4-16860BB82E04
Time Awake Since Boot: 1800 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: /Users/USER/*/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: /Users/davel/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 0x200c0b940 ???
1 dyld 0x200b0e0de __abort_with_payload + 10
2 dyld 0x200b24212 abort_with_payload_wrapper_internal + 80
3 dyld 0x200b24244 abort_with_payload + 9
4 dyld 0x200ad276f dyld4::halt(char const*) + 375
5 dyld 0x200ace5a5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
6 dyld 0x200acd4d4 start + 388
Thread 1:: com.apple.rosetta.exceptionserver
0 runtime 0x7ff7ffc009a4 0x7ff7ffbfc000 + 18852
1 runtime 0x7ff7ffc0e738 0x7ff7ffbfc000 + 75576
2 runtime 0x7ff7ffc0fed0 0x7ff7ffbfc000 + 81616
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x00000003055148b0 x3: 0x0000000000000087
x4: 0x00000003055144b0 x5: 0x0000000000000000 x6: 0x5734ea56abc300a3 x7: 0x00000020055144c0
x8: 0x00000003055144b0 x9: 0x0000000000000000 x10: 0x0000000000000087 x11: 0x00000003055144b0
x12: 0x0000000000000087 x13: 0x00000003055148b0 x14: 0x0000000000000001 x15: 0x0000000000000006
x16: 0x0000000000000209 x17: 0x0000000000000000 x18: 0x8000000108a20b70 x19: 0x00000001009ad000
x20: 0x00000000000007ff x21: 0x0000000108a25fa0 x22: 0xffffffffffffffff x23: 0x0000000200c0b914
x24: 0x0000000200b24212 x25: 0x0000000200c082d8 x26: 0x00000001009b9078 x27: 0x0000000000000000
x28: 0x0000000200b0e0de fp: 0x000000002c000000 lr: 0x0000000200bf76e0
sp: 0x0000000108a20b70 pc: 0x0000000200c0b940 cpsr: 0x80001000
far: 0x0000000200c08338 esr: 0x56000080 Address size fault
Binary Images:
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x200ac8000 - 0x200b33fff dyld () <75bcce8e-90d5-3b2e-9d8c-c1c1446a79c4> /usr/lib/dyld
0x7ff7ffbfc000 - 0x7ff7ffc2bfff runtime (*) <808f8ee1-6e4e-397d-a51f-133ad7494e09> /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
shared memory 32K 2
=========== ======= =======
TOTAL 6.3G 232
TOTAL, minus reserved VM space 6.3G 232
Full Report¶
{"app_name":"CHIRP","timestamp":"2022-03-09 15:23:19.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 (21E5227a)","incident_id":"979065D4-9EE3-4A82-8B07-04ED2CF78541","name":"CHIRP"}
{
"uptime" : 1800,
"procLaunch" : "2022-03-09 15:23:18.9297 -0500",
"procRole" : "Default",
"version" : 2,
"userID" : 502,
"deployVersion" : 210,
"modelCode" : "iMac21,1",
"procStartAbsTime" : 45589539285,
"coalitionID" : 1176,
"osVersion" : {
"train" : "macOS 12.3",
"build" : "21E5227a",
"releaseType" : "User"
},
"captureTime" : "2022-03-09 15:23:19.0340 -0500",
"incident" : "979065D4-9EE3-4A82-8B07-04ED2CF78541",
"bug_type" : "309",
"pid" : 3839,
"procExitAbsTime" : 45592035553,
"translated" : true,
"cpuType" : "X86-64",
"procName" : "CHIRP",
"procPath" : "\/Users\/USER\/\/CHIRP.app\/Contents\/MacOS\/chirp",
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.danplanet.chirp",
"crashReporterKey" : "BCC57F67-56C4-62B7-D2D4-16860BB82E04",
"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: \/Users\/USER\/\/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: \/Users\/davel\/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":46851,"threadState":{"x":[{"value":6},{"value":1},{"value":12974114992},{"value":135},{"value":12974113968},{"value":0},{"value":6283905038058455203},{"value":137528165568},{"value":12974113968},{"value":0},{"value":135},{"value":12974113968},{"value":135},{"value":12974114992},{"value":1},{"value":6},{"value":521},{"value":0},{"value":9223372041294580592},{"value":4305113088},{"value":2047},{"value":4439826336},{"value":18446744073709551615},{"value":8602564884},{"value":8601616914,"symbolLocation":80,"symbol":"abort_with_payload_wrapper_internal"},{"value":8602551000},{"value":4305162360},{"value":0},{"value":8601526494,"symbolLocation":10,"symbol":"abort_with_payload"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8602482400},"cpsr":{"value":2147487744},"fp":{"value":738197504},"sp":{"value":4439804784},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":8602564928,"matchesCrashFrame":1},"far":{"value":8602551096}},"frames":[{"imageOffset":8602564928,"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":46855,"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" : 8601239552,
"size" : 442368,
"uuid" : "75bcce8e-90d5-3b2e-9d8c-c1c1446a79c4",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "arm64",
"base" : 140703124406272,
"size" : 196608,
"uuid" : "808f8ee1-6e4e-397d-a51f-133ad7494e09",
"path" : "\/usr\/libexec\/rosetta\/runtime",
"name" : "runtime"
}
],
"sharedCache" : {
"base" : 140703640207360,
"size" : 15226699776,
"uuid" : "73c8be52-d05e-3d00-bd7a-0c391a71061f"
},
"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 \nshared memory 32K 2 \n=========== ======= ======= \nTOTAL 6.3G 232 \nTOTAL, minus reserved VM space 6.3G 232 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6112dda2fc54bc3389840642",
"factorPackIds" : {
"SIRI_DICTATION_ASSETS" : "62265c070683fd69cdcf0e28"
},
"deploymentId" : 250000074
},
{
"rolloutId" : "6112e14f37f5d11121dcd519",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "621d2d5fdb1b0a0bab2e4049"
},
"deploymentId" : 250000060
}
],
"experiments" : [
]
}
}@
Files
Updated by Nick Mercuro over 2 years ago
- File Screen Shot 2022-03-10 at 12.42.43 PM.png Screen Shot 2022-03-10 at 12.42.43 PM.png added
- File Screen Shot 2022-03-10 at 12.42.34 PM.png Screen Shot 2022-03-10 at 12.42.34 PM.png added
I had this same issue. FYI I was able to get it running on 12.3 beta by manually installing Python 2.7.9. I was then able to successfully program 2 Baofeng radios. I am still running into an issue however where there are a bunch of models missing from the app. I think this may have something to do with python being missing entirely from MacOS, and certain dependencies not loading correctly from the "unified" version of the app.
Updated by Nick Mercuro over 2 years ago
- File Screen Shot 2022-03-10 at 12.42.43 PM.png Screen Shot 2022-03-10 at 12.42.43 PM.png added
- File Screen Shot 2022-03-10 at 12.42.34 PM.png Screen Shot 2022-03-10 at 12.42.34 PM.png added
I had this same issue. FYI I was able to get it running on 12.3 beta by manually installing Python 2.7.9. I was then able to successfully program 2 Baofeng radios. I am still running into an issue however where there are a bunch of models missing from the app. I think this may have something to do with python being missing entirely from MacOS, and certain dependencies not loading correctly from the "unified" version of the app.
Updated by Nick Mercuro over 2 years ago
- File Screen Shot 2022-03-10 at 12.42.43 PM.png Screen Shot 2022-03-10 at 12.42.43 PM.png added
- File Screen Shot 2022-03-10 at 12.42.34 PM.png Screen Shot 2022-03-10 at 12.42.34 PM.png added
I had this same issue. FYI I was able to get it running on 12.3 beta by manually installing Python 2.7.9. I was then able to successfully program 2 Baofeng radios. I am still running into an issue however where there are a bunch of models missing from the app. I think this may have something to do with python being missing entirely from MacOS, and certain dependencies not loading correctly from the "unified" version of the app.
Updated by David Lounsbury over 2 years ago
Thanks, Nick. I dug out an old 2015 MacBook Pro, and was able to get the radio programmed fine - never throw away those old systems! BTW, Python does get installed if you install the developer tools, but it's Python 3, not 2.
Given Python 2 is deprecated on many platforms, I'm sure a bit of patience will see this resolved.
Updated by Guy Teague over 2 years ago
hi folks: i'm running same stuff as op and in addition to trying the python runtime i also installed via homebrew and am getting the same error. i'll try to find a link to figure out how to install v2.7.9 of python. tks, /guy (73 de kg5gt | wqpz784)
Updated by Guy Teague over 2 years ago
i used homebrew to install pyenv and then tried to install v2.7.9 but linker command failed darwin link error libcrypto err shared error 2 build_crypto error 1 at the end of the log file. i found a 2.7.9 installer and the install works and i can run python 2.7.9 from the terminal or launch it from applications using the launcher. but pyenv flat refuses to install it and chirp is still returning all the same errors. this is a total clusterfsck and if rt systems wasn't so horribly buggy i wouldn't even be putting myself through this. but truly, it's awful for the btech uv5x. /guy
Updated by Tony Fuller over 2 years ago
Hi All,
I think our wiki instructions may be out of date for macOS.
Would someone be able to try the following:
- Install the official python 2.7 version from
https://www.python.org/downloads/release/python-2718/
- Install the future and suds packages from a terminal window using
pip install future suds
- Sign the app each time you download a new version, also in a terminal window.
xattr -c /Applications/CHIRP.app xattr -c /Applications/CHIRP.app/Contents codesign --force --deep --sign - /Applications/CHIRP.app
From what I can tell, using the official python 2.7 installer should resolve the problem with missing library at /System/Library/Frameworks/Python.framework/Versions/2.7/Python and step 2 will fix issues with not seeing all of the drivers and the last step will resolve another problem related to "signing"
Thanks,
Tony
Updated by Guy Teague over 2 years ago
hi tony: all the commands you posted in your email worked (except it bitched my pip was out of date) and chirp now runs on my mac mini m1 with monterey latest public beta. by runs i mean it no longer throws up those errors and brings me to a blank screen. i'll test it with a radio later. if it works i doubt i'll download a new version until things get worked out so the daily build will run without redoing the permissions.
can't thank you enough! i have the rt systems software for the radio but you can't imagine how buggy it is. they just started releasing some of them for the mac and i'm sure they're just running a script and not having anyone fix bugs. hopefully chirp will at least let me set the power levels which rt won't do.
thanks mucho! /guy (73 de kg5gt | wqpz784)
Updated by Bernhard Hailer almost 2 years ago
- Status changed from New to Closed
- Model affected changed from (All models) to MacOS installation
Appears to be resolved.