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 1iGOwq-0002tq-Pl for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 14:52:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1iGOwo-0007WD-5T for pgsql-general@arkaria.postgresql.org; Fri, 04 Oct 2019 14:52:46 +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 1iGOvQ-00036r-NB for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 14:51:20 +0000 Received: from mail.i-mark.de ([188.138.104.222]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1iGOvK-0008Pz-8l for pgsql-general@lists.postgresql.org; Fri, 04 Oct 2019 14:51:20 +0000 Received: from [192.168.178.20] (unknown [185.38.49.17]) by mail.i-mark.de (Postfix) with ESMTPSA id EEB8B1580542 for ; Fri, 4 Oct 2019 16:51:08 +0200 (CEST) Authentication-Results: loft7616.startdedicated.de; spf=pass (sender IP is 185.38.49.17) smtp.mailfrom=andreas@a-kretschmer.de smtp.helo=[192.168.178.20] Received-SPF: pass (loft7616.startdedicated.de: connection is authenticated) Subject: Re: Postgres 12: backend crashes when creating non-deterministic collation To: pgsql-general@lists.postgresql.org References: <58edf560-f277-8993-abe3-22d57dc11c50@gmx.net> From: Andreas Kretschmer Message-ID: <413eedca-b605-7bef-cf24-a2dbfba90489@a-kretschmer.de> Date: Fri, 4 Oct 2019 16:51:11 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <58edf560-f277-8993-abe3-22d57dc11c50@gmx.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Am 04.10.19 um 12:13 schrieb Thomas Kellerer: > I was trying to learn how the new non-deterministic collations in v12 > work, but the following makes the backend crash: > > CREATE COLLATION de_ci (provider = icu, locale = 'de-x-icu', > deterministic = false); > > Which leads to: > > 2019-10-04 11:54:23 CEST   LOG:  server process (PID 7540) was > terminated by exception 0xC0000005 > 2019-10-04 11:54:23 CEST   DETAIL:  Failed process was running: >     CREATE COLLATION de_ci (provider = icu, locale = 'de-x-icu', > deterministic = false) > 2019-10-04 11:54:23 CEST   HINT:  See C include file "ntstatus.h" for > a description of the hexadecimal value. > 2019-10-04 11:54:23 CEST   LOG:  terminating any other active server > processes > 2019-10-04 11:54:23 CEST   WARNING:  terminating connection because of > crash of another server process > 2019-10-04 11:54:23 CEST   DETAIL:  The postmaster has commanded this > server process to roll back the current transaction and exit, because > another server process exited abnormally and possibly corrupted shared > memory. > > This is on Windows 10 with the Postgres 12 binaries from EDB. > Exact Postgres version is: PostgreSQL 12.0, compiled by Visual C++ > build 1914, 64-bit > The database was pg_upgraded if that makes any difference > > works for me, with: psql (12rc1 (Ubuntu 12~rc1-1.pgdg18.04+1)) Type "help" for help. test=# CREATE COLLATION de_ci (provider = icu, locale = 'de-x-icu', deterministic = false); CREATE COLLATION test=*# commit; COMMIT test=# Regards, Andreas -- 2ndQuadrant - The PostgreSQL Support Company. www.2ndQuadrant.com