From owner-freebsd-current Sun Jun 16 9:23:44 2002 Delivered-To: freebsd-current@freebsd.org Received: from hfep04.dion.ne.jp (hfep04.dion.ne.jp [203.181.105.70]) by hub.freebsd.org (Postfix) with ESMTP id 6A83537B42C; Sun, 16 Jun 2002 09:23:40 -0700 (PDT) Received: from localhost ([211.5.18.12]) by hfep04.dion.ne.jp with ESMTP id <20020616162338718.LUWP@hfep04.dion.ne.jp>; Mon, 17 Jun 2002 01:23:38 +0900 To: rwatson@FreeBSD.ORG Cc: haro@tt.kubota.co.jp, current@FreeBSD.ORG Subject: Re: Zsh dumps core after cap_get_proc() removal In-Reply-To: References: <20020616124652V.haro@h4.dion.ne.jp> X-Mailer: Mew version 1.94.1 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20020617012043M.haro@h4.dion.ne.jp> Date: Mon, 17 Jun 2002 01:20:43 +0900 From: Munehiro Matsuda X-Dispatcher: imput version 20000228(IM140) Lines: 44 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello Robert Watson, From: Robert Watson Date: Sun, 16 Jun 2002 02:44:18 -0400 (EDT) ::> After removal of cap_get_proc() and friends from libc, zsh from the ports ::> started to dump core: ::> ::> ::> #0 0x28172333 in __sys___cap_get_proc () from /usr/lib/libc.so.5 ::> (gdb) where ::> #0 0x28172333 in __sys___cap_get_proc () from /usr/lib/libc.so.5 ::> #1 0x2816003e in cap_get_proc () from /usr/lib/libc.so.5 ::> #2 0x280ca331 in privasserted () from /usr/local/lib/zsh/libzsh-4.0.4.so ::> #3 0x28080099 in evalcond () from /usr/local/lib/zsh/libzsh-4.0.4.so ::> #4 0x2807e5d7 in bin_test () from /usr/local/lib/zsh/libzsh-4.0.4.so ::> ::> I had to manually disable HAVE_CAP_GET_PROC in config.h for zsh. ::> ::> Can't we have some kind of HEADS-UP or version-bump for this matter. :: ::__cap_get_proc() has always returned ENOSYS in the base system (indicating ::that it was not implemented), as we never committed the implementation of ::the system call. It looks like your binary is picking up cap_get_proc() ::from libc, which suggests your libc isn't in sync with the source tree, ::since libc no longer contains cap_get_proc(). It may be that zsh's ::autoconf picked up on the library calls (now removed), and built in a ::dependency on them. You might need to rebuild zsh to work around this ::once libc is rebuilt. I realized that my world was not in sync, just after I send out my e-mail. Thank you for feed back, anyway. :-) I hope my original e-mail would be a small heads-up for the rest of zsh users, who may get into same kind of trouble. :-P Thanks, Haro =------------------------------------------------------------------------------ _ _ Munehiro (haro) Matsuda -|- /_\ |_|_| Business Incubation Dept., Kubota Corp. /|\ |_| |_|_| 1-3 Nihonbashi-Muromachi 3-Chome Chuo-ku Tokyo 103-8310, Japan Tel: +81-3-3245-3318 Fax: +81-3-3245-3315 Email: haro@kubota.co.jp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message