pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: OK, so culicidae is *still* broken
Date: Sat, 15 Apr 2017 17:34:06 -0400
Message-ID: <4180.1492292046@sss.pgh.pa.us> (raw )
In-Reply-To: <20170415213017.co7gkjlbcy44zlmw@alap3.anarazel.de >
References: <7036.1492231361@sss.pgh.pa.us >
<18D5D7AF-C587-4B63-B2CF-13590849A624@anarazel.de >
<32559.1492278226@sss.pgh.pa.us >
<1842.1492289285@sss.pgh.pa.us >
<20170415210643.cdapwhwmbiwaqd6e@alap3.anarazel.de >
<2829.1492290578@sss.pgh.pa.us >
<20170415211810.vsing3muvqfcswqx@alap3.anarazel.de >
<3667.1492291494@sss.pgh.pa.us >
<20170415213017.co7gkjlbcy44zlmw@alap3.anarazel.de >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andres Freund <andres@anarazel.de> writes:
> On 2017-04-15 17:24:54 -0400, Tom Lane wrote:
>> I wonder whether we could work around that by just destroying the created
>> process and trying again if we get a collision. It'd be a tad
>> inefficient, but hopefully collisions wouldn't happen often enough to be a
>> big problem.
> That might work, although it's obviously not pretty. We could also just
> default to some out-of-the-way address for MapViewOfFileEx, that might
> also work.
Could be. Does Microsoft publish any documentation about the range of
addresses their ASLR uses?
Obviously, any such fix would be a lot more likely to be reliable in
64-bit machines. There's probably not enough daylight to be sure of
making it work in 32-bit Windows, so I suspect we'd need some retry
logic anyway for that case.
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (35+ messages) latest in thread
Message-ID: <4180.1492292046@sss.pgh.pa.us>
Permalink: ../4180.1492292046@sss.pgh.pa.us/
Also on: postgresql.org/message-id/4180.1492292046@sss.pgh.pa.us
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de
Subject: Re: OK, so culicidae is *still* broken
In-Reply-To: <4180.1492292046@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox