[MacPorts] #64181: ksh @2020.0.0_1 : typeset -f crashes the shell
MacPorts
noreply at macports.org
Fri Dec 10 16:35:21 UTC 2021
#64181: ksh @2020.0.0_1 : typeset -f crashes the shell
----------------------+--------------------
Reporter: posguy99 | Owner: (none)
Type: defect | Status: new
Priority: Low | Milestone:
Component: ports | Version: 2.7.1
Keywords: bigsur | Port: ksh
----------------------+--------------------
It crashes when you attempt to list defined functions. As below:
{{{
$ ver
ksh: Version A 2020.0.0
$ typeset -f
### 67416 Function backtrace:
1 handle_sigsegv (in ksh) + 11
2 _sigtramp (in libsystem_platform.dylib) + 29
3 0x2000000020
4 print_scan (in ksh) + 610
5 setall (in ksh) + 3763
6 b_typeset (in ksh) + 2630
7 sh_exec (in ksh) + 15481
8 exfile (in ksh) + 1783
9 sh_main (in ksh) + 1827
10 start (in libdyld.dylib) + 1
Abort
}}}
I recognize that according to the port, it may be removed soon, but a
crasher would seem to warrant removal sooner, especially since the 2020
fork of ksh is abandoned upstream.
Would like to suggest that MacPorts consider replacing it with ksh93u+m,
available here: [https://github.com/ksh93/ksh]
--
Ticket URL: <https://trac.macports.org/ticket/64181>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list