Re: [HACKERS] [sqlsmith] Crash in gather_readnext

2016-12-05 Thread Robert Haas
On Mon, Dec 5, 2016 at 3:07 PM, Andreas Seltenreich wrote: > on master as of a0ae54d, there's a 1 in 10e6 chance sqlsmith catches > gather_readnext reading beyond the gatherstate->readers array with > readers[gatherstate->readnext]. Sample backtrace below. > > As readnext is never explicitly init

[HACKERS] [sqlsmith] Crash in gather_readnext

2016-12-05 Thread Andreas Seltenreich
Hi, on master as of a0ae54d, there's a 1 in 10e6 chance sqlsmith catches gather_readnext reading beyond the gatherstate->readers array with readers[gatherstate->readnext]. Sample backtrace below. As readnext is never explicitly initialized, I think what happens is that a rescan gets less workers