Date: Sun, 16 Jun 2002 12:46:52 +0900 From: Munehiro Matsuda <haro@h4.dion.ne.jp> To: Robert Watson <rwatson@FreeBSD.org> Cc: haro@tt.kubota.co.jp, current@freebsd.org Subject: Zsh dumps core after cap_get_proc() removal Message-ID: <20020616124652V.haro@h4.dion.ne.jp>
next in thread | raw e-mail | index | archive | help
Hello Robert Watson, After removal of cap_get_proc() and friends from libc, zsh from the ports started to dump core: $ zsh [1] 7477 Bad system call (core dumped) zsh $ $ gdb /usr/local/bin/zsh zsh.core GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or 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. This GDB was configured as "i386-unknown-freebsd"... (no debugging symbols found)... Core was generated by `zsh'. Program terminated with signal 12, Bad system call. Reading symbols from /usr/local/lib/zsh/libzsh-4.0.4.so... (no debugging symbols found)...done. Reading symbols from /usr/lib/libncurses.so.5...(no debugging symbols found)...done. Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done. Reading symbols from /usr/lib/libc.so.5...(no debugging symbols found)...done. Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done. #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 #5 0x280754ea in execbuiltin () from /usr/local/lib/zsh/libzsh-4.0.4.so #6 0x28085236 in execsubst () from /usr/local/lib/zsh/libzsh-4.0.4.so #7 0x280828b9 in execlist () from /usr/local/lib/zsh/libzsh-4.0.4.so #8 0x28081fa3 in execlist () from /usr/local/lib/zsh/libzsh-4.0.4.so #9 0x28081a33 in execlist () from /usr/local/lib/zsh/libzsh-4.0.4.so #10 0x2809f269 in execif () from /usr/local/lib/zsh/libzsh-4.0.4.so #11 0x28085049 in execsubst () from /usr/local/lib/zsh/libzsh-4.0.4.so #12 0x280828b9 in execlist () from /usr/local/lib/zsh/libzsh-4.0.4.so #13 0x28081fa3 in execlist () from /usr/local/lib/zsh/libzsh-4.0.4.so #14 0x28081a33 in execlist () from /usr/local/lib/zsh/libzsh-4.0.4.so #15 0x280817b6 in execode () from /usr/local/lib/zsh/libzsh-4.0.4.so #16 0x28093f68 in loop () from /usr/local/lib/zsh/libzsh-4.0.4.so #17 0x28095c24 in source () from /usr/local/lib/zsh/libzsh-4.0.4.so #18 0x28095e55 in sourcehome () from /usr/local/lib/zsh/libzsh-4.0.4.so #19 0x280958ff in run_init_scripts () from /usr/local/lib/zsh/libzsh-4.0.4.so #20 0x2809663d in zsh_main () from /usr/local/lib/zsh/libzsh-4.0.4.so #21 0x804854f in exit () #22 0x8048495 in exit () (gdb) $ 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. Thank you, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020616124652V.haro>