Re: pg15b3: crash in parallel vacuum - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: pg15b3: crash in parallel vacuum
Date
Msg-id 20220818230447.GP26426@telsasoft.com
Whole thread Raw
In response to Re: pg15b3: crash in paralell vacuum  (Justin Pryzby <pryzby@telsasoft.com>)
List pgsql-hackers
On Thu, Aug 18, 2022 at 09:52:36AM -0500, Justin Pryzby wrote:
> On Thu, Aug 18, 2022 at 11:24:22PM +0900, Masahiko Sawada wrote:
> > The status = 11 is invalid value. Probably because indstats was not
> > initialized to 0 as I mentioned.
> > 
> > Justin, if it's reproducible in your environment, could you please try
> > it again with the attached patch?
> 
> Yes, this seems to resolve the problem.

It seems a bit crazy that this escaped detection until now.
Are these allocations especially vulnerable to uninitialized data ?

-- 
Justin



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: s390x builds on buildfarm
Next
From: Peter Smith
Date:
Subject: Re: Perform streaming logical transactions by background workers and parallel apply