Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goKDr-0000qx-D3 for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jan 2019 03:38:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1goKDq-000506-79 for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Jan 2019 03:38:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goKDp-0004zz-W5 for pgsql-hackers@lists.postgresql.org; Tue, 29 Jan 2019 03:38:02 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1goKDn-00070i-G6 for pgsql-hackers@postgresql.org; Tue, 29 Jan 2019 03:38:01 +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 x0T3brt3023363; Mon, 28 Jan 2019 22:37:53 -0500 From: Tom Lane To: Andres Freund cc: Robert Haas , "pgsql-hackers@postgresql.org" , Amit Kapila , "hange-folder>?" Subject: Re: Why are we PageInit'ing buffers in RelationAddExtraBlocks()? In-reply-to: <20190129032336.ghujzbfgda2za6po@alap3.anarazel.de> References: <20181220005636.cowkudhiu666mhdi@alap3.anarazel.de> <20181220230411.zzwioucrg7d3ld2m@alap3.anarazel.de> <20190115204428.kpqmk3ix6cenr7gi@alap3.anarazel.de> <11587.1547591721@sss.pgh.pa.us> <20190128213346.ie6zbwiddgnfd37l@alap3.anarazel.de> <20190128221055.nddkrusu3u5263qo@alap3.anarazel.de> <20190128222259.zhi7ovzgtkft6em6@alap3.anarazel.de> <26263.1548716939@sss.pgh.pa.us> <20190128234933.ioateictsk3qmsuf@alap3.anarazel.de> <20190129004036.c2cf3fxoescf2rvf@alap3.anarazel.de> <20190129032336.ghujzbfgda2za6po@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 28 Jan 2019 19:23:36 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <23361.1548733073.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 28 Jan 2019 22:37:53 -0500 Message-ID: <23362.1548733073@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > I did that now. I couldn't reproduce it locally, despite a lot of > runs. Looking at the buildfarm it looks like the failures were, > excluding handfish which failed without recognizable symptoms before and > after, on BSD derived platforms (netbsd, freebsd, OX), which certainly > is interesting. Isn't it now. Something about the BSD scheduler perhaps? But we've got four or five different BSD-ish platforms that reported failures, and it's hard to believe they've all got identical schedulers. That second handfish failure does match the symptoms elsewhere: https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dhandfish&dt=3D20= 19-01-29%2000%3A20%3A22 --- /home/filiperosset/dev/client-code-REL_8/HEAD/pgsql.build/src/interfac= es/ecpg/test/expected/thread-thread.stderr 2018-10-30 20:11:45.551967381 -= 0300 +++ /home/filiperosset/dev/client-code-REL_8/HEAD/pgsql.build/src/interfac= es/ecpg/test/results/thread-thread.stderr 2019-01-28 22:38:20.614211568 -0= 200 @@ -0,0 +1,20 @@ +SQL error: page 0 of relation "test_thread" should be empty but is not on= line 125 so it's not quite 100% BSD, but certainly the failure rate on BSD is way higher than elsewhere. Puzzling. regards, tom lane