Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "Peter Geoghegan" <pg(at)bowt(dot)ie>
Cc: "PostgreSQL mailing lists" <pgsql-bugs(at)postgresql(dot)org>,"Peter Eisentraut" <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Subject: Re: Crash report for some ICU-52 (debian8) COLLATE and work_mem values
Date: 2017-08-04 09:55:28
Message-ID: 57860965-169f-461b-81f0-60d398894938@manitou-mail.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Peter Geoghegan wrote:

> It would be nice if you could confirm whether or not Valgrind
> complains when non-ICU collations are in use.

It doesn't (with en_US.utf8), and also doesn't complain
for certain ICU collations such as "fr-x-icu", one of
the 1595 that don't segfault with this data and work_mem
at 128MB (vs 146 that happen to segfault)

If someone wants to reproduce the problem, I've made
a custom dump (40MB) available at
http://www.manitou-mail.org/vrac/words_test.dump

query: select count(distinct wordtext collate "bs-x-icu") from words_test;

work_mem: 128MB or less, shared_buffers: 128MB

OS: debian 8 x86_64

ICU: 52.1, upstream or deb8

locale environment from which initdb was called:
$ locale -a
C
C.UTF-8
de_DE.utf8
en_US.utf8
français
french
fr_FR
fr_FR.iso88591
fr_FR.utf8
pl_PL
pl_PL.iso88592
polish
POSIX

Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Nicolas Barbier 2017-08-04 12:38:06 \copy produces CSV output that cannot be read by \copy
Previous Message Petr Jelinek 2017-08-04 09:41:12 Re: BUG #14769: Logical replication error "cache lookup failed for type 0"

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2017-08-04 10:22:09 Re: pgsql 10: hash indexes testing
Previous Message Rushabh Lathia 2017-08-04 09:31:21 Re: reload-through-the-top-parent switch the partition table