From: | Kurt Roeckx <Q(at)ping(dot)be> |
---|---|
To: | Reinhard Max <max(at)suse(dot)de> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: segfault caused by heimdal (was: SUSE port) |
Date: | 2005-01-12 19:28:39 |
Message-ID: | 20050112192839.GA12848@ping.be |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-announce pgsql-hackers pgsql-patches |
On Wed, Jan 12, 2005 at 07:36:52PM +0100, Reinhard Max wrote:
>
> The problem is, that the heimdal implementation of kerberos5 used on
> sles8 needs an extra include statement for com_err.h in
> src/interfaces/libpq/fe-auth.c to get the prototype for
> error_message(), while on newer SUSE-releases using the MIT Kerberos5
> implementation this prototype is provided by krb5.h itself.
[...]
> I am still not sure why the crash only happened on x86_64.
This is because the proper prototype is:
extern char const *error_message (long);
And C automaticly generates a prototype with in int instead.
On 32 bit platforms this ussualy isn't a problem since both int
and long are ussualy both 32 bit, but on x86_64 a long is 64 bit
while an int is only 32.
Kurt
From | Date | Subject | |
---|---|---|---|
Next Message | Reinhard Max | 2005-01-12 19:34:40 | Re: segfault caused by heimdal (was: SUSE port) |
Previous Message | Greg Stark | 2005-01-12 19:23:44 | Re: Much Ado About COUNT(*) |
From | Date | Subject | |
---|---|---|---|
Next Message | Reinhard Max | 2005-01-12 19:34:40 | Re: segfault caused by heimdal (was: SUSE port) |
Previous Message | Greg Stark | 2005-01-12 19:23:44 | Re: Much Ado About COUNT(*) |
From | Date | Subject | |
---|---|---|---|
Next Message | Reinhard Max | 2005-01-12 19:34:40 | Re: segfault caused by heimdal (was: SUSE port) |
Previous Message | Greg Stark | 2005-01-12 19:23:44 | Re: Much Ado About COUNT(*) |