iTerm 2 crashes on startup | Namespace DYLD, Code 1 Library not loaded: @rpath/BetterFontPicker
# Crash report
Thanks for filing an issue! Please answer the questions below so I can help you.
- iTerm2 version: iTerm2 @3.4.18
- OS version: Ventura 13.0.1 (22A400)
- Attach plist: plist is stock, did a fresh reinstall after deleting everything, including plist.
## Detailed steps to reproduce the problem
1. The Problem occurred after I updated macOS to Ventura (Macos 13.0.1).
2. After the update I also updated all my Macports including iTerm2.
3. I deleted every file that was related to iterm, including all configs including bash and zsh configs
## What happened
iTerm2 crashes on start. Showing an quit unexpectedly crash pop up.
## What should have happened
iTerm2 should open up. iTerm2 was perfectly working before updating the OS & program
## Crash Report:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: iTerm2 [10339]
Path: /Applications/MacPorts/iTerm2.app/Contents/MacOS/iTerm2
Identifier: com.googlecode.iterm2
Version: 3.4.18 (3.4.18)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2022-12-12 23:47:37.4263 +0100
OS Version: macOS 13.0.1 (22A400)
Report Version: 12
Anonymous UUID:
Sleep/Wake UUID:
Time Awake Since Boot: 52000 seconds
Time Since Wake: 3915 seconds
System Integrity Protection: enabled
Crashed Thread: 0
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: Namespace DYLD, Code 1 Library missing
Library not loaded: @rpath/BetterFontPicker.framework/Versions/A/BetterFontPicker
Referenced from: <E8B9463E-8A83-3CDF-A051-BF5582B7407E> /Applications/MacPorts/iTerm2.app/Contents/MacOS/iTerm2
Reason: tried: '/Applications/MacPorts/iTerm2.app/Contents/MacOS/../Frameworks/BetterFontPicker.framework/Versions/A/BetterFontPicker' (code signature in <C9CB3A7D-ADDA-3E38-B202-24BADF0097DD> '/Applications/MacPorts/iTerm2.app/Contents/Frameworks/BetterFontPicker.framework/Versions/A/BetterFontPicker' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '/Applications/MacPorts/iTerm2.app/Contents/Frameworks/BetterFontPicker.framework/Versions/A/BetterFontPicker' (code signature in <C9CB3A7D-ADDA-3E38-B202-24BADF0097DD> '/Applications/MacPorts/iTerm2.app/Contents/Frameworks/BetterFontPicker.framework/Versions/A/BetterFontPicker' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identit
(terminated at launch; ignore backtrace)
Thread 0 Crashed:
0 dyld 0x1b1f3ae58 __abort_with_payload + 8
1 dyld 0x1b1f456c0 abort_with_payload_wrapper_internal + 104
2 dyld 0x1b1f456f4 abort_with_payload + 16
3 dyld 0x1b1ed40a4 dyld4::halt(char const*) + 328
4 dyld 0x1b1ed1098 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4204
5 dyld 0x1b1ecfdc4 start + 2404
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016fd5e920 x3: 0x000000000000008a
x4: 0x000000016fd5e520 x5: 0x0000000000000000 x6: 0x00326d726554692f x7: 0x00000000000007e0
x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x0000000000000001 x11: 0x000000000000000a
x12: 0x0000000000000000 x13: 0x0000000000000031 x14: 0x000000024d1be256 x15: 0x000000016fd5ee30
x16: 0x0000000000000209 x17: 0x00000001b1ecd344 x18: 0x0000000000000000 x19: 0x0000000000000000
x20: 0x000000016fd5e520 x21: 0x000000000000008a x22: 0x000000016fd5e920 x23: 0x0000000000000001
x24: 0x0000000000000006 x25: 0x000000020ddcc3c0 x26: 0x000000016fd5f3e0 x27: 0x000000016fd5f248
x28: 0x0000000000000000 fp: 0x000000016fd5e4f0 lr: 0x00000001b1f456c0
sp: 0x000000016fd5e4b0 pc: 0x00000001b1f3ae58 cpsr: 0x00001000
far: 0x00000001012b4000 esr: 0x56000080 Address size fault
Binary Images:
0x1b1eca000 - 0x1b1f544bf dyld (*) <de46dd52-4994-3fd8-b4b4-e352a1a19354> /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=778.8M resident=0K(0%) swapped_out_or_unallocated=778.8M(100%)
Writable regions: Total=8752K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8752K(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
STACK GUARD 56.0M 1
Stack 8176K 1
VM_ALLOCATE 16K 1
__DATA 1259K 3
__DATA_CONST 486K 2
__DATA_DIRTY 7K 1
__LINKEDIT 771.5M 2
__TEXT 7468K 2
dyld private memory 512K 2
=========== ======= =======
TOTAL 845.1M 15
-----------
Full Report
-----------
{"app_name":"iTerm2","timestamp":"2022-12-12 23:47:38.00 +0100","app_version":"3.4.18","slice_uuid":"xxxxxxxx
bf5582b7xxxx","build_version":"3.4.18","platform":1,"bundleID":"com.googlecode.iterm2","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0.1 (22A400)","roots_installed":0,"name":"iTerm2","incident_id":"0BF39FC7-004F-4ABD-A60F-1C3C2CE73333"}
{
"uptime" : 52000,
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookAir10,1",
"coalitionID" : 6162,
"osVersion" : {
"train" : "macOS 13.0.1",
"build" : "22A400",
"releaseType" : "User"
},
"captureTime" : "2022-12-12 23:47:37.4263 +0100",
"incident" : "0BF39FC7-004F-4ABD-A60F-1C3C2CE73333",
"pid" : 10339,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-12-12 23:47:37.2705 +0100",
"procStartAbsTime" : 1253672667395,
"procExitAbsTime" : 1253676163446,
"procName" : "iTerm2",
"procPath" : "\/Applications\/MacPorts\/iTerm2.app\/Contents\/MacOS\/iTerm2",
"bundleInfo" : {"CFBundleShortVersionString":"3.4.18","CFBundleVersion":"3.4.18","CFBundleIdentifier":"com.googlecode.iterm2"},
"storeInfo" : {"deviceIdentifierForVendor":"xxxx","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.googlecode.iterm2",
"crashReporterKey" : "xxx",
"wakeTime" : 3915,
"sleepWakeUUID" : "xxx",
"sip" : "enabled",
"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: @rpath\/BetterFontPicker.framework\/Versions\/A\/BetterFontPicker","Referenced from: <E8B9463E-8A83-3CDF-A051-BF5582B7407E> \/Applications\/MacPorts\/iTerm2.app\/Contents\/MacOS\/iTerm2","Reason: tried: '\/Applications\/MacPorts\/iTerm2.app\/Contents\/MacOS\/..\/Frameworks\/BetterFontPicker.framework\/Versions\/A\/BetterFontPicker' (code signature in <C9CB3A7D-ADDA-3E38-B202-24BADF0097DD> '\/Applications\/MacPorts\/iTerm2.app\/Contents\/Frameworks\/BetterFontPicker.framework\/Versions\/A\/BetterFontPicker' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identity or adhoc?)), '\/Applications\/MacPorts\/iTerm2.app\/Contents\/Frameworks\/BetterFontPicker.framework\/Versions\/A\/BetterFontPicker' (code signature in <C9CB3A7D-ADDA-3E38-B202-24BADF0097DD> '\/Applications\/MacPorts\/iTerm2.app\/Contents\/Frameworks\/BetterFontPicker.framework\/Versions\/A\/BetterFontPicker' not valid for use in process: mapped file has no Team ID and is not a platform binary (signed with custom identit"]},
"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":528186,"threadState":{"x":[{"value":6},{"value":1},{"value":6171257120},{"value":138},{"value":6171256096},{"value":0},{"value":14194086929262895},{"value":2016},{"value":32},{"value":9},{"value":1},{"value":10},{"value":0},{"value":49},{"value":9883607638},{"value":6171258416},{"value":521},{"value":7280055108,"symbolLocation":392,"symbol":"__simple_bprintf"},{"value":0},{"value":0},{"value":6171256096},{"value":138},{"value":6171257120},{"value":1},{"value":6},{"value":8822506432,"symbolLocation":0,"symbol":"gProcessInfo"},{"value":6171259872},{"value":6171259464},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":7280547520},"cpsr":{"value":4096},"fp":{"value":6171256048},"sp":{"value":6171255984},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":7280504408,"matchesCrashFrame":1},"far":{"value":4314578944}},"frames":[{"imageOffset":462424,"symbol":"__abort_with_payload","symbolLocation":8,"imageIndex":0},{"imageOffset":505536,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":104,"imageIndex":0},{"imageOffset":505588,"symbol":"abort_with_payload","symbolLocation":16,"imageIndex":0},{"imageOffset":41124,"symbol":"dyld4::halt(char const*)","symbolLocation":328,"imageIndex":0},{"imageOffset":28824,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":4204,"imageIndex":0},{"imageOffset":24004,"symbol":"start","symbolLocation":2404,"imageIndex":0}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64e",
"base" : 7280041984,
"size" : 566464,
"uuid" : "xxx",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
}
],
"sharedCache" : {
"base" : 7279394816,
"size" : 3403612160,
"uuid" : "xxx"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=778.8M resident=0K(0%) swapped_out_or_unallocated=778.8M(100%)\nWritable regions: Total=8752K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8752K(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 16K 1 \n__DATA 1259K 3 \n__DATA_CONST 486K 2 \n__DATA_DIRTY 7K 1 \n__LINKEDIT 771.5M 2 \n__TEXT 7468K 2 \ndyld private memory 512K 2 \n=========== ======= ======= \nTOTAL 845.1M 15 \n",
"legacyInfo" : {
"threadTriggered" : {
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "xxx",
"factorPackIds" : {
},
"deploymentId" : 240000155
},
{
"rolloutId" : "xxx",
"factorPackIds" : {
"SIRI_FIND_MY_CONFIGURATION_FILES" : "xxx"
},
"deploymentId" : 240000023
}
],
"experiments" : [
]
}
}
Model: MacBookAir10,1, BootROM 8419.41.10, proc 8:4:4 processors, 8 GB, SMC
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, 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 xxx
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.
---
issue