[OpenAFS] RHEL4 x86_64 1.4.0-rc5 RPM install aklog segfault
Thu, 26 Jan 2006 13:02:58 -0500
>For the record, the most recent candidate (1.4.1rc5) still has this problem.
>By accident I found out that if I compile the aklog rpm (openafs-krb5)
>with my locally built gcc 4.0.2 I don't get the segfault. If I compile
>aklog with RH's gcc 3.4.4 (required for the kernel module to work) it
>Ticket #23845 has been updated with another backtrace as well as this
>little morsel of information.
The traditional reason this would happen was because we were using
a bare NULL without the appropriate cast to (void *) when we were
calling krb5_build_principal() (which is a varargs function). But
that got fixed ... the trailing NULL is now cast to (void *) properly
when aklog calls krb5_build_principal().
I suspect the only way for you to debug this is to compile with full
debugging symbols for both aklog and the Kerberos library.