Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbLCp-00BlNp-VC for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Aug 2023 13:25:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qbLCo-00H6A6-H7 for pgsql-bugs@arkaria.postgresql.org; Wed, 30 Aug 2023 13:25:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbLCo-00H69u-7s for pgsql-bugs@lists.postgresql.org; Wed, 30 Aug 2023 13:25:58 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qbLCk-001wLf-9b for pgsql-bugs@lists.postgresql.org; Wed, 30 Aug 2023 13:25:57 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 37UDPpov169802; Wed, 30 Aug 2023 09:25:51 -0400 From: Tom Lane To: wobbet@wobbet.com, Robert Sanford cc: pgsql-bugs@lists.postgresql.org Subject: Re: BUG #18076: Consistently receiving Signal 7 and Signal 11 errors In-reply-to: References: <18076-acf41deb61815178@postgresql.org> Comments: In-reply-to Robert Sanford message dated "Tue, 29 Aug 2023 16:37:13 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <169800.1693401951.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Wed, 30 Aug 2023 09:25:51 -0400 Message-ID: <169801.1693401951@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Sanford writes: > Using the Azure VM monitor I see that available memory has not ever gone > below 50% so work_mem may not be the issue. There was never any reason to think that. >> 2023-08-29 01:50:57.225 UTC [432307] LOG: server process (PID 433701) = was >> terminated by signal 7: Bus error The usual cause of SIGBUS is a misaligned memory access on hardware that's picky about that. (Intel chips aren't, so that it's often possible for such bugs to slip through developer testing. But your ARM system might be.) Unfortunately, there's about zero chance of locating the bug from the information you've provided. What'd be helpful is to capture stack traces from a few of the failed processes. See https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_= backend for directions. Please try to get traces from both the SIG7 and SIG11 cases, as it's not very clear whether they have the same root. regards, tom lane