Re: planner crash/assert hit in 8.4B1

From: Bernd Helmle <mailings(at)oopsware(dot)de>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: planner crash/assert hit in 8.4B1
Date: 2009-04-19 14:36:43
Message-ID: 9382926AD5EE7F11C3248B41@teje
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

--On Sonntag, April 19, 2009 15:29:01 +0200 Stefan Kaltenbrunner
<stefan(at)kaltenbrunner(dot)cc> wrote:

> Program received signal SIGSEGV, Segmentation fault.
> 0x082d27ef in estimate_num_groups (root=0x8566398, groupExprs=0x85b9ed8,
> input_rows=1159344) at selfuncs.c:3071
> 3071 Assert(rel->reloptkind == RELOPT_BASEREL);

Please note that it doesn't raise the Assert, it crashes because rel is
NULL, hence the assertion expression crashes with a SIGSEGV. There seems to
be something wrong with the RelOptInfo in estimate_num_groups().

--
Thanks

Bernd

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-04-19 14:51:14 Re: [PATCH] unalias of ACL_SELECT_FOR_UPDATE
Previous Message Andrew Dunstan 2009-04-19 14:04:52 Re: Reference on partial data