Re: BUG #5121: Segmentation Fault when using pam w/ krb5

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Douglas, Ryan" <RDouglas(at)arbinet(dot)com>
Cc: pgsql-bugs(at)postgreSQL(dot)org
Subject: Re: BUG #5121: Segmentation Fault when using pam w/ krb5
Date: 2009-10-16 17:02:09
Message-ID: 8134.1255712529@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Douglas, Ryan" <RDouglas(at)arbinet(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2009-10-16 17:28:57 Re: BUG #5123: bug in window function "last_value"
Previous Message Alvaro Herrera 2009-10-16 16:47:35 Re: BUG #5122: Subqueries - inner select statement bug