Bug #9832

Latest daily crashing on Mac

Added by Norman Beers 6 months ago. Updated 5 months ago.

Status:New Start date:04/14/2022
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:-
Target version:chirp-daily
Chirp Version:daily Platform:MacOS
Model affected:(All models)

Description

Hello,

I have an older mac running 10.12.6 sierra. I tried downloading and launching the newest version after not using my mac for a while (last version 20200430) and the new one will not open and. it bounces in the launchpad for a second after authorizing it in settings then disappears. The older version opens and seems to operate as expected. any insight would be helpful.

History

Updated by Tony Fuller 5 months ago

I'm not very proficient with Mac operating system but is there any kind of debug log or crash log that you can find and attach to the ticket? I'm not sure if any of us have mac systems with that version OS to reproduce.

Thanks,
Tony

Updated by Norman Beers 5 months ago

Thank you for the reply, below is the code in the system log

pr 17 09:19:30 Normans-iMac com.apple.xpc.launchd1 (com.danplanet.chirp.200722237): Service exited with abnormal code: 1

Updated by Tony Fuller 5 months ago

abnormal code 1. That's more information than we had before!

Is there anything like these logs you can find on your system? https://chirp.danplanet.com/issues/9809

In that case we could tell that CHIRP didn't load because python wasn't installed. In another issue, https://chirp.danplanet.com/issues/9800, we found that CHIRP needed a code signing command to be run.

Tony

Updated by DJ Paynter 5 months ago

Installing python again from link below corrected the issue.
https://www.python.org/downloads/release/python-2716/

Crash Report Below.

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

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

Date/Time: 2022-04-26 10:33:29.9380 -0700
OS Version: macOS 12.3.1 (21E258)
Report Version: 12
Bridge OS Version: 3.0 (14Y910)
Anonymous UUID: 22CC3606-CB63-BB71-0944-C28B3AC1D36A

Sleep/Wake UUID: B8C9B50E-5F46-4905-989A-667A0016C3D0

Time Awake Since Boot: 320000 seconds
Time Since Wake: 381 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 dyld 0x118c160de __abort_with_payload + 10
1 dyld 0x118c2c212 abort_with_payload_wrapper_internal + 80
2 dyld 0x118c2c244 abort_with_payload + 9
3 dyld 0x118bda76f dyld4::halt(char const*) + 375
4 dyld 0x118bd65a5 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 3995
5 dyld 0x118bd54d4 start + 388

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000002000209 rbx: 0x0000000000000000 rcx: 0x00007ff7b718e498 rdx: 0x00007ff7b718e900
rdi: 0x0000000000000006 rsi: 0x0000000000000001 rbp: 0x00007ff7b718e4e0 rsp: 0x00007ff7b718e498
r8: 0x00007ff7b718e500 r9: 0x0000000000000000 r10: 0x000000000000007b r11: 0x0000000000000246
r12: 0x000000000000007b r13: 0x00007ff7b718e900 r14: 0x0000000000000001 r15: 0x0000000000000006
rip: 0x0000000118c160de rfl: 0x0000000000000246 cr2: 0x0000000118bdce74

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

Binary Images:
0x118bd0000 - 0x118c3bfff dyld (*) <dd9e80de-fb3b-349b-96a4-46874ad34d11> /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-04-26 10:33:29.00 -0700","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":"84A9EE8B-71DB-49D6-A18E-0F183F115889","name":"CHIRP"} {
"uptime" : 320000,
"procLaunch" : "2022-04-26 10:33:29.9154 -0700",
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro14,3",
"procStartAbsTime" : 326490923931859,
"coalitionID" : 16955,
"osVersion" : {
"train" : "macOS 12.3.1",
"build" : "21E258",
"releaseType" : "User"
},
"captureTime" : "2022-04-26 10:33:29.9380 -0700",
"incident" : "84A9EE8B-71DB-49D6-A18E-0F183F115889",
"bug_type" : "309",
"pid" : 51485,
"procExitAbsTime" : 326490946013387,
"cpuType" : "X86-64",
"procName" : "CHIRP",
"procPath" : "\/Applications\/CHIRP.app\/Contents\/MacOS\/chirp",
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.danplanet.chirp",
"crashReporterKey" : "22CC3606-CB63-BB71-0944-C28B3AC1D36A",
"wakeTime" : 381,
"bridgeVersion" : {"build":"14Y910","train":"3.0"},
"sleepWakeUUID" : "B8C9B50E-5F46-4905-989A-667A0016C3D0",
"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":1803392,"threadState":{"r13":{"value":140701905512704},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140701905511680},"cr2":{"value":4710059636},"rdx":{"value":140701905512704},"r10":{"value":123},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":4710293726,"matchesCrashFrame":1},"rbp":{"value":140701905511648},"rsp":{"value":140701905511576},"r12":{"value":123},"rcx":{"value":140701905511576},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":286942,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":377362,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":80,"imageIndex":0},{"imageOffset":377412,"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" : 4710006784,
"size" : 442368,
"uuid" : "dd9e80de-fb3b-349b-96a4-46874ad34d11",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"sharedCache" : {
"base" : 140703514431488,
"size" : 15224815616,
"uuid" : "6cc5ecdc-5119-37f0-9a85-4f48a50f5f78"
},
"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" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {
},
"deploymentId" : 240000349
}, {
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000136
}
],
"experiments" : [
]
}
}

