Strange segmentation fault in libkrb5.so.3.3 (1.6.4-beta1)
rra at stanford.edu
Thu Jan 21 14:06:37 EST 2010
Dan Searle <dan.searle at censornet.com> writes:
> We have an application which uses pam_krb5.so to perform user auth,
> however sometimes it SEGV's in ld-linux, but ld-linux is invoked from
> within libkrb5.so.3.3, see this trace and gdb diagnostics:
Which pam_krb5 and what version?
You forgot to star out another copy of the password, btw, so you will want
to change that password.
> if (chpw_opts)
> krb5_get_init_creds_opt_free(context, chpw_opts);
> ^^^^^^^^^^^^^^^^^^^ Line 398 above ^^^^^^^^^^^^^^^^^^^^^^
I suspect a memory clobber and that you're getting a segfault in free()
that gdb isn't figuring out because you don't have enough debugging
symbols. Try running your application under valgrind and see if that
turns it up.
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
More information about the krbdev