[16500] in Athena Bugs

home help back first fref pref prev next nref lref last post

sgi 8.2.13: krb__get_realmsfile() core dumps w/ bogus KRB5_CONFIG

daemon@ATHENA.MIT.EDU (jhawk@MIT.EDU)
Thu Nov 19 09:48:00 1998

From: <jhawk@MIT.EDU>
Date: Thu, 19 Nov 1998 09:47:56 -0500
To: bugs@MIT.EDU


If the kerberos libraries cannot find KRB5_CONFIG (for instance, the
fileserver it's on "happens" to go away...), then most programs using
krb5 libraries seem to core dump. E.g. zwrite, blanche ,etc. Example:

[opus!jhawk] /var/tmp> setenv KRB5_CONFIG /path/to/bogosity
[opus!jhawk] /var/tmp> zwrite jhawk
Segmentation fault (core dumped)
[opus!jhawk] /var/tmp> gdb zwrite 
GNU gdb 4.17
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 "mips-sgi-irix6.2"...(no debugging symbols found)...
(gdb) core-file core
Core was generated by `zwrite'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libgen.so...whdone.
Reading symbols from /usr/lib/libdl.so...done.
eReading symbols from /usr/lib/libw.so...rdone.
Reading symbols from /usr/lib/libc.so.1...e
done.
#0  0x40e478 in krb_get_tf_realm ()
(gdb) where
#0  0x40e478 in krb_get_tf_realm ()
#1  0x40e7c8 in krb__get_realmsfile ()

Thanks.

--jhawk

home help back first fref pref prev next nref lref last post