Subject: bin/10822: klist coredumps with no /etc/krb5.conf
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mason@primenet.com.au>
List: netbsd-bugs
Date: 08/12/2000 06:14:15
>Number: 10822
>Category: bin
>Synopsis: klist coredumps with no /etc/krb5.conf
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: bin-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 12 06:15:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator: Geoff C. Wing
>Release: 20000811
>Organization:
Geoff Wing : <gcw@pobox.com> Work URL: http://www.primenet.com.au/
Rxvt Stuff : <gcw@rxvt.org> Ego URL : http://pobox.com/~gcw/
Zsh Stuff : <gcw@zsh.org> Phone : (Australia) 0413 431 874
>Environment:
System: NetBSD c.primenet.com.au 1.5E NetBSD 1.5E (C) #0: Fri Aug 11 12:02:07 EST 2000 mason@c.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/C i386
>Description:
Running klist without a /etc/krb5.conf causes a coredump. It was
SEGVing with a "make build" from before heimdal 0.3a
Now it's causing a bus error.
(gdb) bt
#0 0x4817b8f3 in com_right ()
#1 0x4807f72c in krb5_get_err_text ()
#2 0x4807e602 in krb5_generate_subkey ()
#3 0x4807e76e in krb5_err ()
#4 0x804a3cd in dladdr ()
#5 0x804a5a7 in dladdr ()
#6 0x8049451 in free ()
.....
2042 klist CALL open(0x4808fdff,0,0x1b6)
2042 klist NAMI "/etc/krb5.conf"
2042 klist RET open -1 errno 2 No such file or directory
2042 klist PSIG SIGBUS SIG_DFL
2042 klist NAMI "klist.core"
>How-To-Repeat:
% mv /etc/krb5.conf /etc/krb5.conf.foo
% klist
>Fix:
Don't know if it's a klist error or indicative of a library problem.
>Release-Note:
>Audit-Trail:
>Unformatted: