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 1lKom2-00015U-SF for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Mar 2021 20:52:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lKom0-0008PC-TR for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Mar 2021 20:52:40 +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 1lKom0-0008P5-H3 for pgsql-bugs@lists.postgresql.org; Fri, 12 Mar 2021 20:52:40 +0000 Received: from mail-qv1-xf29.google.com ([2607:f8b0:4864:20::f29]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lKoly-0006z2-6t for pgsql-bugs@lists.postgresql.org; Fri, 12 Mar 2021 20:52:40 +0000 Received: by mail-qv1-xf29.google.com with SMTP id t5so4939242qvs.5 for ; Fri, 12 Mar 2021 12:52:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pcorp-us.20150623.gappssmtp.com; s=20150623; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-transfer-encoding:thread-index :content-language; bh=dH8sarOblq68qIAr9CZ1zi81khG0cA512nN+wmOntpw=; b=YJ0vvt5mmqlG/B+oXXcNazJaX8TUfTYtc1iJ1/jnoEj0riEBNQIJ/979rsaf3FBoD4 +28LCx2JMGRACfAYnQyOtZUWYP0PCdg7pdGMbPeeldznz5LzMeX2NPZugoRY1ENcHyKZ OfWdEtzh7NJta5VTzfR3n6x20c8bw9xyziishKqVLfO5EKzQBKxH/4SOPisT9MLVRpnI C4qxIlMBejOuNFK+eO7LSvJD6VDrGqf1it88sbSCWjhqgKBlzwdfjROgFDQzyepEm3ii sUB4N7YbaOiqRhng1yOa8I6Ythcwi9Lbpof0IrPbLtb0euG5GiuTCZuNyAhYxUihp5Xy g9Wg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:references:in-reply-to:subject:date :message-id:mime-version:content-transfer-encoding:thread-index :content-language; bh=dH8sarOblq68qIAr9CZ1zi81khG0cA512nN+wmOntpw=; b=mWPeuxjvTDWbiP5rvUSzOtR2O0079Za/DUGsiiDfnYq1A17GAh81skYV1Cv1DVJJtf 0JUj4hXO3JUeyCBe652x4nkcXCCJ5dNZjoD0PX1OSe0PcN29ZOCP1ngXU41HLoDKmKok OHxFtcQZOPWEB7MESGOktnnUeDJPo34ry3E/9JZ0PLxuDEyY/rS4Il4ifExiZrdmUGZb dua1hQgmOUfjzEAkzmXBS94UGjo444PgBQ+LP6HRXWx/jF1CsXx6NgbpW0YZA/BtTxOT BKyDTp0EZ53MsnwFARdzt6BOxByfYtTKZleg5+fw3nmnYSjmDv4mRxQRevU9HZQIIsMe k24Q== X-Gm-Message-State: AOAM532aljYDy8bCEsjdWoAtMFQwO1leEFLCyv0ASWw30oQ5duJbtDL0 oNGwEdHLuZvHX1k9NcoMt0Xieg== X-Google-Smtp-Source: ABdhPJydmGqe/+bAWDuxWiz8h9os2rCmnrbibILczKXEVMAHUgfP76MRvC1T9D6eVL76/CNkaRzWrw== X-Received: by 2002:a0c:e385:: with SMTP id a5mr109773qvl.12.1615582356114; Fri, 12 Mar 2021 12:52:36 -0800 (PST) Received: from F (50-78-240-110-static.hfc.comcastbusiness.net. [50.78.240.110]) by smtp.gmail.com with ESMTPSA id z5sm4808503qtc.42.2021.03.12.12.52.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Mar 2021 12:52:35 -0800 (PST) From: "Regina Obe" To: "'Tom Lane'" Cc: =?iso-8859-1?Q?'Juan_Jos=E9_Santamar=EDa_Flecha'?= , "'PostgreSQL mailing lists'" 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> In-Reply-To: <2551612.1615579995@sss.pgh.pa.us> Subject: RE: BUG #16920: Can't compile PostGIS with MingW64 against PostgreSQL 14 head Date: Fri, 12 Mar 2021 15:52:33 -0500 Message-ID: <000201d71781$a0c5da20$e2518e60$@pcorp.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHCjUPo5BIH9fF+WOyrxdMuyoS6VgH0iV+7AYDFGVYDOnnBIgIGZ/mnAaaow74Bzev/wgGR2sHjAR4fNg6qMxFa4A== Content-Language: en-us List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > Counting the number of actual core dumps might provide some useful data > about whether things are better or worse. > > regards, tom lane Yah forgot about that. Okay the first core dump happens in the Copyselect test: -- this statement copy (select t into temp test3 from test1 where id=3) to stdout; 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=, filename@entry=0xa291a0 "copyto.c", lineno=lineno@entry=490, funcname=funcname@entry=0xa29980 <__func__.112127> "BeginCopyTo") at elog.c:589 #5 0x0000000000577f08 in BeginCopyTo (pstate=pstate@entry=0x7969920, rel=rel@entry=0x0, raw_query=raw_query@entry=0x7969a38, queryRelId=queryRelId@entry=0, filename=0x0, is_program=false, attnamelist=0x0, options=0x0) at copyto.c:488 #6 0x00000000005712f8 in DoCopy (pstate=0x7969920, stmt=0x79e13f8, stmt_location=0, stmt_len=63, processed=0x509ef38) at copy.c:306 #7 0x00000000007a4363 in standard_ProcessUtility (pstmt=0x79e14e0, queryString=0x79e0950 "copy (select t into temp test3 from test1 where id=3) to stdout;", context=PROCESS_UTILITY_TOPLEVEL, params=0x0, queryEnv=0x0, dest=0x79e17c0, qc=0x509f2d0) at utility.c:724 #8 0x00000000007a15e8 in PortalRunUtility (portal=0x79a84d0, pstmt=0x79e14e0, isTopLevel=, setHoldSnapshot=, dest=0x79e17c0, qc=0x509f2d0) at pquery.c:1159 #9 0x00000000007a213a in PortalRunMulti (portal=0x79a84d0, portal@entry=0x7fffffff, isTopLevel=true, isTopLevel@entry=false, setHoldSnapshot=setHoldSnapshot@entry=false, dest=dest@entry=0x79e17c0, altdest=0x79e17c0, altdest@entry=0x509f2d0, qc=0x509f2d0, qc@entry=0x935b00 ) at pquery.c:1305 #10 0x00000000007a2feb in PortalRun (portal=0x7fffffff, portal@entry=0x79a84d0, count=0, count@entry=2147483647, isTopLevel=isTopLevel@entry=true, run_once=run_once@entry=true, dest=dest@entry=0x79e17c0, altdest=altdest@entry=0x79e17c0, qc=qc@entry=0x509f2d0) at pquery.c:779 #11 0x000000000079e72b in exec_simple_query ( query_string=0x79e0950 "copy (select t into temp test3 from test1 where id=3) to stdout;") at postgres.c:1173 #12 0x000000000079fec0 in PostgresMain (argc=argc@entry=1, argv=argv@entry=0x509f980, dbname=, username=) at postgres.c:4327 #13 0x0000000000708858 in BackendRun (port=0x509f7c0, port=0x509f7c0) at postmaster.c:4464 #14 SubPostmasterMain (argc=argc@entry=3, argv=argv@entry=0x1f6ae0) at postmaster.c:4977 #15 0x000000000093db93 in main (argc=3, argv=0x1f6ae0) at main.c:186 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 error. Thanks, Regina