tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Wip/rust on macOS Beta



Hi!

I am on macOS Sonoma Beta 7 on my Mac, and I noticed that cargo from wip/rust (1.71.1) does this on startup:

% cargo
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x600001e6c420'
*** First throw call stack:
(
	0   CoreFoundation                      0x00000001902c08c0 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x000000018fdb9eb4 objc_exception_throw + 60
	2   CoreFoundation                      0x00000001903723dc -[NSObject(NSObject) __retain_OA] + 0
	3   CoreFoundation                      0x000000019022a9e4 ___forwarding___ + 1572
	4   CoreFoundation                      0x000000019022a300 _CF_forwarding_prep_0 + 96
	5   Foundation                          0x00000001912ff4f0 -[NSProcessInfo arguments] + 188
	6   CoreFoundation                      0x000000019033bff8 __getDefaultArguments_block_invoke + 96
	7   libdispatch.dylib                   0x000000018ffc1910 _dispatch_client_callout + 20
	8   libdispatch.dylib                   0x000000018ffc314c _dispatch_once_callout + 32
	9   CoreFoundation                      0x000000019033b994 _addBackstopValuesForIdentifierAndSource + 640
	10  CoreFoundation                      0x00000001901f6254 __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 144
	11  CoreFoundation                      0x000000019033b63c -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 272
	12  CoreFoundation                      0x00000001901fc5c4 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 136
	13  CoreFoundation                      0x000000019037a8bc __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.155 + 296
	14  CoreFoundation                      0x000000019037a564 -[_CFXPreferences withSearchLists:] + 84
	15  CoreFoundation                      0x00000001901f7b18 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 300
	16  CoreFoundation                      0x000000019037a710 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 384
	17  CoreFoundation                      0x00000001901f7440 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
	18  CoreFoundation                      0x00000001901f7368 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
	19  SystemConfiguration                 0x0000000190f87478 SCDynamicStoreCopyProxiesWithOptions + 180
	20  libcurl.4.dylib                     0x0000000101faca00 Curl_macos_init + 16
	21  libcurl.4.dylib                     0x0000000101f92278 curl_global_init + 220
	22  cargo                               0x0000000100f636a0 _RNCINvMs0_NtNtCs2vmt7eouwPk_3std4sync4onceNtB8_4Once9call_onceNCNvCsjeRXzG7HL3G_4curl4init0E0B12_ + 36
	23  cargo                               0x0000000101078c24 _ZN3std10sys_common4once5queue4Once4call17hcf0ec3e1860a2be3E + 724
	24  cargo                               0x0000000100f637c4 _RNvNvCsjeRXzG7HL3G_4curl9INIT_CTOR9init_ctor + 96
	25  dyld                                0x000000018fe115c8 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 168
	26  dyld                                0x000000018fe566ec ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.202 + 172
	27  dyld                                0x000000018fe49c60 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 496
	28  dyld                                0x000000018fdf12fc _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 300
	29  dyld                                0x000000018fe48c98 _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 192
	30  dyld                                0x000000018fe4b780 _ZNK5dyld39MachOFile32forEachInitializerPointerSectionER11DiagnosticsU13block_pointerFvjjRbE + 160
	31  dyld                                0x000000018fe563e0 _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 432
	32  dyld                                0x000000018fe0d798 _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 448
	33  dyld                                0x000000018fe13b14 _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 36
	34  dyld                                0x000000018fe0db4c _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 220
	35  dyld                                0x000000018fe11654 _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 112
	36  dyld                                0x000000018fe0dccc _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 304
	37  dyld                                0x000000018fe32ad4 _ZN5dyld44APIs25runAllInitializersForMainEv + 464
	38  dyld                                0x000000018fdf5f34 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3192
	39  dyld                                0x000000018fdf4f44 start + 1948
)
libc++abi: terminating due to uncaught exception of type NSException
zsh: abort      cargo

Rebuilding rust did not change anything.

Is this an OS bug? 

I see libcurl in the backtrace; rebuilding curl also did not help.

Does anyone have any ideas? I have not seen this in any other program so far.

— 
Benny


Home | Main Index | Thread Index | Old Index