[MacPorts] #68638: bash @5.2.15: When a "command not found" situation happens, Bash prints errors and ends with "Abort Trap: 6" instead of printing "Command not found"
MacPorts
noreply at macports.org
Wed Nov 15 01:47:27 UTC 2023
#68638: bash @5.2.15: When a "command not found" situation happens, Bash prints
errors and ends with "Abort Trap: 6" instead of printing "Command not
found"
----------------------+----------------------
Reporter: some1so | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: bash |
----------------------+----------------------
Comment (by some1so):
Hello, here are the results - I start off using /bin/bash and then start a
login shell with the macports version.
{{{
~ $ echo $LANG, $LC_MESSAGES, $LC_ALL
en_US.UTF-8, ,
~ $ /opt/local/bin/bash -l
Restored session: Tue Nov 14 17:41:17 PST 2023
~ $ echo $LANG, $LC_MESSAGES, $LC_ALL
en_US.UTF-8, ,
~ $ derp
objc[7696]: +[__SwiftNativeNSStringBase initialize] may have been in
progress in another thread when fork() was called.
objc[7696]: +[__SwiftNativeNSStringBase initialize] may have been in
progress in another thread when fork() was called. We cannot safely call
it or ignore it in the fork() child process. Crashing instead. Set a
breakpoint on objc_initializeAfterForkError to debug.
Abort trap: 6
~ $ export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
~ $ derp
objc[7697]: +[__SwiftNativeNSStringBase initialize] may have been in
progress in another thread when fork() was called.
objc[7697]: +[__SwiftNativeNSStringBase initialize] may have been in
progress in another thread when fork() was called. We cannot safely call
it or ignore it in the fork() child process. Crashing instead. Set a
breakpoint on objc_initializeAfterForkError to debug.
Abort trap: 6
~ $ echo $OBJC_DISABLE_INITIALIZE_FORK_SAFETY
YES
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68638#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list