Fix crash in nodeAgg.c due to tuplesort memory lifetime issue

Edit
ID 1413
Title Fix crash in nodeAgg.c due to tuplesort memory lifetime issue
Topic Bug Fixes
Created 2017-12-17 15:46:09
Last modified 2018-03-28 17:27:32 (6 years, 8 months ago)
Latest email 2018-03-28 17:33:54 (6 years, 8 months ago)
Status
2018-03: Committed
2018-01: Moved to next CF
Target version
Authors Peter Geoghegan (pgeoghegan)
Reviewers Kyotaro Horiguchi (horiguti)Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/1413
git checkout commitfest/cf/1413
Emails
PostgreSQL crashes with SIGSEGV
First at 2017-12-07 15:47:18 by Bernd Helmle <mailings at oopsware.de>
Latest at 2018-03-28 17:33:54 by Peter Geoghegan <pg at bowt.ie>
Latest attachment (REL9_6_STABLE-fix-double-free-tuplesort.patch) at 2018-02-23 00:22:47 from Peter Geoghegan <pg at bowt.ie>
    Attachment (REL9_6_STABLE-fix-double-free-tuplesort.patch) at 2018-02-23 00:22:47 from Peter Geoghegan <pg at bowt.ie> (Patch: Yes)
    Attachment (WIP-kludge-fix.patch) at 2017-12-17 01:40:24 from Peter Geoghegan <pg at bowt.ie> (Patch: Yes)
BUG #15053: SIGSEGV - While executing query with cube agregator
First at 2018-02-06 17:33:07 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2018-02-07 16:05:07 by Peter Geoghegan <pg at bowt.ie>
History
When Who What
2018-03-28 17:27:32 Tom Lane (tgl) Closed in commitfest 2018-03 with status: Committed
2018-03-28 15:53:30 Tom Lane (tgl) Changed reviewers to Kyotaro Horiguchi (horiguti)
2018-03-28 15:52:06 Tom Lane (tgl) Added tgl as committer
2018-02-20 16:17:36 Andreas Seltenreich (ansel) Attached mail thread 151793838713.1243.5246278119990227987@wrigleys.postgresql.org
2018-02-06 22:05:42 Daniel Gustafsson (d_gustafsson) Closed in commitfest 2018-01 with status: Moved to next CF
2018-01-18 05:51:46 Aleksandr Parfenov (a.parfenov) Removed a.parfenov from reviewers
2018-01-18 05:51:42 Aleksandr Parfenov (a.parfenov) New status: Needs review
2018-01-16 07:52:26 Aleksandr Parfenov (a.parfenov) Posted review with messageid <151608914608.25640.2144132915573008595.pgcf@coridan.postgresql.org>
2018-01-16 07:52:26 Aleksandr Parfenov (a.parfenov) New status: Ready for Committer
2018-01-12 14:34:40 Aleksandr Parfenov (a.parfenov) Added a.parfenov as reviewer
2017-12-17 15:46:21 Peter Geoghegan (pgeoghegan) Changed authors to Peter Geoghegan (pgeoghegan)
2017-12-17 15:46:09 Peter Geoghegan (pgeoghegan) Attached mail thread 1512661638.9720.34.camel@oopsware.de
2017-12-17 15:46:09 Peter Geoghegan (pgeoghegan) Created patch record
Edit