Closed LarryMerino closed 9 months ago
I have updated my version of rust using rustup update
and now I have version v1.74.0-nightly of rust using MacOs 14.0 and now espflash works:
espflash flash --port [/dev/tty.u..] --partition-table [partitions.csv] --monitor [target/riscv32imc-esp-espidf/debug/...]
but cargo espflash
It still doesn't work and gives the same error as before.
❯ cargo espflash
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x7fb31e0055f0'
*** First throw call stack:
(
0 CoreFoundation 0x00007ff8041460b6 __exceptionPreprocess + 242
1 libobjc.A.dylib 0x00007ff803c3b231 objc_exception_throw + 48
2 CoreFoundation 0x00007ff8041eb3a4 -[NSObject(NSObject) __retain_OA] + 0
3 CoreFoundation 0x00007ff8040b3833 ___forwarding___ + 1379
4 CoreFoundation 0x00007ff8040b3248 _CF_forwarding_prep_0 + 120
5 Foundation 0x00007ff80501411f -[NSProcessInfo arguments] + 203
6 CoreFoundation 0x00007ff8041b8ce5 __getDefaultArguments_block_invoke + 101
7 libdispatch.dylib 0x00007ff803e5059a _dispatch_client_callout + 8
8 libdispatch.dylib 0x00007ff803e517cb _dispatch_once_callout + 20
9 CoreFoundation 0x00007ff8041b86f6 _addBackstopValuesForIdentifierAndSource + 636
10 CoreFoundation 0x00007ff80407fa3d __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 151
11 CoreFoundation 0x00007ff8041b83b5 -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 241
12 CoreFoundation 0x00007ff804086600 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 98
13 CoreFoundation 0x00007ff8041f2eab __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.160 + 310
14 CoreFoundation 0x00007ff8041f2b78 -[_CFXPreferences withSearchLists:] + 60
15 CoreFoundation 0x00007ff804081058 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 278
16 CoreFoundation 0x00007ff8041f2cf0 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 349
17 CoreFoundation 0x00007ff804080ae2 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 124
18 CoreFoundation 0x00007ff804080a28 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 101
19 SystemConfiguration 0x00007ff804ccb8bb SCDynamicStoreCopyProxiesWithOptions + 155
20 cargo-espflash 0x0000000104b47feb Curl_macos_init + 11
21 cargo-espflash 0x0000000104b4679c curl_global_init + 140
22 cargo-espflash 0x0000000104b43fcd _ZN3std4sync4once4Once9call_once28_$u7b$$u7b$closure$u7d$$u7d$17h2ef836697f9fd639E + 29
23 cargo-espflash 0x0000000104ff2996 _ZN3std10sys_common4once5queue4Once4call17hb78ea694409b9a73E + 918
24 cargo-espflash 0x0000000104b440e2 _ZN4curl9INIT_CTOR9init_ctor17hb96b384d2fb592e5E + 66
25 dyld 0x00007ff803c87f16 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 182
26 dyld 0x00007ff803cc971f ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.180 + 241
27 dyld 0x00007ff803cbd913 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 543
28 dyld 0x00007ff803c6b07f _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 249
29 dyld 0x00007ff803cbcadc _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 176
30 dyld 0x00007ff803cc930a _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 470
31 dyld 0x00007ff803c84c48 _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 222
32 dyld 0x00007ff803c8a6ab _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 21
33 dyld 0x00007ff803c84e3d _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 181
34 dyld 0x00007ff803c87f8c _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 98
35 dyld 0x00007ff803c84ed3 _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 93
36 dyld 0x00007ff803ca69ed _ZN5dyld44APIs25runAllInitializersForMainEv + 317
37 dyld 0x00007ff803c70261 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3397
38 dyld 0x00007ff803c6f33f start + 1839
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort cargo espflash
Duplicated of #463
I was working without problems with espflash and cargo-espflash but since I updated to MacOs 14.0 it gives me the following error message:
The same message for both espflash and espflash cargo
I'm not sure if it's an OS issue but it seems so. I will try to go to the previous version of MacOs to see if the problem is solved