Bug 1473 - pdksh + glibc2.1 = coredump on startup (trap.c ~line 34)
Summary: pdksh + glibc2.1 = coredump on startup (trap.c ~line 34)
Alias: None
Product: Red Hat Raw Hide
Classification: Retired
Component: pdksh
Version: 1.0
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact:
: 1408 (view as bug list)
Depends On:
TreeView+ depends on / blocked
Reported: 1999-03-10 19:51 UTC by jmegq
Modified: 2008-05-01 15:37 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-03-17 20:48:39 UTC

Attachments (Terms of Use)

Description jmegq 1999-03-10 19:51:19 UTC
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...

Comment 1 Jeff Johnson 1999-03-17 20:43:59 UTC
*** Bug 1408 has been marked as a duplicate of this bug. ***

Ksh segfaults on any script I try to run. For example:


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)

Comment 2 Jeff Johnson 1999-03-17 20:48:59 UTC
Fixed in pdksh-5.3.12-2 (by checking that sys_siglist[i] != NULL).

Note You need to log in before you can comment on or make changes to this bug.