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

From Tom Lane
Subject Re: BUG #5121: Segmentation Fault when using pam w/ krb5
Date
Msg-id 8134.1255712529@sss.pgh.pa.us
Whole thread Raw
In response to BUG #5121: Segmentation Fault when using pam w/ krb5  ("Ryan Douglas" <rdouglas@arbinet.com>)
List pgsql-bugs
"Douglas, Ryan" <RDouglas@arbinet.com> writes:
> Any tips on using gdb to step through the code?

If you set pre_auth_delay to 30s or so in postgresql.conf, it'll
slow things down enough so that you can get the backend's PID from
"ps" and then attach to it with gdb.  Then set a breakpoint at
pam_passwd_conv_proc, continue, and away you go.

You'll definitely want a debug-enabled postgres executable, though,
which you did not seem to have before.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #5122: Subqueries - inner select statement bug
Next
From: Tom Lane
Date:
Subject: Re: BUG #5123: bug in window function "last_value"