[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 00:38:49 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 raimue):
This must be coming from libc/libSystem and not from bash itself. You
might be able to use `export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES` as a
workaround (although I am not sure if this actually works when running as
a login shell in Terminal.app).
Does this problem also occur when bash is started as login shell with
`/opt/local/bin/bash -l`? That might make debugging easier as we would be
able to attach dtruss to see which system calls are responsible for this
behavior.
--
Ticket URL: <https://trac.macports.org/ticket/68638#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list