Bug #9906

Starting CHIRP on MacOS 12.4

Added by Jeff Eglen 2 months ago. Updated 2 months ago.

Status:Closed Start date:06/08/2022
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Chirp Version:daily Platform:MacOS
Model affected:Installation

Description

Error log when starting CHIRP.

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

Process: CHIRP [5759]
Path: /private/var/folders/*/CHIRP.app/Contents/MacOS/chirp
Identifier: CHIRP
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-06-08 18:19:54.7491 -0400
OS Version: macOS 12.4 (21F79)
Report Version: 12
Anonymous UUID: F8D92337-BCE1-F3C2-09EF-5E95BEA32353

Time Awake Since Boot: 5200 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: /private/var/folders/*/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)

Thread 0 Crashed:
0 dyld 0x11a8d30be __abort_with_payload + 10
1 dyld 0x11a8e91d2 abort_with_payload_wrapper_internal + 80
2 dyld 0x11a8e9204 abort_with_payload + 9
3 dyld 0x11a89776f dyld4::halt(char const*) + 375
4 dyld 0x11a8935a5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
5 dyld 0x11a8924d4 start + 388

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000209 rbx: 0x0000000000000000 rcx: 0x00007ff7b2596238 rdx: 0x00007ff7b25966a0
rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7b2596280 rsp: 0x00007ff7b2596238
r8: 0x00007ff7b25962a0 r9: 0x0000000000000000 r10: 0x00000000000000de r11: 0x0000000000000246
r12: 0x00000000000000de r13: 0x00007ff7b25966a0 r14: 0x0000000000000001 r15: 0x0000000000000006
rip: 0x000000011a8d30be rfl: 0x0000000000000246 cr2: 0x000000011a899e74

Logical CPU: 0
Error Code: 0x02000209
Trap Number: 133

Binary Images:
0x11a88d000 - 0x11a8f8fff dyld (*) <b70ce1ec-b902-3852-8268-05de00bfa8d5> /usr/lib/dyld

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=648K resident=0K(0%) swapped_out_or_unallocated=648K(100%)
Writable regions: Total=9220K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9220K(100%) =========== ======= =======
STACK GUARD 56.0M 1
Stack 8192K 1
VM_ALLOCATE 12K 3
_DATA 20K 2
_DATA_CONST 80K 1
_LINKEDIT 220K 3
_TEXT 440K 2
dyld private memory 1024K 1 =========== ======= =======
TOTAL 65.8M 14

VIRTUAL   REGION 
REGION TYPE SIZE COUNT (non-coalesced)

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

