From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andreas Seltenreich <seltenreich@gmx.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [sqlsmith] Failed assertion in numeric aggregate
Date: Sat, 03 Sep 2016 13:59:32 -0400
Message-ID: <18656.1472925572@sss.pgh.pa.us> (raw)
In-Reply-To: <87oa45qfwq.fsf@credativ.de>
References: <87oa45qfwq.fsf@credativ.de>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Andreas Seltenreich <seltenreich@gmx.de> writes:
> Digging in the coredumps, it looks like set_var_from_num() is invoked on
> an uninitialized NumericVar. Sample gdb session below.
Hm, yeah, looks like numeric_poly_deserialize is missing a required
init_var() step. Slightly astonishing that this got through even
minimal testing.
For the archives' sake: I could not reproduce this at default settings,
because the aggregate calls don't get parallelized. But it fails fairly
quickly with
set parallel_tuple_cost = 0;
set parallel_setup_cost = 0;
set min_parallel_relation_size = 0;
Thanks for the report!
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, seltenreich@gmx.de
Subject: Re: [sqlsmith] Failed assertion in numeric aggregate
In-Reply-To: <18656.1472925572@sss.pgh.pa.us>
References: <87oa45qfwq.fsf@credativ.de> <18656.1472925572@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox