If I install cargo-espflash with cargo install cargo-espflash and I run cargo espflash, this is what I get:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x11ee09730'
*** First throw call stack:
(
0 CoreFoundation 0x0000000186404960 __exceptionPreprocess + 176
1 libobjc.A.dylib 0x0000000185efdeb4 objc_exception_throw + 60
2 CoreFoundation 0x00000001864b646c -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x000000018636eb24 ___forwarding___ + 1572
4 CoreFoundation 0x000000018636e440 _CF_forwarding_prep_0 + 96
5 Foundation 0x000000018743fd80 -[NSProcessInfo arguments] + 188
6 CoreFoundation 0x0000000186480094 __getDefaultArguments_block_invoke + 96
7 libdispatch.dylib 0x0000000186105910 _dispatch_client_callout + 20
8 libdispatch.dylib 0x000000018610714c _dispatch_once_callout + 32
9 CoreFoundation 0x000000018647fa30 _addBackstopValuesForIdentifierAndSource + 640
10 CoreFoundation 0x000000018633a3b4 __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 144
11 CoreFoundation 0x000000018647f6d8 -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 272
12 CoreFoundation 0x0000000186340724 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 136
13 CoreFoundation 0x00000001864be94c __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.155 + 296
14 CoreFoundation 0x00000001864be5f4 -[_CFXPreferences withSearchLists:] + 84
15 CoreFoundation 0x000000018633bc78 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 300
16 CoreFoundation 0x00000001864be7a0 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 384
17 CoreFoundation 0x000000018633b5a0 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
18 CoreFoundation 0x000000018633b4c8 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
19 SystemConfiguration 0x00000001870c8488 SCDynamicStoreCopyProxiesWithOptions + 180
20 cargo-espflash 0x0000000104f8f99c Curl_macos_init + 16
21 cargo-espflash 0x0000000104f8e26c curl_global_init + 176
22 cargo-espflash 0x0000000104f8bf98 _ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h59f7dc18648c0c99E + 36
23 cargo-espflash 0x000000010535e3d8 _ZN3std10sys_common4once5queue4Once4call17hedf6a27f629de9f0E + 1132
24 cargo-espflash 0x0000000104f8c120 _ZN4curl9INIT_CTOR9init_ctor17h5cfae87caa907fb3E + 88
25 dyld 0x0000000185f555c8 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 168
26 dyld 0x0000000185f9a920 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.209 + 340
27 dyld 0x0000000185f8dc60 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 496
28 dyld 0x0000000185f352fc _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 300
29 dyld 0x0000000185f8cc98 _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 192
30 dyld 0x0000000185f9a434 _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 516
31 dyld 0x0000000185f51798 _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 448
32 dyld 0x0000000185f57b14 _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 36
33 dyld 0x0000000185f51b4c _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 220
34 dyld 0x0000000185f55654 _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 112
35 dyld 0x0000000185f51ccc _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 304
36 dyld 0x0000000185f76ad4 _ZN5dyld44APIs25runAllInitializersForMainEv + 464
37 dyld 0x0000000185f39f34 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3192
38 dyld 0x0000000185f38f44 start + 1948
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort cargo espflash
If I run espflash only, I don't run into this kind of issue.
Building v2.0.1 of cargo-espflash with cargo run --release --bin cargo-espflash -- espflash produces an executable that doesn't display this issue.
I am using macOS 14.0 23A5312d on arm64.
If I install
cargo-espflashwithcargo install cargo-espflashand I runcargo espflash, this is what I get:If I run
espflashonly, I don't run into this kind of issue.Building v2.0.1 of
cargo-espflashwithcargo run --release --bin cargo-espflash -- espflashproduces an executable that doesn't display this issue.I am using macOS 14.0 23A5312d on arm64.