From owner-freebsd-current Thu Oct 24 17:17:03 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id RAA05620 for current-outgoing; Thu, 24 Oct 1996 17:17:03 -0700 (PDT) Received: from gargoyle.bazzle.com ([206.103.246.190]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id RAA05575 for ; Thu, 24 Oct 1996 17:16:51 -0700 (PDT) Received: from gargoyle.bazzle.com (localhost [127.0.0.1]) by gargoyle.bazzle.com (8.7.6/8.6.12) with SMTP id UAA02508 for ; Thu, 24 Oct 1996 20:16:37 -0400 (EDT) Date: Thu, 24 Oct 1996 20:16:37 -0400 (EDT) From: "Eric J. Chet" To: freebsd-current@freebsd.org Subject: -current as of 10/23/96 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hello Make world as of last night 10/23/96. Can't login using pdksh it dumps with sig 11, csh and tcsh are fine. I rebuilt ksh same result. It only dumps at login, works fine from another shell. gargoyle# gdb /usr/local/bin/ksh ksh.core GDB is free software and you are welcome to distribute copies of it under certain conditions; type "show copying" to see the conditions. There is absolutely no warranty for GDB; type "show warranty" for details. GDB 4.13 (i386-unknown-freebsd), Copyright 1994 Free Software Foundation, Inc... Core was generated by `ksh'. Program terminated with signal 11, Segmentation fault. #0 shf_close (shf=0xd0d0d0d0) at shf.c:203 203 if (shf->fd >= 0) { (gdb) (gdb) where #0 shf_close (shf=0xd0d0d0d0) at shf.c:203 #1 0x1664b in include (name=0x15d78 "/etc/profile", argc=0, argv=0x0, intr_ok=1) at main.c:487 #2 0x16397 in main (argc=1, argv=0xefbfde54) at main.c:359 shf.c------------- int shf_close(shf) struct shf *shf; { int ret = 0; if (shf->fd >= 0) { ret = shf_flush(shf); if (close(shf->fd) < 0) ret = EOF; } if (shf->flags & SHF_ALLOCS) afree(shf, shf->areap); else if (shf->flags & SHF_ALLOCB) afree(shf->buf, shf->areap); return ret; } shf->fd contains the fd from opening "/etc/profile" Any ideas? Thanks, Eric J. Chet - ejc@bazzle.com