Assertion failed for krb5kdc
Tom Yu
tlyu at MIT.EDU
Thu Oct 15 19:20:29 EDT 2009
eightball <sthgrau at gmail.com> writes:
> I am having the same problem with Solaris 8 and 9, but not 10. The
> output is the same between 8 and 9, so I am just sending 8.
> Thanks for your help,
> Steve
A comment in k5-thread.h implies that Solaris < 10 have a broken
pthread_once() that doesn't actually do anything. I thought we had a
workaround for it.
> [root at localhost]/local/BuildArea/krb5/krb5-1.7/src#gdb kdc/krb5kdc
> GNU gdb 5.3
> Copyright 2002 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 "sparc-sun-solaris2.8"...
> (gdb) run -n
> Starting program: /local/BuildArea/krb5/krb5-1.7/src/kdc/krb5kdc -n
> Assertion failed: k5int_i->did_run != 0, file krb5_libinit.c, line 63
>
> Program received signal SIGABRT, Aborted.
> 0xfef9fe08 in _libc_kill () from /usr/lib/libc.so.1
> (gdb) bt
> #0 0xfef9fe08 in _libc_kill () from /usr/lib/libc.so.1
> #1 0xfef35a2c in abort () from /usr/lib/libc.so.1
> #2 0xfef35cd0 in _assert () from /usr/lib/libc.so.1
> #3 0xff21716c in krb5int_initialize_library () at krb5_libinit.c:63
> #4 0xff2496b4 in init_common (context=0xffbef8d4, secure=0, kdc=1) at
> init_ctx.c:134
> #5 0x00020370 in main (argc=2, argv=0xffbef94c) at main.c:855
> (gdb) The program is running. Exit anyway? (y or n) y
> [root at localhost]/local/BuildArea/krb5/krb5-1.7/src#gdb appl/bsd/
> klogind
> GNU gdb 5.3
> Copyright 2002 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 "sparc-sun-solaris2.8"...
> (gdb) run
> Starting program: /local/BuildArea/krb5/krb5-1.7/src/appl/bsd/klogind
> Assertion failed: k5int_i->did_run != 0, file error_message.c, line
> 293
>
> Program received signal SIGABRT, Aborted.
> 0xff09fe08 in _libc_kill () from /usr/lib/libc.so.1
> (gdb) bt
> #0 0xff09fe08 in _libc_kill () from /usr/lib/libc.so.1
> #1 0xff035a2c in abort () from /usr/lib/libc.so.1
> #2 0xff035cd0 in _assert () from /usr/lib/libc.so.1
> #3 0xff3411b0 in add_error_table (et=0x187b0) at error_message.c:309
> #4 0x000174d8 in pty_init () at init.c:31
> #5 0x00012c60 in main (argc=1, argv=0xffbef944) at krlogind.c:344
> (gdb) The program is running. Exit anyway? (y or n) y
> [root at localhost]/local/BuildArea/krb5/krb5-1.7/src#gdb appl/bsd/kshd
> GNU gdb 5.3
> Copyright 2002 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 "sparc-sun-solaris2.8"...
> (gdb) run
> Starting program: /local/BuildArea/krb5/krb5-1.7/src/appl/bsd/kshd
> Assertion failed: k5int_i->did_run != 0, file krb5_libinit.c, line 63
>
> Program received signal SIGABRT, Aborted.
> 0xff09fe08 in _libc_kill () from /usr/lib/libc.so.1
> (gdb) bt
> #0 0xff09fe08 in _libc_kill () from /usr/lib/libc.so.1
> #1 0xff035a2c in abort () from /usr/lib/libc.so.1
> #2 0xff035cd0 in _assert () from /usr/lib/libc.so.1
> #3 0xff29716c in krb5int_initialize_library () at krb5_libinit.c:63
> #4 0xff2c96b4 in init_common (context=0x130854, secure=0, kdc=0) at
> init_ctx.c:134
> #5 0x000128f0 in main (argc=1, argv=0xffbef94c) at krshd.c:280
> (gdb) The program is running. Exit anyway? (y or n) y
> ________________________________________________
> Kerberos mailing list Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
More information about the Kerberos
mailing list