Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: Jeremy Evans <code(at)jeremyevans(dot)net>, Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables
Date: 2018-09-08 23:59:45
Message-ID: 31648.1536451185@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk> writes:
> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> Tom> Hence we need to make sure that version-script filtering happens
> Tom> on every ELF-based platform, not just the most popular ones. I see
> Tom> that the FreeBSD and NetBSD stanzas in Makefile.shlib also have
> Tom> "ifdef ELF_SYSTEM" portions, so probably we need to put the
> Tom> version-script stuff into those too.

> I tested adding your patch into the FreeBSD stanza and it worked for me,
> FWIW. That was on a system which still has GNU ld, but I also tried a
> test program using ld.lld and the same option and version script file
> works.

Hm. So I can reproduce the crash on NetBSD as well as OpenBSD, using
the test method I showed before ... but *not* on FreeBSD 11.0 x86_64,
even though that's certainly an ELF system. So now I'm confused again.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-09-09 01:18:44 BUG #15374: Error al ejecutar el paso de post instalacion
Previous Message Andrew Gierth 2018-09-08 22:25:25 Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables