Hide Forgot
With glibc 2.1, pdksh coredumps on startup. GDB says this occurs in trap.c around line 34, where it attempts to fill in a list of signal descriptions using sys_siglist. Workaround: after running configure, comment out the HAS_SYS_SIGLIST line in config.h, then compile as usual. sys_siglist says it's "only for compatability" in 2.1, but it appears not to be so compatable...
*** Bug 1408 has been marked as a duplicate of this bug. *** Ksh segfaults on any script I try to run. For example: ----------------------------------------- #!/bin/ksh echo foo ----------------------------------------- ------- Additional Comments From abel.il 03/16/99 10:53 ------- Actually it is enough to invoke 'ksh' from command line to see it crashing. It is still relevant in 5.8.6 (pdksh-5.2.12-7)
Fixed in pdksh-5.3.12-2 (by checking that sys_siglist[i] != NULL). Thanks.