Re: BUG #17998: Postgres crashes when executing WorkTableScan.

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: chenglin-liang(at)outlook(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17998: Postgres crashes when executing WorkTableScan.
Date: 2023-06-26 08:43:03
Message-ID: a9f6cce2-733d-602f-c2c9-9d54a3cb3b3e@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 26/06/2023 06:47, PG Bug reporting form wrote:
> I developed a fuzzing tool that skips the optimizer and directly uses the
> correct physical plan to fuzz postgres, and found a crash caused by
> executing WorkTableScan.
> For detailed steps to reproduce, see the
> link:https://github.com/chenglinLiang/pg-report.

You need to provide some evidence that the plan your fuzzer generated is
valid, ie. something that could be produced by the planner. At a quick
glance, you have a WorkTableScan with no RecursiveUnion, which is bogus.

--
Heikki Linnakangas
Neon (https://neon.tech)

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-06-26 10:07:11 BUG #18001: Invalid subquery passed as true
Previous Message Michael Paquier 2023-06-26 08:35:44 Re: BUG #18000: Access method used by matview can be dropped leaving broken matview