Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault - Mailing list pgsql-bugs

From Greg Stark
Subject Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault
Date
Msg-id 407d949e0910291700s123fa568l1ae2d7506ea38f0e@mail.gmail.com
Whole thread Raw
In response to Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault  (Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>)
List pgsql-bugs
On Thu, Oct 29, 2009 at 2:14 PM, Stefan Kaltenbrunner
<stefan@kaltenbrunner.cc> wrote:
> ExecHashJoinSaveTuple (tuple=3D0xb49c8870, hashvalue=3D3316173823,
> fileptr=3D0x96185a8) at nodeHashjoin.c:775
> 775 =A0 =A0 =A0 =A0 =A0 =A0 BufFile =A0 =A0*file =3D *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.

--=20
greg

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault
Next
From: Stefan Kaltenbrunner
Date:
Subject: Re: BUG #5145: Complex query with lots of LEFT JOIN causes segfault