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 1iGRV6-0008LI-Pb for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 17:36:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iGRV4-0004OW-ER for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 17:36:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGRV4-0004OD-1j for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 17:36:18 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iGRUx-0004Yt-6x for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 17:36:16 +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 x94Ha348018483; Fri, 4 Oct 2019 13:36:03 -0400 From: Tom Lane To: Thomas Kellerer cc: pgsql-general@lists.postgresql.org Subject: Re: Postgres 12: backend crashes when creating non-deterministic collation In-reply-to: <496d275e-3891-6537-406a-a1573af21ac4@gmx.net> References: <58edf560-f277-8993-abe3-22d57dc11c50@gmx.net> <9ad3c92eb92c39c1256f151ff553110f9928fadf.camel@cybertec.at> <11643.1570200758@sss.pgh.pa.us> <496d275e-3891-6537-406a-a1573af21ac4@gmx.net> Comments: In-reply-to Thomas Kellerer message dated "Fri, 04 Oct 2019 19:22:27 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <18481.1570210563.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 04 Oct 2019 13:36:03 -0400 Message-ID: <18482.1570210563@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thomas Kellerer writes: > Tom Lane schrieb am 04.10.2019 um 16:52: >> No, this thread is a sufficient report. What *would* be a good use >> of time is to get a stack trace from the crash, if you can. > I don't know if I did everything correctly, but here it is. I hope it he= lps >> icuuc53.dll!0000000064964a80() Unbekannt > icuuc53.dll!0000000064964c2d() Unbekannt > icuuc53.dll!0000000064966328() Unbekannt > icuuc53.dll!0000000064965469() Unbekannt > icuuc53.dll!000000006495ef28() Unbekannt > icuuc53.dll!0000000064961501() Unbekannt > icuuc53.dll!000000006495b330() Unbekannt > icuuc53.dll!0000000064959b9e() Unbekannt > icuin53.dll!0000000064a8bd92() Unbekannt > postgres.exe!get_collation_actual_version(char collprovider, const ch= ar * collcollate) Zeile 1533 C > postgres.exe!DefineCollation(ParseState * pstate, List * names, List = * parameters, bool if_not_exists) Zeile 218 C > postgres.exe!ProcessUtilitySlow(ParseState * pstate, PlannedStmt * ps= tmt, const char * queryString, ProcessUtilityContext context, ParamListInf= oData * params, QueryEnvironment * queryEnv, _DestReceiver * dest, char * = completionTag) Zeile 1292 C > postgres.exe!standard_ProcessUtility(PlannedStmt * pstmt, const char = * queryString, ProcessUtilityContext context, ParamListInfoData * params, = QueryEnvironment * queryEnv, _DestReceiver * dest, char * completionTag) Z= eile 933 C Hm. This trace says that the crash happened somewhere down inside ICU itself, during the ucol_open() call in get_collation_actual_version(). There isn't much we could have done to mess up the arguments to that function. That would seem to mean that it's ICU's bug not ours. Maybe another reason not to be using such an old ICU version :-(. regards, tom lane