Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables
Date
Msg-id 31648.1536451185@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables  (Andrew Gierth <andrew@tao11.riddles.org.uk>)
Responses Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Andrew Gierth <andrew@tao11.riddles.org.uk> writes:
> "Tom" == Tom Lane <tgl@sss.pgh.pa.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


pgsql-bugs by date:

Previous
From: Andrew Gierth
Date:
Subject: Re: BUG #15367: Crash in pg_fe_scram_free when using foreign tables
Next
From: PG Bug reporting form
Date:
Subject: BUG #15374: Error al ejecutar el paso de post instalacion