{"app_name":"CHIRP","timestamp":"2022-06-08 18:19:54.00 -0400","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.4 (21F79)","incident_id":"94645ED5-D3B9-422A-9023-45AD4ED482A3","name":"CHIRP"} {
"uptime" : 5200,
"procLaunch" : "2022-06-08 18:19:54.6613 -0400",
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir7,2",
"procStartAbsTime" : 5260946877854,
"coalitionID" : 2233,
"osVersion" : {
"train" : "macOS 12.4",
"build" : "21F79",
"releaseType" : "User"
},
"captureTime" : "2022-06-08 18:19:54.7491 -0400",
"incident" : "94645ED5-D3B9-422A-9023-45AD4ED482A3",
"bug_type" : "309",
"pid" : 5759,
"procExitAbsTime" : 5261033971888,
"cpuType" : "X86-64",
"procName" : "CHIRP",
"procPath" : "\/private\/var\/folders\/*\/CHIRP.app\/Contents\/MacOS\/chirp",
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.danplanet.chirp",
"crashReporterKey" : "F8D92337-BCE1-F3C2-09EF-5E95BEA32353",
"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: \/private\/var\/folders\/*\/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":105712,"threadState":{"r13":{"value":140701825853088},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140701825852064},"cr2":{"value":4740193908},"rdx":{"value":140701825853088},"r10":{"value":222},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":4740427966,"matchesCrashFrame":1},"rbp":{"value":140701825852032},"rsp":{"value":140701825851960},"r12":{"value":222},"rcx":{"value":140701825851960},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":286910,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":377298,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":377348,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":42863,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":0},{"imageOffset":26021,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":3995,"imageIndex":0},{"imageOffset":21716,"symbol":"start","symbolLocation":388,"imageIndex":0}]}],
"usedImages" : [ {
"source" : "P",
"arch" : "x86_64",
"base" : 4740141056,
"size" : 442368,
"uuid" : "b70ce1ec-b902-3852-8268-05de00bfa8d5",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"sharedCache" : {
"base" : 140703259586560,
"size" : 15220686848,
"uuid" : "398acfb4-57f6-31e0-bc82-e9959e5c92ce"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=648K resident=0K(0%) swapped_out_or_unallocated=648K(100%)\nWritable regions: Total=9220K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=9220K(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8192K 1 \nVM_ALLOCATE 12K 3 \n__DATA 20K 2 \n__DATA_CONST 80K 1 \n__LINKEDIT 220K 3 \n__TEXT 440K 2 \ndyld private memory 1024K 1 \n=========== ======= ======= \nTOTAL 65.8M 14 \n",
"legacyInfo" : {
"threadTriggered" : {

}
},
"trialInfo" : {
"rollouts" : [ {
"rolloutId" : "60356660bbe37970735c5624",
"factorPackIds" : {
},
"deploymentId" : 240000027
}, {
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {
},
"deploymentId" : 240000008
}
],
"experiments" : [
]
}
}

Model: MacBookAir7,2, BootROM 430.120.6.0.0, 2 processors, Dual-Core Intel Core i5, 1.8 GHz, 8 GB, SMC 2.27f2
Graphics: Intel HD Graphics 6000, Intel HD Graphics 6000, Built-In
Display: Color LCD, 1440 x 900 (Widescreen eXtended Graphics Array Plus), Main, MirrorOff, Online
Display: DELL P2317H, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, 0x000000000000000000000000000000000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x02FE, 0x000000000000000000000000000000000000
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x117), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.3)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: USB 10/100/1000 LAN, Ethernet, en3
Network Service: Wi-Fi, AirPort, en0
USB Device: USB30Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB Receiver
Thunderbolt Bus: MacBook Air, Apple Inc., 27.2

History

Updated by Tony Fuller 2 months ago

Hi Jeff,

The error indicates that python is not installed. You'll need the older 2.7 version from https://www.python.org/downloads/release/python-2718/

Hope that helps,
Tony

Updated by JOHN STRINGER 2 months ago

I am having the same issue and have reinstalled python but the program still crashes/ Please help!

Updated by Tony Fuller 2 months ago

Hi John,

It might be best to start a new issue but just to confirm, are you seeing this same text in your error?

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)

Also ensure that you are installing the older version of python, 2.7 and not any 3.x version.

Thanks,
Tony

Updated by Jeff Eglen 2 months ago

Works perfectly with Python 2.7. Thank you!

Updated by Tony Fuller 2 months ago

  • Status changed from New to Resolved

Thanks for confirming Jeff! I'm glad it's working for you.

I'll go ahead and close this issue out.

Tony

Updated by Philippe NĂ©nert 2 months ago

Hi Tony,

I have installed Python 2.7 with "asdf" [https://github.com/asdf-vm/asdf] and [https://github.com/danhper/asdf-python] on terminal.
Do you know, how i can inform chirp where my python is ?

My python installaltion is at this location :

~/.asdf/installs/python/2.7.18

Updated by Tony Fuller 2 months ago

Hi Philippe,

You can try editing the PYTHONPATH variable in the CHIRP.app/Contents/MacOS/chirp shell script

I recommend starting a new ticket so the original author isn't receiving emails about this unrelated issue however.

Thanks,
Tony

Updated by Bernhard Hailer 2 months ago

  • Status changed from Resolved to Closed
  • Priority changed from High to Normal
  • Model affected changed from (All models) to Installation
  • Platform changed from Windows to MacOS

Also available in: Atom PDF