Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKpdi-0003C4-GI for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Mar 2021 21:48:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lKpdg-000221-HH for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Mar 2021 21:48:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKpdg-00020p-As for pgsql-bugs@lists.postgresql.org; Fri, 12 Mar 2021 21:48:08 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKpdZ-0007QP-Ls for pgsql-bugs@lists.postgresql.org; Fri, 12 Mar 2021 21:48:07 +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 12CLlxZJ2555585; Fri, 12 Mar 2021 16:47:59 -0500 From: Tom Lane To: "Regina Obe" cc: "=?iso-8859-1?Q?'Juan_Jos=E9_Santamar=EDa_Flecha'?=" , "'PostgreSQL mailing lists'" Subject: Re: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head In-reply-to: <000201d71781$a0c5da20$e2518e60$@pcorp.us> References: <16920-2332590daf58407c@postgresql.org> <2291040.1615474929@sss.pgh.pa.us> <000501d71691$c616a200$5243e600$@pcorp.us> <2294904.1615480631@sss.pgh.pa.us> <000401d716a0$1ed0fc70$5c72f550$@pcorp.us> <2309396.1615485820@sss.pgh.pa.us> <004301d71772$f3336020$d99a2060$@pcorp.us> <2551612.1615579995@sss.pgh.pa.us> <000201d71781$a0c5da20$e2518e60$@pcorp.us> Comments: In-reply-to "Regina Obe" message dated "Fri, 12 Mar 2021 15:52:33 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2555583.1615585679.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 12 Mar 2021 16:47:59 -0500 Message-ID: <2555584.1615585679@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Regina Obe" writes: > The backtrace of that looks like this: > #0 0x00007ffe76032136 in ntdll!RtlRaiseStatus () > from C:\WINDOWS\SYSTEM32\ntdll.dll > #1 0x00007ffe75f60bb3 in ntdll!RtlUnwindEx () > from C:\WINDOWS\SYSTEM32\ntdll.dll > #2 0x00007ffe74002eed in msvcrt!_setjmpex () > from C:\WINDOWS\System32\msvcrt.dll > #3 0x00000000008da31a in pg_re_throw () at elog.c:1776 > #4 0x00000000008da19d in errfinish (filename=3D, > filename@entry=3D0xa291a0 "copyto.c", > lineno=3Dlineno@entry=3D490, > funcname=3Dfuncname@entry=3D0xa29980 <__func__.112127> "BeginCopyTo"= ) > at elog.c:589 ... > I'll go thru the other tests to see which ones are crashes and provide a= bt > of those too if you find it useful. > Anyway at a glance they all seem to be on tests designed to throw an err= or. It does look suspiciously like something is broken in our attempt to longjmp back to the server's outermost loop. We had a similar report last fall, also about MinGW: https://www.postgresql.org/message-id/flat/CA%2BBEBhvHhM-Bn628pf-LsjqRh3An= g7qCSBG0Ga%2B7KwhGqrNUPw%40mail.gmail.com and I don't think we ever figured out what was happening there either. (FWIW, walleye's owners report that the failure goes away when they change their compiler options to more debug-friendly settings. Hmm.) regards, tom lane