Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group