Strange segmentation fault in (1.6.4-beta1)

Russ Allbery rra at
Thu Jan 21 14:06:37 EST 2010

Dan Searle <dan.searle at> writes:

> We have an application which uses to perform user auth,
> however sometimes it SEGV's in ld-linux, but ld-linux is invoked from
> within, 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             <>

More information about the krbdev mailing list