Re: Use-after-free crash

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: emond(dot)papegaaij(at)gmail(dot)com
Cc: pgpool-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Use-after-free crash
Date: 2026-06-11 23:34:01
Message-ID: 20260612.083401.1143893563129592236.ishii@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-hackers

Hi Emond,

> Hi,
>
> Yesterday one of our tests detected a segmentation fault in pgpool,
> caused by a use-after-free. It is triggered during the shutdown of the
> process, so it probably isn't too harmful, but still I think it should
> be fixed. I've worked with Claude Code to build a patch (against 4.7)
> and a reproducer of the problem. The patch also contains a detailed
> explanation of how this crashes in the commit message. To run the
> reproducer:
> tar xzf pgpool-uaf-repro.tar.gz
> cd pgpool-uaf-repro
> PGPOOL=/path/to/their/pgpool ./reproduce.sh
>
> Best regards,
> Emond

Thanks for the report. I will look into this.

Regards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp

In response to

Responses

Browse pgpool-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-06-15 10:07:07 Re: Use-after-free crash
Previous Message Emond Papegaaij 2026-06-11 07:59:38 Use-after-free crash