Model: MacBookPro14,3, BootROM 447.80.3.0.0, 4 processors, Quad-Core Intel Core i7, 2.9 GHz, 16 GB, SMC 2.45f5
Graphics: Intel HD Graphics 630, Intel HD Graphics 630, Built-In
Graphics: Radeon Pro 560, Radeon Pro 560, PCIe, 4 GB
Display: Color LCD, 2880 x 1800 Retina, Main, MirrorOff, Online
Memory Module: BANK 0/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
Memory Module: BANK 1/DIMM0, 8 GB, LPDDR3, 2133 MHz, 0x802C, 0x4D5435324C31473332443450472D30393320
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x173), 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: Wi-Fi, AirPort, en0
USB Device: USB30Bus
USB Device: Apple T1 Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5
Thunderbolt Bus: MacBook Pro, Apple Inc., 41.5

Updated by Norman Beers 5 months ago

Unfortunately re-downloading python did not fix the issue, also tried the code signing and that did not work. when I try to open it through the package contents terminal file it seems to have an exit command right away

Normans-iMac:~ Norm$ /Users/Norm/Desktop/CHIRP.app/Contents/CHIRP ; exit;
Python 2.7.10 (default, Feb 7 2017, 00:08:15)

Updated by Tony Fuller 5 months ago

Hey Norman,

It looks like you are running CHIRP from the desktop. I'm not well versed enough in macOS to know if this is a problem or not but can you open a finder window, then open your Applications and drag and drop the CHIRP app into the Applications window? After you do that then the code snippet to sign the app will work, because it's specifically looking in the Applications directory.

Hope that helps,
Tony

Updated by Norman Beers 5 months ago

Unfortunately, that did not help either. U'm just wondering if my system is too old now to run it appropriately. I appreciate all your help. I have other systems I can run chirp on so we can go ahead and close this ticket.

Updated by Norman Beers 5 months ago

I tired one last hail mary and got it to open. I used the script in the terminal from the below ticket and it opened. however instead of saying CHIRP in the menu, it says python however, it appears to operate correctly

https://chirp.danplanet.com/issues/4503

this is the out put I get

ARNING: Icon not found
/Applications/Chirp.app/Contents/Resources/chirp/chirpw:142: PangoWarning: couldn't load font ".SF NS Text 12", falling back to "Sans 12", expect ugly output.
a.show()
/Applications/Chirp.app/Contents/Resources/chirp/chirpw:142: PangoWarning: error opening config file '../Resources/etc/pango/pangorc': No such file or directory

a.show()
/Applications/Chirp.app/Contents/Resources/chirp/chirpw:142: PangoWarning: couldn't load font ".SF NS Text Not-Rotated 12", falling back to "Sans Not-Rotated 12", expect ugly output.
a.show()
/Applications/CHIRP.app/Contents/Resources/chirp/chirp/ui/miscwidgets.py:624: PangoWarning: failed to choose a font, expect ugly output. engine-type='PangoRenderATSUI', script='common'
sel = gtk.combo_box_entry_new_text()
  • (chirpw:931): WARNING **: Invalid borders specified for theme pixmap:
    /opt/kk7ds/share/themes/OSX-theme/gtk-2.0/Buttons/button-default.png,
    borders don't fit within the image
    /Applications/CHIRP.app/Contents/Resources/chirp/chirp/ui/mainapp.py:738: PangoWarning: couldn't load font ".SF NS Text Bold Not-Rotated 14.3994140625", falling back to "Sans Bold Not-Rotated 14.3994140625", expect ugly output.
    d.run()
  • (chirpw:931): WARNING **: Invalid borders specified for theme pixmap:
    /opt/kk7ds/share/themes/OSX-theme/gtk-2.0/Tabs/notebook_top_flat.png,
    borders don't fit within the image

Updated by Tony Fuller 5 months ago

Great find Norman!

Just to be sure that I understand what's going on, can you confirm the script you ran on the other ticket was

/opt/kk7ds/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python /Applications/Chirp.app/Contents/Resources/chirp/chirpw

If that's the case then it sounds to me that CHIRP doesn't want to launch using the official python.org installer.

That ticket also mentions renaming the CHIRP app to "chirp.app" and moving it to Applications. I wonder if that would work too.

Tony

Updated by Norman Beers 5 months ago

Good Morning,

yes, that was the script I ran. I did try renaming it but that didn't work. though it still launches with the script with Chirp in the applications folder so that's how I've been running it.

Also available in: Atom PDF