Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dwu7s-0007Mp-Ga for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Sep 2017 17:58:32 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dwu7s-0002JW-3J for pgsql-hackers@arkaria.postgresql.org; Tue, 26 Sep 2017 17:58:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dwtzc-0004xp-UX for pgsql-hackers@postgresql.org; Tue, 26 Sep 2017 17:50:01 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dwtzZ-0002Vo-NJ for pgsql-hackers@postgresql.org; Tue, 26 Sep 2017 17:49:59 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v8QHnqsO030995; Tue, 26 Sep 2017 13:49:53 -0400 From: Tom Lane To: Thomas Munro cc: Robert Haas , Andres Freund , amul sul , PostgreSQL-development Subject: Re: Server crash due to SIGBUS(Bus Error) when trying to access the memory created using dsm_create(). In-reply-to: References: <25838.1471010881@sss.pgh.pa.us> <20170628230458.n5ehizmvhoerr5yq@alap3.anarazel.de> <26247.1506349378@sss.pgh.pa.us> <488.1506364109@sss.pgh.pa.us> ! <2034.1506365794@sss.pgh.pa.us> <11339.1506370389@sss.pgh.pa.us> <1874.1506373953@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Tue, 26 Sep 2017 10:34:50 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30993.1506448192.1@sss.pgh.pa.us> Date: Tue, 26 Sep 2017 13:49:52 -0400 Message-ID: <30994.1506448192@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Thomas Munro 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