Skip to content

Instantly share code, notes, and snippets.

@ahornby
Created October 1, 2023 19:41
Show Gist options
  • Save ahornby/162eabcad3f0b63b78a22941c90e0d17 to your computer and use it in GitHub Desktop.
Save ahornby/162eabcad3f0b63b78a22941c90e0d17 to your computer and use it in GitHub Desktop.
errors from brew installed sapling on macOS sonoma. when I type sl I get NSInvalidArgumentException
$ uname -a
Darwin mbp15-ah.local 23.0.0 Darwin Kernel Version 23.0.0: Fri Sep 15 14:42:42 PDT 2023; root:xnu-10002.1.13~1/RELEASE_X86_64 x86_64
$ brew info sapling
==> sapling: stable 0.2.20230523-092610-f12b7eee (bottled), HEAD
Source control client
https://sapling-scm.com
/usr/local/Cellar/sapling/0.2.20230523-092610-f12b7eee_2 (533 files, 76.4MB) *
Poured from bottle using the formulae.brew.sh API on 2023-10-01 at 15:33:11
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/s/sapling.rb
License: GPL-2.0-or-later
==> Dependencies
Build: cmake ✔, rust ✘, yarn ✘
Required: gh ✔, node ✔, openssl@3 ✔, python@3.11 ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 358 (30 days), 675 (90 days), 1,697 (365 days)
install-on-request: 358 (30 days), 675 (90 days), 1,697 (365 days)
build-error: 0 (30 days)
$ sl
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x6000031740c0'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff81141d0b6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff810f12231 objc_exception_throw + 48
2 CoreFoundation 0x00007ff8114c23a4 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007ff81138a833 ___forwarding___ + 1379
4 CoreFoundation 0x00007ff81138a248 _CF_forwarding_prep_0 + 120
5 Foundation 0x00007ff8122eb11f -[NSProcessInfo arguments] + 203
6 CoreFoundation 0x00007ff81148fce5 __getDefaultArguments_block_invoke + 101
7 libdispatch.dylib 0x00007ff81112759a _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007ff8111287cb _dispatch_once_callout + 20
9 CoreFoundation 0x00007ff81148f6f6 _addBackstopValuesForIdentifierAndSource + 636
10 CoreFoundation 0x00007ff811356a3d __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 151
11 CoreFoundation 0x00007ff81148f3b5 -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 241
12 CoreFoundation 0x00007ff81135d600 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 98
13 CoreFoundation 0x00007ff8114c9eab __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.160 + 310
14 CoreFoundation 0x00007ff8114c9b78 -[_CFXPreferences withSearchLists:] + 60
15 CoreFoundation 0x00007ff811358058 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 278
16 CoreFoundation 0x00007ff8114c9cf0 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 349
17 CoreFoundation 0x00007ff811357ae2 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 124
18 CoreFoundation 0x00007ff811357a28 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 101
19 SystemConfiguration 0x00007ff811fa28bb SCDynamicStoreCopyProxiesWithOptions + 155
20 sl 0x000000010c309fcf Curl_macos_init + 11
21 sl 0x000000010c2faa50 global_init + 145
22 sl 0x000000010c2eb83d _ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17hfec058697926e32dE + 29
23 sl 0x000000010c76f157 _ZN3std10sys_common4once5queue4Once4call17h9b44075e66d0fb08E + 743
24 sl 0x000000010c2ebb57 _ZN4curl9INIT_CTOR9init_ctor17hdc08b424392a74cfE + 71
25 dyld 0x00007ff810f5ef16 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 182
26 dyld 0x00007ff810fa071f ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.180 + 241
27 dyld 0x00007ff810f94913 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 543
28 dyld 0x00007ff810f4207f _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 249
29 dyld 0x00007ff810f93adc _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 176
30 dyld 0x00007ff810fa030a _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 470
31 dyld 0x00007ff810f5bc48 _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 222
32 dyld 0x00007ff810f616ab _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 21
33 dyld 0x00007ff810f5be3d _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 181
34 dyld 0x00007ff810f5ef8c _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 98
35 dyld 0x00007ff810f5bed3 _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 93
36 dyld 0x00007ff810f7d9ed _ZN5dyld44APIs25runAllInitializersForMainEv + 317
37 dyld 0x00007ff810f47261 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3397
38 dyld 0x00007ff810f4633f start + 1839
)
libc++abi: terminating due to uncaught exception of type NSException
Abort trap: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment