|From:||Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>|
|Subject:||Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables|
|Views:||Raw Message | Whole Thread | Download mbox | Resend email|
=?utf-8?q?PG_Bug_reporting_form?= <noreply(at)postgresql(dot)org> writes:
> One of the postgres processes in our production environment crashed with the
> following backtrace:
> (gdb) bt
> #0 thrkill () at -:3
> #1 0x000004a14ca47fbe in _libc_abort () at
> #2 0x000004a14c9fd029 in wrterror (d=Variable "d" is not available.
> ) at /usr/src/lib/libc/stdlib/malloc.c:288
> #3 0x000004a14c9fd34f in ofree (argpool=Variable "argpool" is not
> ) at /usr/src/lib/libc/stdlib/malloc.c:1298
> #4 0x000004a14c9fd109 in free (ptr=0x4a115aec398) at
> #5 0x000004a09a7301e8 in pg_fe_scram_free () from
> #6 0x000004a09a73561f in pqPacketSend () from
> #7 0x000004a09a731507 in PQfinish () from /usr/local/lib/libpq.so.6.10
> #8 0x000004a074dc5549 in GetConnection () from
Hmm. Unfortunately, I don't think I believe this backtrace. For one
thing, there's no direct pathway from pqPacketSend to pg_fe_scram_free.
Also, if we ignore that and figure that somehow pg_fe_scram_free is
doing a duplicate free, it's still really hard to see how that would
Given that you didn't have debug symbols installed, it's not very
surprising for the trace to be misleading. Probably, what we're seeing
here is the nearest exported functions' names rather than where control
> If necessary I can build a debug version of PostgreSQL and try using that in
> production so I can get a better backtrace if it crashes again.
Please. I don't doubt that there's an issue here, but we're going to
need a higher-quality fix on where it is before we can do much.
regards, tom lane
|Next Message||Peter Eisentraut||2018-09-06 21:49:56||Re: BUG #15358: PostgreSQL fails to build on 10.14 when Perl is enabled.|
|Previous Message||PG Bug reporting form||2018-09-06 20:35:39||BUG #15367: Crash in pg_fe_scram_free when using foreign tables|