Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create().

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>, Andres Freund <andres@anarazel.de>, amul sul <sul_amul@yahoo.co.in>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-09-25T16:13:27Z
Lists: pgsql-hackers
On Mon, Sep 25, 2017 at 10:22 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thomas Munro <thomas.munro@enterprisedb.com> writes:
>> So, do we want this patch?
>
> I think we don't really have a lot of choice.  I propose applying this
> as far back as 9.6 --- anyone think differently?

+1.  If applies to 9.5 and 9.4 without a lot of work, I think we
should apply it there as well, in case there is out-of-core use of DSM
(or, in 9.5, also of ParallelContext).

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Commits

  1. Fix failure-to-read-man-page in commit 899bd785c.

  2. Avoid SIGBUS on Linux when a DSM memory request overruns tmpfs.