bug-gettext
[Top][All Lists]
Advanced

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

Re: Issue on macOS Sonoma affecting aria2


From:
Subject: Re: Issue on macOS Sonoma affecting aria2
Date: Mon, 2 Oct 2023 16:37:37 +1100

Some additional information:

I installed gettext and aria2 by homebrew, then I created a PR to homebrew to resolve this.
But fxcoudert (FX Coudert) (github.com) suggested report this to the upstream and provided a solution:

2023年10月2日 下午4:24,Shupeng Xue (Xerxes Ⅱ) <dspxue@gmail.com> 写道:

Hello,

I am writing to report an issue I've encountered with GNU gettext on macOS Sonoma that impacts the functionality of aria2. When attempting to execute aria2c, the application terminates abruptly with an 'NSInvalidArgumentException’.

Environment:

Computer: MacBook Pro 14” 2023, M2 Pro
OS: macOS Sonoma 14.0, build 23A344
gettext 0.22.2
aria2 1.36.0


Error log:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFString stringByStandardizingPath]: unrecognized selector sent to instance 0x60000051c0c0'
*** First throw call stack:
(
0   CoreFoundation                      0x0000000186b7c8c0 __exceptionPreprocess + 176
1   libobjc.A.dylib                     0x0000000186675eb4 objc_exception_throw + 60
2   CoreFoundation                      0x0000000186c2e3dc -[NSObject(NSObject) __retain_OA] + 0
3   CoreFoundation                      0x0000000186ae69e4 ___forwarding___ + 1572
4   CoreFoundation                      0x0000000186ae6300 _CF_forwarding_prep_0 + 96
5   Foundation                          0x0000000187bbb4f0 -[NSProcessInfo arguments] + 188
6   CoreFoundation                      0x0000000186bf7ff8 __getDefaultArguments_block_invoke + 96
7   libdispatch.dylib                   0x000000018687d910 _dispatch_client_callout + 20
8   libdispatch.dylib                   0x000000018687f14c _dispatch_once_callout + 32
9   CoreFoundation                      0x0000000186bf7994 _addBackstopValuesForIdentifierAndSource + 640
10  CoreFoundation                      0x0000000186ab2254 __81-[_CFXPreferences(SourceAdditions) withNamedVolatileSourceForIdentifier:perform:]_block_invoke + 144
11  CoreFoundation                      0x0000000186bf763c -[_CFXPreferences withNamedVolatileSourceForIdentifier:perform:] + 272
12  CoreFoundation                      0x0000000186ab85c4 -[CFPrefsSearchListSource addNamedVolatileSourceForIdentifier:] + 136
13  CoreFoundation                      0x0000000186c368bc __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke.155 + 296
14  CoreFoundation                      0x0000000186c36564 -[_CFXPreferences withSearchLists:] + 84
15  CoreFoundation                      0x0000000186ab3b18 __108-[_CFXPreferences(SearchListAdditions) withSearchListForIdentifier:container:cloudConfigurationURL:perform:]_block_invoke + 300
16  CoreFoundation                      0x0000000186c36710 -[_CFXPreferences withSearchListForIdentifier:container:cloudConfigurationURL:perform:] + 384
17  CoreFoundation                      0x0000000186ab3440 -[_CFXPreferences copyAppValueForKey:identifier:container:configurationURL:] + 156
18  CoreFoundation                      0x0000000186ab3368 _CFPreferencesCopyAppValueWithContainerAndConfiguration + 112
19  libintl.8.dylib                     0x000000010100a42c _libintl_locale_name_default + 72
20  libintl.8.dylib                     0x0000000101007e54 libintl_dcigettext + 1876
21  aria2c                              0x00000001008ba2dc _GLOBAL__sub_I_UnknownOptionException.cc + 20
22  dyld                                0x00000001866cd5c8 ___ZZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateEENK3$_0clEv_block_invoke + 168
23  dyld                                0x0000000186712920 ___ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv_block_invoke.209 + 340
24  dyld                                0x0000000186705c60 ___ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE_block_invoke + 496
25  dyld                                0x00000001866ad2fc _ZNK5dyld39MachOFile18forEachLoadCommandER11DiagnosticsU13block_pointerFvPK12load_commandRbE + 300
26  dyld                                0x0000000186704c98 _ZNK5dyld39MachOFile14forEachSectionEU13block_pointerFvRKNS0_11SectionInfoEbRbE + 192
27  dyld                                0x0000000186712434 _ZNK5dyld313MachOAnalyzer18forEachInitializerER11DiagnosticsRKNS0_15VMAddrConverterEU13block_pointerFvjEPKv + 516
28  dyld                                0x00000001866c9798 _ZNK5dyld46Loader25findAndRunAllInitializersERNS_12RuntimeStateE + 448
29  dyld                                0x00000001866cfb14 _ZNK5dyld416JustInTimeLoader15runInitializersERNS_12RuntimeStateE + 36
30  dyld                                0x00000001866c9b4c _ZNK5dyld46Loader23runInitializersBottomUpERNS_12RuntimeStateERN5dyld35ArrayIPKS0_EE + 220
31  dyld                                0x00000001866cd654 _ZZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateEENK3$_1clEv + 112
32  dyld                                0x00000001866c9ccc _ZNK5dyld46Loader38runInitializersBottomUpPlusUpwardLinksERNS_12RuntimeStateE + 304
33  dyld                                0x00000001866eead4 _ZN5dyld44APIs25runAllInitializersForMainEv + 464
34  dyld                                0x00000001866b1f34 _ZN5dyld4L7prepareERNS_4APIsEPKN5dyld313MachOAnalyzerE + 3192
35  dyld                                0x00000001866b0f44 start + 1948
)
libc++abi: terminating due to uncaught exception of type NSException
[1]    22575 abort      aria2c


Steps to Replicate:

1. Execute aria2c in a terminal on macOS Sonoma.
2. Observe the NSInvalidArgumentException error and the program termination.


Possible Cause & Solution

I tried building gettext with the additional LDFLAG -framework CoreServices and aria2 now works fine.

I believe this is a critical issue that warrants your attention for a fix or at least documentation in the setup guide.

Thank you
Shupeng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]