From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: Mikael Kjellström <mikael.kjellstrom@gmail.com>
Subject: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
Date: Wed, 27 Apr 2016 16:02:59 -0300
Message-ID: <20160427190259.GA42596@alvherre.pgsql> (raw)
In-Reply-To: <CA+TgmoYyxZQSqVvn-DsC79U9g2L1Omi2EDiMVFvoCfoe6yL=cQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Robert Haas wrote:
> That looks like malloc() returned NULL. I noticed when writing that
> patch that isolationtester has never had any checks for malloc
> returning NULL, which is bad, and probably worth fixing, but I didn't
> choose to stop and fix it at that time.
I didn't actually check closely but I wondered whether the pointer
arithmetic is actually correct. Note that the memcpy length is zero.
I doubt malloc returning null is the problem; how could it happen
exactly at the same spot every time the suite has run?
> I don't know off-hand why you see that problem starting at this commit
> and not before, or why it doesn't show up on other machines.
Perhaps it's only a problem for OpenBSD's libc and not for glibc which
is the most common. The only other openbsd machine in buildfarm doesn't
run the isolation tests.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@2ndquadrant.com, robertmhaas@gmail.com, pgsql-hackers@postgresql.org, mikael.kjellstrom@gmail.com
Subject: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
In-Reply-To: <20160427190259.GA42596@alvherre.pgsql>
References: <CA+TgmoYyxZQSqVvn-DsC79U9g2L1Omi2EDiMVFvoCfoe6yL=cQ@mail.gmail.com> <20160427190259.GA42596@alvherre.pgsql>
* 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