Re: BUG #5121: Segmentation Fault when using pam w/ krb5 - Mailing list pgsql-bugs

From Heikki Linnakangas
Subject Re: BUG #5121: Segmentation Fault when using pam w/ krb5
Date
Msg-id 4AD79298.5030107@enterprisedb.com
Whole thread Raw
In response to BUG #5121: Segmentation Fault when using pam w/ krb5  ("Ryan Douglas" <rdouglas@arbinet.com>)
Responses Re: BUG #5121: Segmentation Fault when using pam w/ krb5
List pgsql-bugs
Ryan Douglas wrote:
> The following bug has been logged online:
>
> Bug reference:      5121
> Logged by:          Ryan Douglas
> Email address:      rdouglas@arbinet.com
> PostgreSQL version: 8.4.1
> Operating system:   Fedora 11
> Description:        Segmentation Fault when using pam w/ krb5
> Details:
>
> Whenever I use psql to remotely connect to the database the server crashes
> (see log below). If I use psql with the '-W' option then it's fine.
>
> I also tested with pam_tacplus.so and in both cases the db didn't crash. It
> just complained about not having credentials to authenticate when the -W
> option is not used.
>
> I can reproduce at will so let me know if you need more information.

Can you get a stack trace with gdb? Something along the lines of:

ulimit -c unlimited
(start postmaster)
(reproduce the crash)
gdb /usr/bin/postgres $PGDATA/core
bt

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5121: Segmentation Fault when using pam w/ krb5
Next
From: Tom Lane
Date:
Subject: Re: BUG #5120: Performance difference between running a query with named cursor and straight SELECT