[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
convert_hdb dumps core
Hi,
After i did "kstash --convert" I tried to run convert_db. Got a core. This is
the gdb output.
[root@kdc heimdal]# gdb /usr/local/src/krb/heimdal-0.1b/lib/hdb/convert_db 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.16 (i586-unknown-linux), Copyright 1996 Free Software Foundation, Inc...
Core was generated by `/usr/local/src/krb/heimdal-0.1b/lib/hdb/convert_db'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libdb.so.2.0.0...done.
Reading symbols from /lib/libc.so.5.3.12...done.
Reading symbols from /lib/ld-linux.so.1...done.
#0 free_octet_string (k=0x15) at der_free.c:52
52 free(k->data);
(gdb) bt
#0 free_octet_string (k=0x15) at der_free.c:52
#1 0x804c733 in free_Salt (data=0x11) at asn1_Salt.c:120
#2 0x804abb6 in free_Key (data=0x8075df4) at asn1_Key.c:159
#3 0x80498fa in func (context=0x806e8b0, db=0x806ecc8, entry=0xbffffc10,
data=0x806ed20) at convert_db.c:87
#4 0x8049f8f in hdb_foreach (context=0x806e8b0, db=0x806ecc8,
func=0x8049768 <func>, data=0x806ed20) at hdb.c:224
#5 0x8049b52 in main (argc=1, argv=0xbffffca4) at convert_db.c:163
#6 0x80496db in ___crt_dummy__ ()
(gdb)
Any thougths???
Cheers Leif