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 1i2Qbg-0000iW-QK for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Aug 2019 01:49:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i2Qah-0007au-0T for pgsql-hackers@arkaria.postgresql.org; Tue, 27 Aug 2019 01:48:11 +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 1i2Qag-0007an-OJ for pgsql-hackers@lists.postgresql.org; Tue, 27 Aug 2019 01:48:10 +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 1i2Qac-0001s0-Ia for pgsql-hackers@postgresql.org; Tue, 27 Aug 2019 01:48:09 +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 x7R1m1Qc003068; Mon, 26 Aug 2019 21:48:01 -0400 From: Tom Lane To: Thomas Munro cc: pgsql-hackers Subject: Re: gharial segfaulting on REL_12_STABLE only In-reply-to: References: Comments: In-reply-to Thomas Munro message dated "Tue, 27 Aug 2019 12:51:43 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3066.1566870481.1@sss.pgh.pa.us> Date: Mon, 26 Aug 2019 21:48:01 -0400 Message-ID: <3067.1566870481@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Munro writes: > This is apparently an EDB-owned machine but I have no access to it > currently (I could ask if necessary). For some reason it's been > failing for a week, but only on REL_12_STABLE, with this in the log: Yeah, I've been puzzling over that to little avail. > It's hard to see how cdc8d371e2, the only non-doc commit listed on the > first failure, could have anything to do with that. Exactly :-(. It seems completely reproducible since then, but how could that have triggered a failure over here? And why only in this branch? The identical patch went into HEAD. > 2019-08-20 04:31:48.886 MDT [13421:4] LOG: server process (PID 13871) > was terminated by signal 11: unrecognized signal > 2019-08-20 04:31:48.886 MDT [13421:5] DETAIL: Failed process was > running: SET default_table_access_method = ''; > Apparently HPUX's sys_siglist doesn't recognise that most popular of > signals, 11, but by googling I see that it has its traditional meaning > there. HPUX hasn't *got* sys_siglist, nor strsignal() which is what we're actually relying on these days (cf. pgstrsignal.c). I was puzzled by that too to start with, though. I wonder if we shouldn't rearrange pg_strsignal so that the message in the !HAVE_STRSIGNAL case is something like "signal names not available on this platform" rather than something that looks like we should've recognized it and didn't. > 2019-08-20 04:31:22.422 MDT [13871:34] pg_regress/create_am LOG: > statement: SET default_table_access_method = ''; > Perhaps it was really running the next statement. Hard to see how, because this should have reported ERROR: invalid value for parameter "default_table_access_method": "" DETAIL: default_table_access_method cannot be empty. but it didn't get that far. It seems like it must have died either in the (utterly trivial) check that leads to the above-quoted complaint, or somewhere in the ereport mechanism. Neither theory seems very credible. The seeming action-at-a-distance nature of the failure has me speculating about compiler or linker bugs, but I dislike jumping to that type of conclusion without hard evidence. A stack trace would likely be really useful right about now. regards, tom lane