pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Tom Lane <tgl@sss.pgh.pa.us>
To: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: amul sul <sul_amul@yahoo.co.in>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Subject: Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create().
Date: Tue, 26 Sep 2017 13:49:52 -0400
Message-ID: <30994.1506448192@sss.pgh.pa.us> (raw )
In-Reply-To: <CAEepm=3mdh7bHARBFFqPrMsJR+sC4WnWn+Xf9Fr-c_K7+J3XUA@mail.gmail.com >
References: <25838.1471010881@sss.pgh.pa.us >
<CAEepm=24jFz-Bm6awX-U=qfvcxrbQVS1ZU6uUry07r=aGyePgg@mail.gmail.com >
<CAEepm=1ySPpiPG8hyy98vTGbvi6uXvavsy-zahevkM=tTRUDSQ@mail.gmail.com >
<CA+TgmoagA8KGfUZzQs8xMTt2rqjw1Ko+vJQV05R=qZz2a98OGQ@mail.gmail.com >
<CAEepm=0euOKPaYWz0-gFv9xfG+8ptAjhFjiQEX0CCJaYN--sDQ@mail.gmail.com >
<CA+TgmoYw296PTpQ+iFqcqWECR5x9QW-TE+Rd5Lv9=p0XCxZvOA@mail.gmail.com >
<CAEepm=27q=VLg5Mh76a1NfzK=9Xi1jnrpYm5VQNbQQJomwhU4A@mail.gmail.com >
<CA+TgmoY=jMECqMz=RKG3=x=kvMZrf008Ggc4mYNyajqbVkMW4w@mail.gmail.com >
<CAEepm=3KjgWXAqseQOXxpz4DtkZJ9U5Zcx9hU8iFrVtm5mwFKg@mail.gmail.com >
<CAEepm=2GAgjcnLGCHOCVTD04eVR+rP+8_-6Z4c391-AFo1sL7g@mail.gmail.com >
<20170628230458.n5ehizmvhoerr5yq@alap3.anarazel.de >
<CAEepm=00bvrcNGaHWv7=9F_SE9YKfW1_DuFbAjFh41ycg8mLxw@mail.gmail.com >
<CAEepm=37ptJz+epr6+iW+O1wCCAxeT04r27Uc8rXmJBoFT2ExA@mail.gmail.com >
<CAEepm=3b+Wu81XgseDcc_a6JUC6_JCgyj41LGWfY1qto3gE1KA@mail.gmail.com >
<26247.1506349378@sss.pgh.pa.us >
<488.1506364109@sss.pgh.pa.us >
<2034.1506365794@sss.pgh.pa.us >
<11339.1506370389@sss.pgh.pa.us >
<CAEepm=1-8tHvaqXjzqJT4=1qaqU+tVOFfpOtPL-Ee7tKY-VrSg@mail.gmail.com >
<CAEepm=3uQhv_wo0MfkDbWc4NTRXS2ddRPA6PgViPzP_B18wVnA@mail.gmail.com >
<CAEepm=2Z+UrtAApqOaBbzko8oxcb8NBmx+2JnLnWGRVbzZAsXQ@mail.gmail.com >
<1874.1506373953@sss.pgh.pa.us >
<CAEepm=3mdh7bHARBFFqPrMsJR+sC4WnWn+Xf9Fr-c_K7+J3XUA@mail.gmail.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Thomas Munro <thomas.munro@enterprisedb.com> writes:
> See attached, which also removes the ENOSYS stuff which I believe to
> be now useless. Does this make sense? Survives make check-world and
> my simple test procedure on a 3.10.0-327.36.1.el7.x86_64 system.
Thanks. Works on my RHEL6 box too, so pushed.
This certainly explains the "could not resize ...: Success" oddity
we see in the buildfarm. It's not so clear why those critters are
failing in the first place. I hope that what is happening is that
they are getting EINTR results and failing to retry. (Although
my RHEL6 man page doesn't mention EINTR as a possible failure,
I see that's been corrected in later editions.) If not, we should
at least get a better fix on the nature of the failure with this
patch. Awaiting buildfarm results ...
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 (31+ messages)
Message-ID: <30994.1506448192@sss.pgh.pa.us>
Permalink: ../30994.1506448192@sss.pgh.pa.us/
Also on: postgresql.org/message-id/30994.1506448192@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, thomas.munro@enterprisedb.com, robertmhaas@gmail.com, andres@anarazel.de, sul_amul@yahoo.co.in
Subject: Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create().
In-Reply-To: <30994.1506448192@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