Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault

From: Greg Stark <gsstark(at)mit(dot)edu>
To: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
Cc: "Bernt M(dot) Johnsen" <Bernt(dot)Johnsen(at)sun(dot)com>, Euler Taveira de Oliveira <euler(at)timbira(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault
Date: 2009-10-30 00:00:22
Message-ID: 407d949e0910291700s123fa568l1ae2d7506ea38f0e@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Oct 29, 2009 at 2:14 PM, Stefan Kaltenbrunner
<stefan(at)kaltenbrunner(dot)cc> wrote:
> ExecHashJoinSaveTuple (tuple=0xb49c8870, hashvalue=3316173823,
> fileptr=0x96185a8) at nodeHashjoin.c:775
> 775             BufFile    *file = *fileptr;
>

That back trace doesn't make much sense. That function only has one
call site and it's called with fileptr set to an expression starting
with &. Ie, there's no way it can get null or an invalid pointer.

--
greg

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message donniehan 2009-10-30 02:00:52 Re: BUG #5147: DBA can not access view
Previous Message Don Fox 2009-10-29 22:14:19 BUG #5149: Can't untar the src code file