Re: PostgreSQL crashes with SIGSEGV

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Peter Geoghegan <pg(at)bowt(dot)ie>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: PostgreSQL crashes with SIGSEGV
Date: 2017-12-08 09:13:00
Message-ID: 1512724380.9720.37.camel@oopsware.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

Am Donnerstag, den 07.12.2017, 18:23 -0800 schrieb Peter Geoghegan:
> Does "set replacement_sort_tuples = 0" change anything on
> REL9_6_STABLE? If you only get a crash when there is very little
> work_mem, then that might be a good avenue of investigation. Note
> that
> my changes to external sorting started in REL9_6_STABLE, so they
> can't
> be involved here.
>

replacement_sort_tuples = 0 changes the picture, indeed. With that
setting, the query runs without problems in REL9_6_STABLE.

> Are you aware of commit 512f67c8d02cc558f9c269cc848b0f0f788c4fe1,
> which fixed a bug affecting external sorts? Are you sure that you
> have
> that fix on REL9_5_STABLE + REL9_6_STABLE?

My test instances are build against a fresh pull from yesterday.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bernd Helmle 2017-12-08 09:19:44 Re: PostgreSQL crashes with SIGSEGV
Previous Message Peter Geoghegan 2017-12-08 02:54:51 Re: PostgreSQL crashes with SIGSEGV

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2017-12-08 09:13:02 Re: [HACKERS] Assertion failure when the non-exclusive pg_stop_backup aborted.
Previous Message Amit Langote 2017-12-08 09:12:45 ScalarArrayOpExpr and multi-dimensional arrays