Opened 14 months ago

Last modified 7 weeks ago

#68156 assigned defect

iTerm2 crashed on launch due to missing library BetterFontPicker.

Reported by: JacksonBailey (Jackson Bailey) Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: iTerm2

Description

After launching iTerm2 by installing with port I get this error. Note, this crash report is from the Crash Reporter after installing iTerm2 manually and launching it successfully. It is detecting the previous launch from port but I see the same error mentioned (Library not loaded: @rpath/BetterFontPicker.framework/Versions/A/BetterFontPicker) so I trust it.

Version: 3.4.20 (3.4.20)
Model: Unknown (MacBookPro14,3)
CPU Speed: 8x 2.90 GHz
{"app_name":"iTerm2","timestamp":"2023-09-12 14:04:24.00 -0400","app_version":"3.4.19","slice_uuid":"bca291ba-befe-34bf-ba83-f5957551e1a4","build_version":"3.4.19","platform":1,"bundleID":"com.googlecode.iterm2","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.5.2 (22G91)","roots_installed":0,"name":"iTerm2","incident_id":"03B2DF09-638C-4442-89A7-DA02C9BD32CA"}
{
  "uptime" : 56000,
  "procRole" : "Background",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro14,3",
  "coalitionID" : 5533,
  "osVersion" : {
    "train" : "macOS 13.5.2",
    "build" : "22G91",
    "releaseType" : "User"
  },
  "captureTime" : "2023-09-12 14:04:24.2458 -0400",
  "incident" : "03B2DF09-638C-4442-89A7-DA02C9BD32CA",
  "pid" : 5898,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-09-12 14:04:23.1388 -0400",
  "procStartAbsTime" : 56175339821726,
  "procExitAbsTime" : 56176445044718,
  "procName" : "iTerm2",
  "procPath" : "\/Applications\/MacPorts\/iTerm2.app\/Contents\/MacOS\/iTerm2",
  "bundleInfo" : {"CFBundleShortVersionString":"3.4.19","CFBundleVersion":"3.4.19","CFBundleIdentifier":"com.googlecode.iterm2"},
  "storeInfo" : {"deviceIdentifierForVendor":"93CC8F57-D085-5EA2-A3D0-0D401D47AF05","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "com.googlecode.iterm2",
  "crashReporterKey" : "90A25A89-02A6-90A7-C550-F9B2A2F8CB31",
  "codeSigningID" : "com.googlecode.iterm2",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570503953,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 0,
  "wakeTime" : 441,
  "bridgeVersion" : {"build":"14Y910","train":"3.0"},
  "sleepWakeUUID" : "4A545640-D1C7-4C8A-AF1C-66160E6D6DE4",
  "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: <BCA291BA-BEFE-34BF-BA83-F5957551E1A4> \/Applications\/MacPorts\/iTerm2.app\/Contents\/MacOS\/iTerm2","Reason: tried: '\/Applications\/MacPorts\/iTerm2.app\/Contents\/MacOS\/..\/Frameworks\/BetterFontPicker.framework\/Versions\/A\/BetterFontPicker' (code signature in <ED4B4372-9E02-37AE-ADED-0A904093467D> '\/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 <ED4B4372-9E02-37AE-ADED-0A904093467D> '\/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":609663,"threadState":{"r13":{"value":140701789214976},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140701789213952},"cr2":{"value":4433125376},"rdx":{"value":140701789214976},"r10":{"value":138},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":140703548656722,"matchesCrashFrame":1},"rbp":{"value":140701789213920},"rsp":{"value":140701789213848},"r12":{"value":138},"rcx":{"value":140701789213848},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":441426,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":1},{"imageOffset":548823,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":1},{"imageOffset":548873,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":1},{"imageOffset":43248,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":1},{"imageOffset":31601,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":4526,"imageIndex":1},{"imageOffset":25533,"symbol":"start","symbolLocation":1805,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4559572992,
    "CFBundleShortVersionString" : "3.4.19",
    "CFBundleIdentifier" : "com.googlecode.iterm2",
    "size" : 7405568,
    "uuid" : "bca291ba-befe-34bf-ba83-f5957551e1a4",
    "path" : "\/Applications\/MacPorts\/iTerm2.app\/Contents\/MacOS\/iTerm2",
    "name" : "iTerm2",
    "CFBundleVersion" : "3.4.19"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703548215296,
    "size" : 624112,
    "uuid" : "31e1c182-e611-3883-97a3-4334a21c90bd",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "sharedCache" : {
  "base" : 140703547592704,
  "size" : 21474836480,
  "uuid" : "9e62ff5d-f36e-3c12-9277-95f6a085513e"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=187.0M resident=0K(0%) swapped_out_or_unallocated=187.0M(100%)\nWritable regions: Total=8500K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8500K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE                          8K        2 \n__DATA                            2315K        3 \n__DATA_CONST                        20K        1 \n__DATA_DIRTY                         7K        1 \n__LINKEDIT                       179.3M        2 \n__TEXT                            7844K        2 \ndyld private memory                260K        2 \nshared memory                        4K        1 \n===========                     =======  ======= \nTOTAL                            253.5M       16 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "5f4c11f77e1eb1998d69786982691d8e433dbcc9",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "62c73fd17cce0d1b0bcb8a02",
      "factorPackIds" : {

      },
      "deploymentId" : 240000180
    },
    {
      "rolloutId" : "6425c75e4327780c10cc4252",
      "factorPackIds" : {
        "SIRI_HOME_AUTOMATION_INTENT_SELECTION_CACHE" : "642600a457e7664b1698eb32"
      },
      "deploymentId" : 240000004
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "a092db1b-c401-44fa-9c54-518b7d69ca61",
      "experimentId" : "64a844035c85000c0f42398a",
      "deploymentId" : 400000019
    },
    {
      "treatmentId" : "6dd670af-0633-45e4-ae5f-122ae4df02be",
      "experimentId" : "64406ba83deb637ac8a04419",
      "deploymentId" : 900000017
    }
  ]
}
}
~~ Error Logs ~~


Change History (5)

comment:1 Changed 14 months ago by jmroot (Joshua Root)

Owner: set to markemer
Status: newassigned

comment:2 Changed 10 months ago by bernstei

I'm seeing something at least very similar. The report seems to be referring to the library having code signature issues?

(MacOS 13.6.3, M1, iterm2 version 3.4.21_0)

> /Applications/MacPorts/iTerm2.app/Contents/MacOS/iTerm2
dyld[45650]: Library not loaded: @rpath/BetterFontPicker.framework/Versions/A/BetterFontPicker
  Referenced from: <995752F5-4C28-3C0E-A1D3-585BEFB06485> /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 identity or adhoc?)), '/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 identity or adhoc?)), '/System/Library/Frameworks/BetterFontPicker.framework/Versions/A/BetterFontPicker' (no such file, not in dyld cache)
zsh: abort      /Applications/MacPorts/iTerm2.app/Contents/MacOS/iTerm2

comment:3 Changed 10 months ago by markemer (Mark Anderson)

This was fixed, but seems to have reappeared. iTerm2 is becoming harder and harder to maintain because it's binaries are very backward compatible, but its builds are not.

comment:4 Changed 7 weeks ago by cvengler (cve)

I can confirm that this continues to exist on M2 Sequoia.

comment:5 Changed 7 weeks ago by markemer (Mark Anderson)

Yeah, I'm currently totally overhauling iTerm2 to bring us up to a modern version. It's a little slow going, but it's on it's way.

Note: See TracTickets for help on using tickets.