# drop default cluster and create one with locale "C", to work with the reproducer script
$ sudo pg_dropcluster 8.2 main --stop
$ sudo pg_createcluster 8.2 main --locale C --start
$ run reproducer:
$ sudo -u postgres -i
$ createdb test
$ psql test -f crashme.sql
This will spin the CPU and hang for a while, until it eventually crashes.
Upstream fix:
http:// developer. postgresql. org/cvsweb. cgi/pgsql/ contrib/ tsearch2/ tsvector. c?r1=1. 26&r2=1. 26.2.1
This looks fine for an SRU, too. Reproduction recipe:
$ apt-get install postgresql-8.2 postgresql- contrib- 8.2
# drop default cluster and create one with locale "C", to work with the reproducer script
$ sudo pg_dropcluster 8.2 main --stop
$ sudo pg_createcluster 8.2 main --locale C --start
$ run reproducer:
$ sudo -u postgres -i
$ createdb test
$ psql test -f crashme.sql
This will spin the CPU and hang for a while, until it eventually crashes.